serving the solutions day and night

Pages

Saturday, August 15, 2020

.NET Core CLI Commands

  • dotnet new: Creates a new project from the specified template. If you want to create an MVC application, you can use dotnet new mvc
  • dotnet restore: Restores all the NuGet dependencies of our application. 
  • dotnet build: Builds our project. 
  • dotnet run: Executes our project. 
  • dotnet watch run: Runs our project and watches for file changes to rebuild and rerun it. 
  • dotnet publish: Creates a deployable build (the .dll) of our project. 
  • dotnet --list-sdks : look all net version in your computer

 

No comments: