- dotnet new sln
- dotnet new webapi -f net7.0
- dotnet sln add .
- dotnet tool install -g dotnet-aspnet-codegenerator
- dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
- dotnet aspnet-codegenerator controller -name Auth -outDir ./Controllers
- dotnet new gitignore
official tutorial : https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mongo-app?view=aspnetcore-7.0&tabs=visual-studio