Answers for "create a dotnet core web app"

1

create a dotnet core web app

dotnet new webapp -o aspnetcoreapp
cd aspnetcoreapp
dotnet watch run --urls "http://*:80;https://*:443"
Posted by: Guest on August-30-2021
0

run dotnet core app

# run the application and update automatically after changes
dotnet watch run
Posted by: Guest on April-06-2021
0

dotnet core webapp

dotnet new webApp -o myWebApp --no-https
cd myWebApp
dotnet run

#Open Pages/Index.cshtml in any text editor and replace all of the code with the following,
#then save the file.
Posted by: Guest on December-20-2020
0

dotnet core webapp

@page
@model IndexModel
@{
    ViewData["Title"] = "Home page";
}

<div class="text-center">
    <h1>Hello, world!</h1>
    <p>The time on the server is @DateTime.Now</p>
</div>
Posted by: Guest on November-23-2020

Browse Popular Code Answers by Language