Setting page title, description, keywords are most important factors for promoting, indexing and drive visitors towards website. It's the most important factor for Search Engine Optimization.
ASP.NET Video Starter Kit introduce centralize way to setup page title, description and keywords for every static and dynamic pages without going to edit each and every page.
Key benefits of centralize page settings:
Location:
Meta tag setting page is located at /app_code/meta/ directory.
Usage:
Using meta page settings section, you can set the following information for each and every page.
Sample Use / Customization:
e.g you can set meta information for Default.aspx (home page) as
public static void META_DEFAULTPAGE(System.Web.UI.Page _pg, System.Web.UI.HtmlControls.HtmlHead _hd)
{
// Page Title
_pg.Title = Config.GetUrlCaption() + " - Browse, Share & Watch Videos";
HtmlMeta hm = new HtmlMeta();
// Page Meta Keywords
hm.Name = "keywords";
hm.Content = "channels, browse, share, watch, reviews,videos";
_hd.Controls.Add(hm);
// Page Meta Description
HtmlMeta hm1 = new HtmlMeta();
hm1.Name = "description";
hm1.Content = "Title: Browse, Share & Watch Videos, Category: Type: photo, images, videos, blog posts";
_hd.Controls.Add(hm1);
}