Simple dotnet webapi application using rest services.
TODO: Next thiadd jwt jwt tutorial that I found on internet
dotnet new webapi -o TodoApi
cd TodoApi
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
dotnet add package Microsoft.EntityFrameworkCore.InMemory
code -r ../TodoApi
- C# extension : Microsoft
Press Ctrl+F5 to run the app. In a browser, go to following URL: https://localhost:5001/api/WeatherForecast
CLI to create controller and more.
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
dotnet add package Microsoft.EntityFrameworkCore.Design
dotnet tool install --global dotnet-aspnet-codegenerator
dotnet aspnet-codegenerator controller -name TodoItemsController -async -api -m TodoItem -dc TodoContext -outDir Controllers