Crreate site in cshtml

The simple code of the page:

Layout = "~/Site_Layout.cshtml";
Page.Title = "Home";

The simple code of layout page:

<!DOCTYPE html>
<html>
<title>@Page.Title</title>
</head>
<body>
@RenderBody()
</body>
</html

Last edited May 17, 2012 at 2:37 PM by worldfly, version 3

Comments

No comments yet.