- Create new web app:
$ dotnet new webapp -o asp-net-core-Tutorial
Trust the HTTPS development certificate:
$ dotnet dev-certs https --trust
This will install the the ASP.NET Core HTTPS development certificate on your system keychain. (Only required on first run or a new environment).
Run the app with the following command:
dotnet watch run. After the command has executed you can view your app at
index HTML can be modified at Pages/Index.cshtml