Home  /  Questions  /  Question

113   96.7
Jul 20, 2010

Passing Meta Tags (title, keywords, description) with ASP.NET MVC

Hello, I am working with ASP.NET MVC and now I need to set some meta tag parameters on the pages. Meta tags are the Title, Keywords, and Description on the page. 

The issue is that I have a Masterpage and a Content page. When setting the Title on the Content page nothing shows up.
Anyone know how does should work?

50   50
Jul 20, 2010
You might want to check out this tutorial at http://www.mvccentral.net/.  Look at the GolfCentral series.  Essentially the author created a ViewData Factory to set the metatag data.