* mkdir CoreDemo
* cd CoreDemo
* dotnet new sln -n=CoreDemo
* dotnet new angular -o Web
* dotnet new webapi -o WebApi
* dotnet new classlib -o ApplicationCore
* dotnet new classlib -o Infrastructure
Available project templates like web | webapi | console | classlib | mvc | xunit | angular
Here solution name will be as per folder name.
* dotnet sln CoreDemo.sln add Web/Web.csproj
* dotnet sln CoreDemo.sln add WebApi/WebApi.csproj
* dotnet sln CoreDemo.sln add ApplicationCore/ApplicationCore.csproj
* dotnet sln CoreDemo.sln add Infrastructure/Infrastructure.csproj
* dotnet sln CoreDemo.sln remove Infrastructure/Infrastructure.csproj
* dotnet add Infrastructure/Infrastructure.csproj reference ApplicationCore/ApplicationCore.csproj
* dotnet add WebApi/WebApi.csproj reference ApplicationCore/ApplicationCore.csproj
* dotnet add WebApi/WebApi.csproj reference Infrastructure/Infrastructure.csproj
* dotnet remove WebApi/WebApi.csproj reference Infrastructure/Infrastructure.csproj
* dotnet restore
* dotnet build
* dotnet build --no-restore
* dotnet clean
* dotnet run --project Web/Web.csproj
* dotnet run --environment "Staging"
* dotnet publish --configuration {debug/release}
* dotnet test
* dotnet add Infrastructure/Infrastructure.csproj package Microsoft.EntityFrameworkCore.SqlServer
* dotnet add Infrastructure/Infrastructure.csproj package Microsoft.EntityFrameworkCore.Tools
* dotnet add Infrastructure/Infrastructure.csproj package Microsoft.EntityFrameworkCore.SqlServer.Design
* dotnet restore
* dotnet ef dbcontext scaffold "Server=**[server]**;Database=**[database]**;User Id=**[username]**;Password=**[password]**;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -d -o Data -c "**[contextname]**" --project Infrastructure/Infrastructure.csproj --startup-project WebApi/WebApi.csproj
use --force to overwrite context file.