<extnet scriptMode="Release" theme="Gray" /> <!-- See Property Options below in Sec IV. -->
<!--
The following system.web section is only requited for running ASP.NET AJAX under Internet
Information Services 6.0 (or earlier).
This section is not necessary for IIS 7.0 or later, although does not have to be removed.
-->
<system.web>
<httpHandlers>
<add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false" />
</httpHandlers>
<httpModules>
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
</httpModules>
<pages>
<controls>
<add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext" />
</controls>
</pages>
</system.web>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0.
It is not necessary for previous version of IIS, although does not have to be removed.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add
name="DirectRequestModule"
preCondition="managedHandler"
type="Ext.Net.DirectRequestModule, Ext.Net"
/>
</modules>
<handlers>
<add
name="DirectRequestHandler"
verb="*"
path="*/ext.axd"
preCondition="integratedMode"
type="Ext.Net.ResourceHandler"
/>
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="1.0.0.0-4.5.9" newVersion="4.5.10" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23" />
<bindingRedirect oldVersion="0.0.0.0-2.0.1" newVersion="2.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Transformer.NET" publicKeyToken="e274d618e7c603a7" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0" newVersion="2.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>[/code] 作者: Koson 时间: 2013-2-28 10:47
你如果想跳过这种方式,还可以使用NuGet来完成。只是需要稍微花点时间。打开你的项目。在VS菜单工具栏上选择 TOOLS〉Library Package Manager〉Package Manager Console,然后在打开的控制台使用命令方式更新:PM> Install-Package Ext.NET。等待更新完成吧。作者: 记忆 时间: 2013-2-28 10:53
那按照老大你的意思就是使用ext.net可以不用配置web.config文件,是不是啊作者: Koson 时间: 2013-2-28 10:56
選擇手動配置也可以啊,很簡單的啊。上面都給出了,就那幾個節點而已。你不想自己配置也可以啊。直接使用NuGet控制臺命令更新。你看你貼出來的配置文件就知道了,那幾個節點都沒有寫上。能不報錯嗎。作者: 记忆 时间: 2013-3-1 10:37