Improves perf of UmbracoModule rendering, adds unit test for UmbracoModule, fixes StateHelper with HttpContext.Current,

Fixes Action with empty JsSource, Fixes GlobalSettings to be unit testable, adds medium trust config
section to my own transform.
This commit is contained in:
shannon@ShandemVaio
2012-08-06 22:40:06 +06:00
parent 11a6b2a31f
commit 19205f1435
11 changed files with 207 additions and 165 deletions

View File

@@ -27,6 +27,7 @@
</appSettings>
<system.web>
<trust level="Medium"/>
<compilation debug="true" xdt:Transform="SetAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire

View File

@@ -77,8 +77,7 @@
<remove name="LocalSqlServer" />
<!--<add name="LocalSqlServer" connectionString="server=.\sqlexpress;database=aspnetdb;user id=DBUSER;password=DBPASSWORD" providerName="System.Data.SqlClient"/>-->
</connectionStrings>
<system.web>
<trust level="Medium"/>
<system.web>
<customErrors mode="RemoteOnly" />
<trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />