This demo will be created using .NET Core Framework 2.0 and Visual Studio 2019. Begin by opening up Visual Studio 2019 and following these steps:
- Click on File | New | Project and, in the new Project window, select ASP.NET Core Web Application. Click Create. Call the project PacktPubToDoAPI and click Create.
- A pop-up window will open up where you can select the API template. Select ASP.NET Core 2.2 and click on Create:
- Add a Models folder in the Solution Explorer. Right-click your project name and select Add | New Folder. Add a TodoItem class by right-clicking the ...