Using EF Code first ORM.
There is Jobs controller with Index and Complete actions.
Index - retreives all jobs from database and displays list of jobs IDs on the page. Front end not implemented.
Complete action - is an action to update Job to completed state. Returns JSON with Success = true/false depends on the result of the action.
- Download sources
- Open in VS
- Restore NuGet packages
- Build and run
- Take files from /Publish folder
- Create the website in IIS manager
- Copy files to there
- Configure connection string in appsettings.json
- Run
Detailed manual on how to publish .Net Core web app to the IIS you can read here: .Net Core web app to the IIS
Project contains 6 simple tests for JobsController and for Api/JobsController.