Installing AJAX.ASP.NET v1.0 library
Step 1: Setting up AJAX Extensions
After downloading you should start ASPAJAXExtSetup.exe to install AJAX libraries on your system. This should install ASP.NET Ajax-Enabled Web Site Visual Studio template. Also AJAX extensions tab in Visual Web Developer 2005 Express Edition will be added. Now, you can select AJAX enabled Web site template for your new web project.
Step 2: Setting up Ajax Control Toolkit
Next step will be to setup AjaxControlToolkit (use AjaxControlToolkit-NoSource.zip). It is packed as zip archive so you should unpack in folder
c:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit-NoSource
That way all AJAX content will be in one folder on your computer.
After unpacking you should have two folders:
AjaxControlExtender and SampleWebSite
Go to AjaxControlExtender folder and find AjaxControlExtender.vsi file. Make sure that Visual Web Developer 2005 Express is not started. Run AjaxControlExtender.vsi by double click on it.
When warning appears choose yes to install content.
On next screen click finish.
Next screen will contain number of errors. Just ignore any errors and press close button.
Now you will have new template in Visual Web Developer 2005 Express.
Step 3: Adding AJAX Controls to Visual Developer 2005 Express
Next step will be to add AJAX controls to Visual Web Developer toolbox. First add new tab by clicking right click on toolbox and choosing Add Tab option from context menu.
After adding new tab, name it AJAX controls and do the right click inside new tab to bring context menu. Use Choose Items option.
Choose Toolbox Items window appear and you will have to browse to AJAX libraries files.
Browse to folder:
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit-NoSource\SampleWebSite\Bin
Find AjaxControlToolkit.dll file. Open selected file.
This file contains Ajax Toolbox Controls. You will be forwarded to Choose Toolbox Items window once again but with selected .NET Framework Components. Confirm selection of components and VS Web Developer will add AJAX controls to your toolbox.
At this moment your environment will be ready to start your new AJAX template projects.
Appendix A
Setting up AJAX Samples is tricky because those samples were made for AJAX v1.0 CTP which is community technology preview for AJAX v1.0 version of libraries. Also all three samples use SQL Express Database which setup is beyond scope of this tutorial. But if your installation of SQL Express is fine you could eventually set up these samples to work. Before starting you should download ASPAJAXCTP.msi from ajax.asp.net site and run to unpack content. Content will be unpacked into folder named:
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Futures January CTP
What you need is to open Web Site from file system using your Visual Web Developer 2005 Express. When sample web site is loaded right click on bin folder to bring context menu. Choose Add Existing Item.
You have to add two files. First is Microsoft.Web.Preview.dll from folder:
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Futures January CTP\v1.0.61025
Another file to add is AjaxControltoolkit.dll from folder:
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit-NoSource\SampleWebSite\Bin
After adding dll's you should be able to build and run web site sample. If your installation of SQL Express is not done well you will get some sql errors when application tries to open connection to database.
Same steps should be done for all sample projects to work.
Appendix B
Publish as an option is not supported in Visual Web Developer 2005 Express Edition so you will have to publish on your own or try to use Copy Web tool. Basically it is file copy tool so pick up all files needed for your site to work and copy it to new IIS server environment.