In your command prompt, run the following commands:
In your terminal, run the following commands:
dotnet new webApp -o myWebApp --no-https cd myWebApp
dotnet new command creates a new application.
webAppparameter selects what template to use when creating your app.
-oparameter creates a directory named
myWebAppwhere your app is stored.
--no-httpsflag specifies not to enable HTTPS.
cd myWebApp command puts you into the newly created app directory.
Several files were created in the
myWebApp directory, to give you a simple web application that is ready to run.
Startup.cscontains all the settings and configurations.
myWebApp/Pagesdirectory contains some example web pages for the application.
myWebbApp.csprojdefines what libraries are referenced etc.