aspx Tutorial

NET Articles,jQuery demo, asp.net with jQuery, online tutorial,Jquery, SilverLight, Javascript, asp.net,JSON, MVC,.NET Articles,demo, Web Services,
Advertise Here

Toolbar

Get our toolbar!

Advertize



Posted by Aamir Hasan   on Sunday, August 22, 2010 Total Views:  

In this Article, i will tell you  about two new properties added to the page in ASP.NET 4.O that are

  1. MetaKeywords
  2. MetaDescription

By using these two properties you can optimize your site for SEO.

MetaKeywords

List of keyword phrases that you are targets for specific page.

MetaDescription

Meta Description is used to display the content of your page in your earch engines.

Note:Meta Description should not be more then 200 characters.

 

You can also set these two properties wthin the @Page directive at the top of .aspx pages as shown in below Figure 1.1

Figure 1.1

You can set these two properties programmatically within code-behind page classes as shown in Figure 1.2 . By using programmatically set keywords and description manually or reading them from database.

Figure 1.2

I am using firebug to display the HTML output as you can see in Figure 1.3. At @Page level and on Page Load meta keywords and meta descriptions render and meta tag are display under the head section of HTML output page.

Figure 1.3

Conclusion

In ASP.NET 4.0 it is very easy to declare the keywords and description for the pages. By using MetaKeywords and MetaDescription makes your Web site SEO friendly

Download

Click here to download source code

Password

aamirhasan

Demo

Click here to see online Demo

Protected by Copyscape Online Plagiarism Tool

Comments (3) -

Illinois SEO company
Illinois SEO company United States
5/31/2013 2:49:52 AM #

I am enjoying reading your article. It grabbed my interest and I could read it over over again. I really like this content. Thank you.

Kiesha Panyko
Kiesha Panyko United States
6/3/2014 7:07:04 AM #

You should take part in a contest for one of the best blogs on the web. I will recommend this site! More For xxx video http://www.uxxx.me/

Sang Reddick
Sang Reddick United States
6/14/2014 5:37:03 AM #

It truly is lastly over for Frankie Muniz, appropriate? We could placed which at the rear of all of us?

Abram Gaxiola
Abram Gaxiola United States
7/10/2014 7:27:53 PM #

Truly insightful bless you, I am sure your current visitors could quite possibly want even more posts of this character maintain the excellent work.

Amira Achenbach
Amira Achenbach United States
7/19/2014 1:54:13 AM #

Thanks Mark, glad you found it useful. Smile

Fred Gretter
Fred Gretter United States
7/22/2014 8:40:37 PM #

September 19th, 2011 at 4:26 am

Katelynn Honahni
Katelynn Honahni United States
7/24/2014 1:46:47 AM #

amazing photos tammy....

Davis Crumbly
Davis Crumbly United States
8/18/2014 11:16:03 PM #

Congratulations to Chelsea on winning the FA Cup.

Joana Standard
Joana Standard United States
8/29/2014 1:19:35 AM #

Outstandingly illuminating thanks, It is my impression your current subscribers could just want a superior deal more blog posts similar to this keep up the excellent content.

Rosalia Arntzen
Rosalia Arntzen United States
8/30/2014 10:24:55 PM #

Got my first letter yesterday! Loved it. I feel like I'm a part of something wonderful that is definitely just starting to take place. Feeling a strange sense of community around it all. Maybe you might be on to something here! Who would have ever believed that folks would in fact print out words on paper just to have it sent from the mail to another person's mailbox. Next thing you know, peoe are going to be growing their own food and walking or riding bikes everywhere. It'll in no way function, damn progress.

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5