Utils Commands - .NET
dotnet new webapi
# Minimal version
dotnet new web
dotnet new list
dotnet new gitignore
# nuget.org // .NET Gallery
dotnet add package Microsoft.EntityFrameworkCore.InMemory --version 6.0.3
# Razor
dotnet new webapp
dotnet new page --name Pizza --namespace RazorPagesPizza.Pages --output Pages
# --- EF (Entity Framework) Core Migrations -----------------
# Install globally
dotnet tool install -g dotnet-ef
# Update
dotnet tool update -g dotnet-ef
# Generate EF Core migrations
dotnet ef migrations add InitialCreate
# Execute EF Core migrations
dotnet ef database update
#----------- Udemy E-commerce course ------------
# create new solution file
dotnet new sln
# create webapi in API directory
dotnet new webapi -o API
# add API into the solution file
dotnet sln add API
# run the app
dotnet run