I have two meta tag in _Layout.cshtml master page and now i want to add meta tags in someone.cshtml view page.
Here's my master page _Layout.cshtml
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>My ASP.NET Application</title>
</head>
<body>
</body>
</html>
When we create a MVC4 Application using an Internet Template we get a "Shared" folder inside the "Views" folder on the root and in the "Shared" folder you will find a layout page named "_Layout.cshtml". Open that file.
Step 2
In the "_Layout.cshtml" page add a new section call inside the <head> tag, as given below:
In the above image you can see that a section call is not required; in other words whenever we need metatags on a page we can define.
Step 3
Now, open you .cshtml page where you wish to add metatags and add the following section reference: