Quickstart guide
- Create a new Web API Project
- Add a new model file in the path
Models\Todo.cs
and copy & paste the content from theModels\Todo.cs
gist file - Add a new controller file in the path
Controllers\TodoController.cs
and copy & paste the content from theControllers\TodoController.cs
gist file - Hit
Ctrl+F5
to start app without debugging - Navigate your web browser to http://localhost:52548/api/todo - Note: You may need to change the port
For more experience