Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.NET CLI Script for Creating ASP .NET Core Web App
## 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