Atlasベース-Visual Studio.NetでのAtlasフィーチャーの作成と追加
Creating an ASP.NET "Atlas" Project in Visual Studio
After installing the "Atlas"files and the "Atlas"Visual Studio project template, you can create a new Web site in Visual Studio 2005 that is configured with "Atlas"features.
To create a new "Atlas"Web site:
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 applications.
To add "Atlas"features to an ASP.NET application:
C:\Program Files\Microsoft ASP.NET\Atlas\v2.0.50727\Atlas
<configuration>
element: <configSections>
<sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
<section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"/>
</sectionGroup>
</configSections>
<microsoft.web>
<converters>
<add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter"/>
<add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter"/>
<add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter"/>
</converters>
</microsoft.web>
Copy (or integrate) these elements as children of the <system.web>
element: <pages>
<controls>
<add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
<add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
</controls>
</pages>
<!-- ASMX is mapped to a new handler so that proxy javascripts can also be served. -->
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>
</httpModules>