`
winzenghua
  • 浏览: 1325347 次
  • 性别: Icon_minigender_2
  • 来自: 广州
文章分类
社区版块
存档分类
最新评论

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:

  1. Start Visual Studio.
  2. On the File menu, click New Web Site. (Alternatively, click New, and then click Web Site.)
  3. Under My Templates, select ASP.NET 'Atlas Web Site.
  4. 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:

    ASP.NET 'Atlas' installer

  5. 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 applications.

To add "Atlas" features to an ASP.NET application:

  1. Open the ASP.NET application in Visual Studio.
  2. 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

  3. Open the Web.config file in the "Atlas" default location.
  4. Copy elements required for "Atlas" to the Web.config file in your application's root folder.

    Copy these elements as children of the <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>
  5. Close all files.
分享到:
评论

相关推荐

    asp.net知识库

    在Asp.net中如何用SQLDMO来获取SQL Server中的对象信息 使用Relations建立表之间的关系并却使用PagedDataSource类对DataList进行分页 通过作业,定时同步两个数据库 SQLSERVER高级注入技巧 利用反射实现ASP.NET控件和...

    asp.net组件RadControls的Bin包

    telerik 的 r.a.d.controls 套装是一款最具革命性和广泛性的开发工具集,它主要针对专业级的 ASP.NET 开发,适用于 AJAX, Atlas 、Visual Studio .NET 2005 、Visual Studio 2008 及 ASP.NET 3.5。通过该产品的强大...

    Telerik.Web.UI安装包01

    telerik 的 r.a.d.controls 套装是一款最具革命性和广泛性的开发工具集,它主要针对专业级的 ASP.NET 开发,适用于 AJAX, Atlas 、Visual Studio .NET 2005 、Visual Studio 2008 及 ASP.NET 3.5。通过该产品的强大...

    Telerik UI for ASP.NET AJAX试用版:主要针对专业级的ASP.NET AJAX开发,含图表、表格、列表、界面、编辑、菜单

    它主要针对专业级的 ASP.NET 开发,适用于 AJAX、Atlas 、Visual Studio .NET 2005 、Visual Studio 2008 及 ASP.NET 3.5。通过该产品的强大功能,开发者可以开发出功能丰富、适应标准广泛,与交互浏览器兼容的网络...

    UVAtlas:UVAtlas等距纹理地图集

    UVAtlas-等距纹理贴图 版权所有(c)Microsoft Corporation。 2021年1月9日 该软件包包含UVAtlas,这是一个用于创建和打包等时线纹理图集的共享源库。 此代码旨在使用Visual Studio 2017( ),Visual Studio ...

    Telerik RadControls for ASP.NET AJAX 2008 Q1 net 3.5 Web.UI破解文件

    telerik 的r.a.d.controls套装是一款最具革命性和广泛性的开发工具集,它主要针对专业级的ASP.NET开发,适用于AJAX, Atlas 和Visual Studio .NET 2005。通过该产品的强大功能,开发者可以开发出功能丰富、适应标准...

    Professional.ASP.NET.2.0.AJAX

    深入学习ASP.NET.2.0.AJAX(Atlas)的推荐书籍(英文版),简介如下: Are you ready to build more responsive web applications with richer UI elements? This detailed guide to the Microsoft AJAX Library ...

    Telerik.Web.UI.2010源代码

    telerik 的 r.a.d.controls 套装是一款最具革命性和广泛性的开发工具集,它主要针对专业级的 ASP.NET 开发,适用于 AJAX, Atlas 、Visual Studio .NET 2005 、Visual Studio 2008 及 ASP.NET 3.5。通过该产品的强大...

    isochart纹理地图集UVAtlas.zip

    UVAtlas 是微软开发的 isochart 纹理地图集This code is designed to build with Visual Studio 2010, 2012, or 2013. It requires the Windows 8.x SDK for functionality such as the DirectXMath library. Visual...

    vscode-terraform-snippets:适用于Visual Studio Code的高级Terraform片段。 从市场上至少下载了23000次

    适用于Visual Studio Code的高级Terraform代码段 提供适用于的550多个Hashicorp的云编排工具代码段。 用法 enter片段tf一部分,按enter : 样本片段 输入/输出/模块 tf-variable // generates ` variable " ...

    全自动家庭水培系统Green Box-电路方案

    我还在控制面板上添加了一个拨动开关,用于手动打开和关闭风扇。然后,对于水位,使用水位传感器,电磁阀和Atlas Scientific的EZO-PMP水泵,您可以将其自动设置在某个水位,或手动输入所需的水位。我用自己的vermi-...

    Crystal Reports 9 - The Complete Reference.part1

    •Visual Basic(r).NET: The Complete Reference •Crystal Reports 10: The Complete Reference •Juniper Networks(r) Routers: The Complete Reference •Director(R) 8.5 Shockwave(R) Studio: The Complete ...

    使用C1UpdateSplitter创建支持AJAX的混搭

    本文介绍了一个示例“混搭”应用程序,该应用程序组合了来自三个不同Web服务的数据并使用各种ComponentOne ASP.NET控件(包括C1UpdateSplitter)显示了结果,该控件扩展了“ Atlas” UpdatePanel的功能。

    contentexporter:从旧版DirectX SDK采样内容导出器

    此代码旨在使用Visual Studio 2017( ),Visual Studio 2019或适用于Windows v9或更高版本的clang进行构建。 建议您使用Windows 10 May 2020更新SDK( )。 这些组件设计为无需使用旧版DirectX SDK的任何内容即可...

    使用AJAX和Spread优化Web应用程序

    FarPoint借助FarPoint Spread for Web Forms开发了电子表格组件市场的领导地位,该产品是ASP.NET开发的高端电子表格产品。 它已启用AJAX并经过ATLAS测试。

Global site tag (gtag.js) - Google Analytics