Is there a way to programmatically access and modify the <head> section of the page in ASP.NET MVC? I need to update the page’s <meta> tags depending on which data the user is viewing on any given page.
Is there a way to programmatically access and modify the <head> section of the
Share
You could use a content placeholder in the master page which you override in each view:
and in the view: