As i have in my earlier post Search Engine optimization is necessary for every sites otherwise site will not have more users and viewers. For search engine meta tag are very important one Search engine crawler get information from this meta tags. There lots of meta tag but most important meta tag are keyword and description. From keyword meta tag search engine crawler get information about keyword for which they list this site page and from the description tag they will get descriptive information about particular page.
ASP.NET 4.0 introduces support for this. Now you can create your own meta tag keyword and description with the help of Page.MetaDescription and Page.MetaKeywords. It will render as same description and keyword meta tags in simple HTML Page. For example if you write following in your page_load event.
It will render meta tag as following.protected void Page_Load(object sender, EventArgs e){Page.MetaDescription = "This page contains information about asp.net 4.0";
Page.MetaKeywords = "ASP.NET 4.0,Search Engine Optimization";
}
So now with asp.net 4.0 you can do your site search engine optimization very easily and you don’t have to write code for that.<meta name="description" content="This page contains information about asp.net 4.0" /><meta name="keywords" content="asp.net 4.0, Search Engine Optimization" />
0 comments:
Post a Comment
Your feedback is very important to me. Please provide your feedback via putting comments.