Cost of Dependencies (supporting code for presentation)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Cost of Dependencies

This repo is the supporting code for a presentation written for YOW! West conference 2017.

The presentation was represented at YOW By Night in Sydney and Brisbane later in the same year.

The code aims to show how a Domain Model implementation can be written with no dependencies other than the platform it is based on i.e. in this case .NET.

Video of the talk can be found on youtube

How to run

This repo has both C# (.NET) and Java examples.

C# / .NET

Currently this is a mix of the older CSPROJ format and the new. The easiest way to run it is to open .\CSharp\Yow.CoD.Finance.sln and hit F5

To send commands to the web endpoint either use Powershell:

cd .\csha
Invoke-WebRequest -ContentType "application/json" -Headers @{"accept"="application/json"} -Method Post -InFile "CreateLoanExamplePayload.json" -UseBasicParsing -Uri "http://localhost:64181/Loan"


cd .\java
gradlew run

At another prompt issue the curl command `` cd .\java\src\resources curl -i -H "Content-Type: application/json" -X POST -d @CreateLoanExamplePayload.json http://localhost:4567/Loan

which should return a reponse similar to :

HTTP/1.1 200 OK Date: Tue, 27 Feb 2018 04:59:18 GMT Content-Type: text/html;charset=utf-8 Transfer-Encoding: chunked Server: Jetty(9.3.2.v20150730)