views:

31

answers:

0

When I created a default MVC application in VS2K10, the master view (Site.Master) had a ContentPlaceHolder for the <title> tag.

Is there a better way to set metatags like title and description than using a ContentPlaceHolder in the master and setting that ContentPlaceHolder's value in each view?

Should metatag data be part of my View Models (all my ViewData is strongly-typed)? How should I load it? From and XML config file?

Or should the Controller be in charge of setting it? Or should it be in the View instead of View Model?

How do you configure your views' metatags in a large-scale site with dozens and dozens of pages?