I'm working with ASP.NET MVC, I'm creating my views from scratch to pure html, creating an empty view creates me this.
@{
ViewBag.Title = "Proveedor";
}
<h2>Proveedor</h2>
But when creating html code I do this
@{
ViewBag.Title = "Proveedor";
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<h2>Proveedor</h2>
</body>
</html>
I would like to know if the part of the ViewBag goes outside the html or goes inside and if it goes inside in which part it goes?