Adding Razor Code

Saranya Boopathi
Posted by Saranya Boopathi under ASP.NET category on | Points: 40 | Views : 677
Adding Razor Code:

The page contains ordinary HTML markup, with one addition: the @ marked Razor code.
The Razor code does all the work of determining the current time on the server and display it.

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<title>Welcome</title>
</head>
<body>
<h1>Welcome DotNetFunda</h1>
</body>
</html>

Comments or Responses

Login to post response