http://atlas.asp.net/docs/overview/install.aspx

上面的地址,是官方的安装说明(英文),这里我大概就说一下里面有什么东西.

http://atlas.asp.net/上面下载最新版本,然后安装,一路NEXT.其中涉及到安装ATLAS的项目模板,注册.asbx 的文件扩展名到IIS.

安装之后你就可以在VS2005中建立ATLAS项目,不多说.

下面是说如何在现有的项目中使用Atlas:

1 打开项目工程

C:\Program Files\Microsoft ASP.NET\Atlas\v2.0.50727\Atlas

到上面的路径把Microsoft.Web.Atlas.dll拷贝到你的BIN目录,然后就可以引用了.在工具箱里面选择项,然后你的工具箱里面就会多一系列的控件.如updatePanel等.

3 修改WEB.CONFIG文件

把下面的节点放到<CONFIGURATION>的子节点的位置(注意:configSections必须是CONFIGURATION的第一个子节点)

ATLAS安装&资源  <configSections>
ATLAS安装&资源    
<sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
ATLAS安装&资源      
<section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"/>
ATLAS安装&资源    
</sectionGroup>
ATLAS安装&资源  
</configSections>
ATLAS安装&资源
ATLAS安装&资源  
<microsoft.web>
ATLAS安装&资源    
<converters>
ATLAS安装&资源      
<add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter"/>
ATLAS安装&资源      
<add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter"/>
ATLAS安装&资源      
<add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter"/>
ATLAS安装&资源    
</converters>
ATLAS安装&资源  
</microsoft.web>

下面的放到<system.web> 的子节点的位置:

ATLAS安装&资源<pages>
ATLAS安装&资源      
<controls>
ATLAS安装&资源        
<add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
ATLAS安装&资源        
<add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
ATLAS安装&资源      
</controls>
ATLAS安装&资源    
</pages>
ATLAS安装&资源
ATLAS安装&资源    
<!-- ASMX is mapped to a new handler so that proxy javascripts can also be served. -->
ATLAS安装&资源    
<httpHandlers>
ATLAS安装&资源      
<remove verb="*" path="*.asmx"/>
ATLAS安装&资源      
<add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
ATLAS安装&资源    
</httpHandlers>
ATLAS安装&资源    
<httpModules>
ATLAS安装&资源      
<add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>
ATLAS安装&资源    
</httpModules>
4 OK
5 下面你可以写些测试程序,看效果如何
 
资源:
http://dflying.cnblogs.com
http://pwqzc.cnblogs.com
博客园,ASP.NET Atlas学习团队 http://atlas.cnblogs.com/
 http://atlas.asp.net/
 ttp://blogs.msdn.com/brada/
http://weblogs.asp.net/scottgu/
http://www.nikhilk.net/
http://weblogs.asp.net/bleroy/
http://blogs.msdn.com/jhawk/

相关文章:

  • 2021-08-25
  • 2021-11-28
  • 2021-08-18
  • 2021-10-01
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2021-05-09
猜你喜欢
  • 2022-01-15
  • 2021-06-13
  • 2021-11-19
  • 2022-02-04
  • 2021-04-25
  • 2021-12-11
相关资源
相似解决方案