Getting started with Ajax-installation and configuration of Ajax and ASP. NET Ajax documentation

Source: Internet
Author: User

There is a lot of information on the concept of Ajax online for reference. However, it is still a little difficult for new users to apply Ajax. Therefore, we will introduce how to install and configure Ajax here, at the same time, how can I make Ajax documents run on your server.
 
First, describe my server environment:
1. Windows Server 2003 R2 Standard Edition Service patch 1 Chinese Version
2. iis6.0
3, Microsoft. NET Framework Version 2.0,
4. SQL Server 2005 exdivss Edition)
5. SQL Server Management studio exdivss)

After installing the above software, make sure ASP. NET 2.0 runs properly. The specific practice is not mentioned here. In addition, only the installation on a clean system is described here.

1. Install ASP. NET 2.0 Ajax Extensions 1.0
download page: http://www.microsoft.com/downloads/details.aspx? Familyid = ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6 & displaylang = EN
click to download ASP. NET Ajax 1.0
http://www.microsoft.com/downloads/info.aspx? NA = 90 & P = & srcdisplaylang = en & srccategoryid = & srcfamilyid = ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6 & U = http % 3A % 2f % fill % 2 fdownload % 2f5% 2f4% 2f6% fill % 2faspajaxextsetup. msi
RUN aspajaxextsetup on the server. msi, which is installed by default. It is not described here.

2. Install ASP. NET Ajax documentation
Documents can be viewed directly from the following websites.
Download: http://ajax.asp.net/documentation/AspNet_AJAX_Documentation.zip
After downloading the package, extract it to a directory on the server and decompress it to C: Ajax.
This directory contains a readme.htm file that describes how to create a documentation web site.
A) create a virtual directory in IIS, fill in Ajax in the alias, and select the path to C: Ajax (this path is the directory just extracted ), in "virtual directory access permissions", select "read" and "run script ".
B) perform the following settings on the properties page of the virtual directory Ajax:
In "Directory Security", enable "authentication method" to ensure that "enable Anonymous Access" is selected ".
Make sure that "enable default content document" is selected in "document ". If the list does not contain "default. aspx", add it.
In "virtual directory", select "execution permission" as "Pure script ". Close the dialog box after the application.
C) add
<Add directoryname = "JS"/>
Delete.
Note: I have checked that the C: ajaxapp_code directory does not have the directory Js. This may be the reason. I am not very clear about it.
Open http: // server/ajax/in the browser to view this document. (Change the server name to your server name)

3. To fully run the example in the document Program Also install the adventureworks Database
A) download the adventureworks Database: http://www.microsoft.com/downloads/details.aspx? Familyid = E719ECF7-9F46-4312-AF89-6AD8702E4E6E & displaylang = en
Click to download directly: http://download.microsoft.com/download/a/1/8/a1872d6b-f740-4c52-a2c5-0eb5bdd1a7e3/AdventureWorksDB.msi
B) Run adventureworksdb. MSI for default installation.
C) Open SQL Server Management studio exdivss and add the database file you just installed to the database. If it is installed by default, the database file should be adventureworks_data.mdf under the C: Program filesmicrosoft SQL servermssql.1mssqldata directory.
Note: Name the database aspajax_adventureworks.
D) add
<Add name = "adventureworksconnectionstring" connectionstring = "Server = (local); database = aspajax_adventureworks; trusted_connection = true"/>
Changed:
<Add name = "adventureworksconnectionstring" connectionstring = "Data Source = serversqlexdivss; initial catalog = aspajax_adventureworks; Integrated Security = true" providername = "system. Data. sqlclient"/>
(Change the server to your server name)
Useful reference links:
Install adventureworks sample databases and samples: http://msdn2.microsoft.com/en-us/library/ms143739.aspx
Run and install adventureworks sample databases and Samples
Http://msdn2.microsoft.com/en-us/library/ms143804.aspx
Install sample databases on SQL exdivss
Http://msdn2.microsoft.com/en-us/library/ms144235.aspx

4. Install northwind and pubs sample databases in the same way.

This completes the installation and configuration of online documents. Here I mainly solve the problems I encountered. To be honest, the installation configuration of such a document is also very difficult. In fact, I still have no idea about Ajax. Next I will continue to study Ajax and catch up with fashion.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.