Wednesday, April 24, 2019

Starting with .net core

0

Starting with .net core

Creating a web app project

Open a command shell and run
dotnet new webapp -o “projectname”

Enable local https
Run command
dotnet dev-certs https --trust

Accept the ssl certificate
Run the command to run the recently created project
cd  “projectfolder”
dotnet  run

After the command completes
Browse to https://localhost:5001 and accept cookie


Editing a Razor Page
Open Pages/Index.cshtml and modify the page.
Browse to https://localhost:5001, and verify the changes are displayed.

Author Image

About Sushil
Soratemplates is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design

No comments: