.NET
  Home arrow .NET arrow Building an AjaxPro.NET Based Search Engin...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
.NET

Building an AjaxPro.NET Based Search Engine into Your Website
By: Xianzhong Zhu
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 2
    2007-10-22

    Table of Contents:
  • Building an AjaxPro.NET Based Search Engine into Your Website
  • Introduction to XML/XSLT Techniques
  • Introduction to Google AJAXSLT
  • Database Design

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Building an AjaxPro.NET Based Search Engine into Your Website


    (Page 1 of 4 )

    Nowadays, more and more websites provide user friendly features. One such technology is the site-specific search engine. It can improve your visitor's experience of your site by making it easier for them to find exactly the information they're looking for. Done properly, a search engine can cut visitor frustration and encourage return visits. If you'd like to add this functionality to your web site, keep reading; this article is the first of two parts that will show you how.
    A downloadable .rar file is available for this article.

    Introduction

    Generally, a search follows this rule: users enter some key words in the web page, and then click the "Search" button, and after a very short while the results will be returned. With the rise of Web 2.0 techniques, many local search engines have started to leverage AJAX. With the proper utilization of AJAX, information on web sites becomes more and more available and their capacities have also been greatly improved. In this article, I will show you how to embed a local search engine into an ASP.NET 2.0 website using two famous open source Ajax frameworks: AjaxPro.NET and AJAXSLT.

    Author's Note: To follow along with the sample in this article, you're assumed to have installed Visual Studio 2005, AjaxPro.NET framework, and Google’s AJAXSLT framework. In addition, it is suggested that you download the source files accompanying this article.


    Prerequisites

    Before delving into the main topic, let’s first examine several prerequisites that are necessary to constructing the local search engine.

    Introduction to AjaxPro.NET

    AjaxPro.NET is a well-known open source framework. It is based on server-side techniques and provides support for constructing different versions of .NET web applications (whose download address is http://www.schwarz-interactive.de). The framework supports the server-side .NET SDK in several ways along with client-side JavaScript. It can direct JavaScript requests to the related server-side .NET methods, after which the server returns the newly-generated special JavaScript code to the browser. The framework's main functions and features are listed below:

    1. Access the Session and Application data from the client-side JavaScript.
    2. Cache the required results.
    3. Freely use source code.
    4. Add and modify new methods and properties in the framework without modifying any source code.
    5. All the classes support the client-side JavaScript to return data, and DataSet can be used from inside JavaScript.
    6. Use the HTML controls to access and return data.
    7. Do not need to reload the pages and use the event delegates to access data.
    8. Supply only one method for the complex invocation and therefore dramatically decrease the CPU usage.

    Now, to use AjaxPro.NET in our ASP.NET 2.0 web sample application we should properly configure the web.config file. Since the downloaded materials have been shipped with a guide and an excellent Visual Studio Add-in (AjaxProVSTemplate.vsi), we are not going to talk much about the details of this framework. So, let's continue to focus on the next topic.

    More .NET Articles
    More By Xianzhong Zhu


     

    .NET ARTICLES

    - Building Applications with Windows Workflow ...
    - Building the Data and Business Layers Using ...
    - The Transformed XML Explorer in MFC
    - List Control and Property Grid with the MFC ...
    - Font, Shell and Masked Edit Controls for MFC
    - Color, Link and Image Editor Controls for M...
    - New Controls for MFC
    - The Windows Ribbon Framework
    - Markup Language for the Ribbon Framework
    - Visually Upgrade Your MFC Project
    - New Features for the Statusbar in MFC
    - Working with the Statusbar in MFC
    - Iron Speed Design v60 Review
    - Binary and XML Serialization
    - Using CrystalReportViewer to Display Crystal...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek