ExtAspNet 4.0 架构搭建

<?xml version="1.0"?>

<!--
  有关如何配置 ASP.NET 应用程序的详细信息,请访问
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->



<configuration>
    <configSections>
        <section name="ExtAspNet" type="ExtAspNet.ConfigSection, ExtAspNet" requirePermission="false"/>
    </configSections>
        <ExtAspNet EnableBigFont="true" DebugMode="true"
            Language="zh_CN" AjaxTimeout="60" EnableAjax="true" Theme="blue" FormMessageTarget="qtip" FormOffsetRight="20" FormLabelWidth="100" FormLabelSeparator=":" IconBasePath="~/icon" EnableAjaxLoading="true" AjaxLoadingType="default" />
   
    
    
    <system.web>
       

        <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
            <controls>
                <add assembly="ExtAspNet" namespace="ExtAspNet" tagPrefix="ext"/>
            </controls>
        </pages>

       
        
        <httpModules>
            <add name="ExtAspNetScriptModule" type="ExtAspNet.ScriptModule, ExtAspNet"/>
        </httpModules>

        <httpHandlers>
            <add verb="GET" path="res.axd" type="ExtAspNet.ResourceHandler, ExtAspNet"/>
        </httpHandlers>

        <customErrors mode="Off"/>
        <compilation debug="true" targetFramework="4.0"/>
    </system.web>

    <system.webServer>
        <directoryBrowse enabled="true" />
    </system.webServer>
</configuration>
--web.config 配置信息 在网站中添加ExtAspNet.dll  Newtonsoft.Json.dll

posted @ 2013-11-06 13:32  聆听的风声  阅读(212)  评论(0)    收藏  举报