Created
October 4, 2020 08:58
-
-
Save manoj-choudhari-git/22c27169db346b1369fc8b095e6837d0 to your computer and use it in GitHub Desktop.
.NET CLI Script for Creating ASP .NET Core Web App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Create Proejct Directory | |
mkdir FirstWebApp | |
## Make it working directory | |
cd FirstWebApp | |
## To Trust the ASP .NET Core HTTPS Development Certificate (Windows and MacOS only) | |
dotnet dev-certs https --trust | |
## Creates Empty Web App project with same name as workign directory | |
dotnet new web | |
## Open Visual Studio Code to modify the code | |
Code . | |
## After making changes to Startup.cs | |
## Run the web app | |
dotnet run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment