Answers for "dotnet core webapp"

C#
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

C# Answers by Framework

Browse Popular Code Answers by Language