asp.net core forms code example
Example: asp.net forms
@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>
@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>