-
Find out which process runs on a given port
netstat -ano | findstr :<port-number>
-
Kill a process running on a given port
taskkill /F /PID <process-id>
-
Install or update the latest ABP CLI
dotnet tool install -g Volo.Abp.Cli || dotnet tool update -g Volo.Abp.Cli
-
Update EF tool
dotnet ef --version dotnet tool update --global dotnet-ef
-
Add EF migrations to a project
dotnet ef migrations add <MigrationName>
-
Remove EF migrations to a project
dotnet ef migrations remove
-
Apply EF migrations to the database
dotnet ef database update
-
Remove EF migrations already applied to the database
dotnet ef database update <MigrationName-to-which-you-want-to-revert> dotnet ef migrations remove
-
Create a new .NET Solution
dotnet new sln --name mysolution
-
Add a project to your solution
dotnet sln add [yourProjectName]\[yourProjectName].csproj
-
Add a reference to a project from another project
dotnet add reference ../../src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme.csproj
-
Add a Nuget package to your project
dotnet add package [PackageName]
-
Create a new Blazor Webassembly app
dotnet new blazorwasm -o [yourAppName]
-
Update Node.js to the latest version
n latest