Posts tagged "search"

ASP NET 4 Enhancements For Search Engine Optimization


Search Engine Optimization or SEO is a method of improving a website’s position in Search Engine result. A better position in the search result will lead to more click through, increasing the website visibility and audience. There a few steps a website owner can do to improve their website search engine ranking.

Microsoft has introduce their Search Engine Optimization Toolkit, it’s an easy start to improve your website Search Engine result. Point at remote website and the SEO Toolkit will start to check your website link and identify any problem and offer suggestion on how to fix them.

ASP.NET 4 includes a lot of new methods, properties, and libraries to work with search engine optimization, including ASP.NET Routing, permanent redirects, and the ability to programmatically specify values for certain tags.

Use ASP.NET Routing to generate SEO Friendly Url

In general it’s recommended to create a short, readable URL that include keywords about the page in the URL itself. Rather than have a URL like yourdomain.com/link/ShowCategoryProduct.aspx?CatId=541, it’s better if you can create URL like yourdomain.com/category/phone/newphone

In the past it’s not easy to create a clean, SEO-friendly URL in ASP.NET. But start with ASP.NET 3.5 sp1, URL rewriting became a lot easier thanks to the ASP.NET Routing system.

ASP.NET Routing cleanly decouples URLs from web page file names and can be used to create clean, terse, SEO-friendly URLs. Specifically, ASP.NET Routing allows a developer to define routes, which map a URL pattern – such as “category/CategoryName/products” – to a class (or web page) that handles the request. Consequently, using ASP.NET Routing you can define a route that sends all requests to http://www.example.com/category/CategoryName/products to an existing web page, such as /link/ShowCategoryProduct.aspx, which would then read in the CategoryName value and display the appropriate products.

Use Permanent Redirects When Appropriate

Every HTTP response sent from the server back to the client includes a status code that provides information to the client about the result of the request. For example, if the server receives a request for a non-existent page, such as yourdomain.com/PageNotFound.aspx, it returns an HTTP status code of 404.

Every ASP.NET developer is familiar with Response.Redirect(url), which redirects the visitor from the current page they requested to the specified url. The way Response.Redirect works behind the scenes is by sending a 302 HTTP status code along with a Location HTTP header that specifies the URL to which the requested resource has moved.

It’s important to understand that the 302 status code indicates that the resource being requested has temporarily moved to a new URL. A client – such as a search engine spider – that receives a 302 status will continue to try the original URL for future requests. There is an alternative status code, 301, that should be used if the resource has been moved permanently. ASP.NET 4 offers a new method, Response.RedirectPermanent, which does a redirect using the 301 status code instead of the 302 status code

So what does this all mean for SEO? If you have an old URL that you no longer want search engines to index or users to visit, but rather want them to use a new URL, use a 301 permanent redirect rather than the 302 temporary redirect.

Programmatically Setting Keywords and Description Tags

ASP.NET offers ways to have this metadata assigned automatically or programmatically. For example, you can programmatically set the page’s title using the Page class’s Title property.

When crawling through the pages in a website, a search engine spider will examine the section to determine more information about the page. A page’s keywords and a human-friendly description of the page may be included in the section through the use of elements.

ASP.NET 4 adds two new properties to the Page class that allow for these two tags to be specified programmatically:

* MetaKeywords

* MetaDescription

Seekdotnet.com is now Fully Support ASP.NET 4.0 at Windows Server 2008 with IIS 7


Article from articlesbase.com



Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - December 26, 2010 at 12:03 am

Categories: ASP.NET   Tags: Engine, Enhancements, optimization, search

Search Engine Optimization Enhancements in ASP.NET 4

By Scott Mitchell

Introduction
Search engine optimization, or SEO, is the practice of improving a website’s position in searchengines’ results using unpaid techniques. A better (higher) position in the search results will, in theory, lead to more click throughs, increasing the website’svisibility and audience. There are a number of simple steps you can take on your website to improve your search engine ranking. A good first step is todownload and run Microsoft’s free Search Engine Optimization Toolkit. Point it at a remotewebsite and the SEO Toolkit will crawl the links on the site and identify potential problems and offer suggestions on how to fix them.

ASP.NET 4 includes a handful of new methods, properties, and libraries to assist with search engine optimization, including ASP.NET Routing, permanent redirects,and the ability to programmatically specify values for certain tags. This article examines these enhancements and shows howthey can be used for SEO purposes. Read on to learn more!

- continued -

View the Original article

Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - June 29, 2010 at 7:39 pm

Categories: Programming   Tags: ASP.NET, briefly about c# and c# tools, c# compilers, C# keywords classified, download C# compiler for windows xp, download different Types Of Compilers in C#, Engine, Enhancements, explain briefly about c# and c# tools, multiform application in C#.Net, optimization, search

UltimateSearch 3.6 for ASP.NET

Hit Highlighting: In addition to highlighting search terms in search results list, you can also highlight them in those pages listed in the search results. For HTML-based pages, you will need to add a Javascript block to your pages. You can add it to an include header file or a master page to cover all pages easily. It will also highlight search terms in a PDF document by passing them in the page url. 

Stemming: When you search for a word, you can expand your search results by using related words based on stemming. It will search for the words expanded from the search term as well as the words expanded from its stem. For example, if you search for "thicken", it will also search for "thickened" that is expanded from "thicken". It will also find "thick" as the stem of "thicken", and look for "thick" and other words expanded from "thick". 

Synonyms: When you search for a word, you can expand your search results by using related words based on synonyms. For example, if you search for "cook", it will also search for "bake", "heat", "fry", and so on. 

Negative Search Terms: You can exclude pages that have some unwanted words from search results by adding a minus sign prefix to those words. For example, if you search for "apple -book", it will display pages that have "apple", but don’t have "book" in them. 

Mixed Search Types: You can enter search terms in mixed format such as exact, partial, any, all, and negative in one string. For example, you can search for [speed "electric mixer" ingre* low OR high -meat].

Return Current Page Only: You can set this property to false in order to return entire search results. Then you will be able to update search results such as remove items from search results or sort results in a different order. However, you should use caution before doing so as it will adversely affect the search performance. If your search returns a lot of results it will drastically increase the search time because it will need to retrieve information on each document and return everything back to the client.

Reproduced from http://www.karamasoft.com/UltimateSearch/History.aspx?referrer=ccuse36

Please visit http://www.karamasoft.com/UltimateSearch/History.aspx?referrer=ccuse36 for more information and live demos of UltimateSearch 3.6

Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - January 9, 2010 at 1:20 am

Categories: Components, News   Tags: briefly about c# and c# tools, c sharp compiler download, c# compilers, C# keywords classified, controls, develop in c# in windows98, download C# compiler for windows xp, download different Types Of Compilers in C#, explain briefly about c# and c# tools, karamasoft, multiform application in C#.Net, scada controls silverlight, search, searching, ultimate search