AJAX

adplus-dvertising
How to Install AJAX
Previous Home Next

In this section you will learn how you can install Ajax in eclipse 3.2 or in ASP.net.

For Eclipse jMaki is Plugin to install this plugin for the Eclipse 3.2 or Eclipse 3.3 we have follow following steps
  1. Start Eclipse 3.3.X or Eclipse 3.2.X (The WTP (Web Tools Platform) plugins must be installed).
  2. Start the installation procedure : Go to Help>Software Updates>Find and Install in menu item.
  3. Select "Search for new features to install" option and click Next.
  4. Click "New Remote Site".
  5. Enter a name (ie jMaki Eclipse Plugin ), enter the URL https://ajax.dev.java.net/eclipse.
  6. Select this new site in the Sites to include in search list and click Next.
  7. Select jMaki for Eclipse in the "Select the features to install" list and click Finish.
  8. Accept the terms of the license agreements and click Next.
  9. Verify that the install location is your Eclipse installation directory, otherwise select the correct one, click Finish.
  10. A warning will appear telling the feature is not signed. Ignore and click Install to continue.
  11. Accept to restart the workbench to load jMaki into the workbench.

After Eclipse is restarted the plugin is correctly installed if you see the jMaki widgets in the Eclipse Snippets view.

If this does not work.Then you can do menauly .Download the plugin the jars file from https://ajax.dev.java.net/eclipse/plugins/org.jvnet.ajax.eclipse.jmaki_1.8.0.jar

unzip it to EclipseInstalleddir/plugins in a directory called org.jvnet.ajax.eclipse.jmaki_1.8.0

Restart Eclipse 3.3 (not 3.2 for jMaki 0.9.7.3 or 1.0. If you want to use the old Eclipse 3.2 IDE, only jMaki 0.9.2 works with it)

Installing ASP.NET AJAX

In this section we explain how to Install Microsoft ASP.NET AJAX and also describes how to install the optional ASP.NET 2.0 AJAX Futures CTP and optional ASP.NET AJAX Control Toolkit.

ASP.NET AJAX

ASP.NET AJAX enables us to create dynamic Web applications which supports partial-page updates. It includes Microsoft ASP.NET 2.0 AJAX Extensions.Microsoft ASP.NET 2.0 AJAX Extensions is a server framework and the Microsoft AJAX Library, which consists of client script that runs on the browser.

Note:

Do not include the assembly in the Bin folder of your AJAX-enabled Web applications menually . It will be installed the ASP.NET AJAX assembly (System.Web.Extensions.dll) in the global assembly cache (GAC) in installation process.

ASP.NET AJAX can install and use with Microsoft Visual Studio 2005 or Microsoft Visual Web Developer Express Edition. However, we don't require Visual Studio 2005 to use ASP.NET AJAX to create ASP.NET Web applications.Microsoft AJAX Library can install and use the without the .NET Framework. We can also install it on non-Windows environments to create client-based Web applications for any browser that supports ECMAScript (JavaScript).

ASP.NET 2.0 AJAX Futures CTP

The ASP.NET 2.0 AJAX Futures CTP is added to the supported features in future versions of ASP.NET AJAX. The CTP release is compatible with ASP.NET AJAX.

ASP.NET AJAX Control Toolkit

Provides features that extend functionality of ASP.NET AJAX version 1.0. These features enhance the depth and breadth of the platform and include new ideas and concepts. The ASP.NET Control Toolkit is community supported and community driven.

System Requirements for Installation

Microsoft ASP.NET AJAX requires the following software.

  1. Operating Systems
    • Windows Server 2003
    • Windows XP Home Edition
    • Windows XP Professional
    • Windows Vista

    Any Windows operating system version (including Windows 2000) that supports the Microsoft .NET Framework version 2.0. Note that support will be limited to the terms of support for that platform.

  2. Optional Software
    • .NET Framework 2.0 or version 3.0., I E 5.01
    • Microsoft Visual Studio 2005 or Visual Web Developer Express Edition

Installing Microsoft ASP.NET AJAX

To install Microsoft ASP.NET AJAX

  1. Make sure that you are logged in with an account that has Administrator rights. If your account does not have Administrator rights, the installation process displays the error "The system administrator has set policies to prevent this installation."
  2. Uninstall any earlier versions of ASP.NET AJAX. If the installation process finds an earlier version on your computer, it will stop.You can remove earlier versions with the Add or Remove Programs application in Control Panel.
  3. Download the ASPAJAXExtSetup.msi installation package from the ASP.NET AJAX Downloads Web site.
  4. To install ASP.NET AJAX from the Windows interface, double-click ASPAJAXExtSetup.msi in Windows Explorer.

    By default, the .msi file is installed in the following location: drive:\..\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.nnnn.

  5. To install ASP.NET AJAX from the command line, execute the following command at a command prompt: msiexec /i ASPAJAXExtSetup.msi [/q] [/log <log file name>] [INSTALLDIR=<installation path>]

    The /q option to perform the installation without user prompts. You can optionally provide an installation path and a file name for logging. If you do not provide an installation path, the default installation path is used.

  6. If you want to add the ASP.NET 2.0 AJAX Futures CTP, download and install it from the ASP.NET AJAX Downloads Web site.
  7. If you want to add the ASP.NET AJAX Control Toolkit, download it and install from ASP.NET AJAX Control Toolkit Web site.

ASP.NET AJAX with Visual Studio

For Microsoft Visual Studio 2005 installed on your computer, the installation process installs templates for AJAX-enabled Web site projects. It also installs an assembly (AJAXExtensionToolbox.dll) that extends the Visual Studio toolbox. When you create a new AJAX-enabled Web site by using Microsoft Visual Studio 2005, the template automatically includes the Web.config file that includes the elements required for ASP.NET AJAX components.

To add ASP.NET AJAX components to an existing site, modify the Web.config file in the Web application by using the configuration values from the sample Web.config file in the installation path. For more information about ASP.NET AJAX configuration values, see Configuring ASP.NET AJAX.

ASP.NET AJAX Without Visual Studio

If Microsoft .NET Framework version 2.0 is installed on a computer without Microsoft Visual Studio 2005 or Visual Web Developer Express Edition, the ASP.NET AJAX installation process adds the System.Web.Extensions.dll assembly that contains server components to the global assembly cache. It also copies a sample Web.config file to the installation path. It does not install templates for AJAX-enabled Web site projects or install the assembly for extending the Visual Studio toolbox.

You can use ASP.NET AJAX in a Web application by adding the sample Web.config file from the installation folder to the Web site directory. You can also modify the Web.config file in an existing Web application by using the configuration values from the sample Web.config file. For more information about the ASP.NET AJAX configuration values, see Configuring ASP.NET AJAX.

Installing Microsoft AJAX Library on Non-Windows Environments

You do not have to build a Web site on a Windows-based environment to use the client framework provided by the Microsoft AJAX Library. The Microsoft AJAX Library consists of JavaScript files and will work with any browsers that can run JavaScript code.

Note:

The Microsoft AJAX Library is installed with the full installation. You do not have to install the Microsoft AJAX Library separately if you have completed the full installation.

To install Microsoft AJAX Library

  1. Download the MicrosoftAJAXLibrary.zip package from the ASP.NET AJAX Downloads Web site.
  2. Unzip the MicrosoftAJAXLibrary.zip package.
  3. Copy the JavaScript files to the Web site.
Previous Home Next