See what you can do to provide fantastic search results for your Web site. See how to integrate search engine support into your site, how to allow crawlers to index your catalog, and how easy it is to do all of this with ASP.NET
Top 10 Most Downloaded Games on Play Store in 2024
Search Capabilities for Dynamic Web Content
1.
2. Nathan Buggia
Jonathan Hawkins
Senior Product Planner
Architect
Live Search
ASP.NET
Microsoft Corporation
Microsoft Corporation
3. Why is Search important?
How to make a Search friendly site
Search enable your ASP.NET site
Search Sitemaps and dynamic data
Improving your Search experience with Live
5. When you’re looking for specific information on an unfamiliar website…
100%
90%
47% Search
80%
70%
60%
50%
33% Browse
40%
30%
13% Abandon
20%
10%
0%
Forrester Research, forrester.com. “It’s time to update site search functionality”, 5/1/2006, Iris Cremers
6. Crawlers index HTML text and follow links
Crawlers visit your site on a regular basis and index for new
content
Determine relevancy relative to the rest of the web
Make pages for users
Produce well formed HTML for your website
Use text words for key terms as crawlers can't index images
Ensure Title and ALT tags are descriptive
Handle Title in ASP.NET Master and Content pages
Meta tags that accurately describes the page contents
Keep links functional and simple
7. Dynamic content
Simple URLs with small number of parameters
http://www.somesite.com/view.aspx?ItemID=22
http://www.somesite.com/movies/view.aspx
Review site in Lynx text browser to ensure crawlers have a
text rendering for high end features
JavaScript, AJAX, Flash, Silverlight
Help the Crawler index the right pages
robots.txt – specify which directories to include/exclude
Sitemap – specify page relative priority, change
frequency, last modified
8. SearchDataSource
Natural binding of UI elements for search input
Enables data binding of search results
Style to your website to provide consistent experience
Search Providers
Live Search (formally MSN Search)
Sample code for Index Server, Yahoo, …
Look at the QuickStarts on how to write your
own search provider
11. Enable search engine crawlers to find information in your
site
Sitemaps provide suggestions to search engines
Specify priority of the URL relative to the other pages in
your site
Specify how frequently the page is likely to change
Specify last modified date time
Partition sitemaps with a sitemap index
Supported by major search engines
See http://sitemaps.org/protocol.html for details
12. Turn your ASP.NET navigation sitemap into a
search sitemap
Add application dynamic data to search site map
URL to the web page
query string parameters
Sitemap priority, change frequency and last
modified date
Customize with databinding and formatting
15. Search query language
http://search.live.com/docs/help.aspx?t=SEARCH_REF_AdvSrchOperators.htm
Search macros (similar to stored procedures)
http://search.live.com/macros
AJAX web search control
http://search.live.com/siteowner
SOAP API
http://dev.live.com/livesearch/sdk
Web, Image, News, Phonebook, and MetaTags
Samples, samples, samples
C#, Java, PHP, Ruby, Python, Flash
16. Live Search Supporting Broad Commercial Use
Max Queries/ Day: 25,000
Max Queries/ Second: 10
Best effort service level agreement
Online support: http://forum.microsoft.com
19. Add Search and SiteMaps to your site today!
Live Search
USB Key in your attendee bag
Learn more - http://search.live.com
Feedback - http://forum.microsoft.com
ASP.NET Futures CTP
Download CTP today
Learn more - http://ajax.asp.net
Feedback - http://forums.asp.net/
24. public class ProductSiteMapData : DynamicDataSearchSiteMapProvider
{
// Return a collection of results.
// Use LINQ, ADO.NET, your code to make a collection
public override IEnumerable DataQuery()
{
String connectionString = “…”;
Northwind db = new Northwind(connectionString);
Table<Product> Products = db.Products;
var q =
from p in Products
where p.UnitsInStock > (p.ReorderLevel * 10)
select p;
return q;
}
}