ASP.NET AJAX安装说明

来源:互联网 发布:php定义json数组 编辑:程序博客网 时间:2024/05/16 15:14

1、到http://ajax.asp.net下载ASPAJAXExtSetup.msi和ASPAJAXCTP.msi两个文件

2、首先安装 ASPAJAXExtSetup.msi

     Windows窗口:运行ASPAJAXExtSetup.msi

    DOS窗口:msiexec /i ASPNETAJAX.msi [/q] [/log <logfilename>] [INSTALLPATH=<installation path>]

3、安装ASPAJAXCTP

    Windows窗口:运行ASPAJAXCTP.msi

    DOS窗口:msiexec /i ASPAJAXCTP.msi[/q] [/log <logfilename>] [INSTALLPATH=<installation path>]

4、配置

    1. Create a new registry key under
       HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/.NETFramework/AssemblyFolders/ASP.NET AJAX
       1.0.61025 (在 注册表的HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/.NETFramework/AssemblyFolders中创建目录ASP.NET AJAX  1.0.61025)

    2. Set the default value of the key to the directory in Program Files that contains
       the assembly. The value may not use environment variables such as %Program Files%.
       It must use the physical drive letter and location. For example, on the default
       C: drive installation, the directory is:
      
       c:/Program Files/Microsoft ASP.NET/ASP.NET 2.0 AJAX Extensions/v1.0.61025

      (设置默认值,如c:/Program Files/Microsoft ASP.NET/ASP.NET 2.0 AJAX Extensions/v1.0.61025)

   3.  Select the Web site to work with and edit its properties. (在IIS中选择站点选择属性)

   4.  On the Home Directory tab, click Configuration....(点击配置)

   5.  In the Application Configuration dialog box, click Add.  (在应用配置选项卡中选择增加)

   6.  In the Add/Edit Application Extension Mapping dialog box, add the .asbx extension and in the Executable box,browse to and select the aspnet_isapi.dll (in the .NET Framework installation directory for ASP.NET - you should be able to look at the mapping for the  .aspx extension as an example).(增加.asbx,路径选择aspnet_isapi.dll,详细参考.aspx的配置)