Atlas Basics - Create and add Atlas feature in Visual Studio.net

xiaoxiao2021-04-07  355

Creating an asp.net "Atlas" Project In Visual Studio

After Installing The "Atlas" Files and The "Atlas" Visual Studio Project Template, You Create A New Web Site In Visual Studio 2005 That IS Configured with "Atlas" Features.

To create a new "Atlas" Web Site:

Start Visual Studio. On the File menu, click New Web Site. (Alternatively, click New, and then click Web Site.) Under My Templates, select ASP.NET 'Atlas Web Site. Select the location for your installation, select the language You want to use for the Web site, and Enter or Browse to the local path where you want to create the web site: Click OK.

When you create a new "Atlas" Web site, Visual Studio copies the "Atlas" run-time assembly from its installation location to the Web site's Bin folder. Visual Studio also generates a Web.config file that is preconfigured with settings required to run "ATLAS" Applications.

Adding "Atlas" Features to an existing ASP.NET Application

You can add "Atlas" Capabilities to your existing asp.net application.

To add "atlas" features to an onp.net application:

Open the ASP.NET application in Visual Studio. Copy the "Atlas" run-time assembly (Microsoft.Web.Atlas.dll) from its installation folder to the application's Bin folder. By default, the "Atlas" assembly is installed in this location: C:. / Program Files / Microsoft ASP.NET/Atlas/v2.0.50727/Atlas Open the Web.config file in the "Atlas" default location Copy elements required for "Atlas" to the Web.config file in your application's Root Folder. Copy There Elements As Children of The Element:

Copy (or Integrate) THESE Elements As Children of The Element:

Close All Files.

转载请注明原文地址:https://www.9cbs.com/read-132517.html

New Post(0)