This is a simple example CRUD ASP.NET Core 2.0 rest service using entity framework. It is based on https://github.com/chsakell/dotnetcore-entityframework-api
Fetch the contents of the service by issuing an HTTP GET on the /api/examples endpoint.
curl -X GET --header 'Accept: application/json' 'http://localhost:5000/api/examples'
Create an example object by issuing an HTTP POST on the /api/examples endpoint.
curl -X POST --header 'Content-Type: application/json-patch+json' --header 'Accept: application/json' -d '{ \
"id": 0, \
"name": "string" \
}' 'http://localhost:5000/api/examples'
This is a basis to start forming the full basic CRUD service. It will then be abstracted and templated for quick generation of domain services.
git clone https://github.com/cdebergh/sdk-csharp-entityframework
dotnet build
dotnet run
It's late, I'll fill this in later.
I said IT'S LATE I'LL FILL THIS IN LATER.
dotnet test
Me: @cdebergh
Provide a list of additional links that may be used to drill down deeper.