- Getting and Installing the Atlas Framework
- Creating a New Atlas Project
- Creating a Web Service
- Making an AJAX Request
Creating a New Atlas Project
To create a new Atlas project, start Visual Studio and choose File > New Web Site from the menu. In the New Web Site dialog box (see Figure 1), choose "Atlas" Web Site in the My Templates section of the Templates list. Make sure that Language is set to Visual C#. Browse to the location where you want to save the project, name the project, and click OK.
Figure 1 Creating a new Atlas project.
When you use the Atlas web site template, the runtime assembly is installed into the Bin folder of the project automatically, with the name Microsoft.Web.Atlas.dll. If you wanted to create a new web site that didn’t use this template, you would need to add this reference by locating the file on your computer, which is currently installed by default in the following location:
C:\Program Files\Microsoft ASP.NET\Atlas\v2.0.50727\Atlas
The Web.config file for the project is also preconfigured automatically with the settings that are required to run the Atlas framework. If you want to add Atlas to an existing application, simply add the reference to the .dll, copy the appropriate setting to the Web.config file, and you’re ready to go.