2009-11-07 22:49:58 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
Note: As an alternative to hand editing this file you can use the
|
|
|
|
web admin tool to configure settings for your application. Use
|
|
|
|
the Website->Asp.Net Configuration option in Visual Studio.
|
|
|
|
A full list of settings and comments can be found in
|
|
|
|
machine.config.comments usually located in
|
|
|
|
\Windows\Microsoft.Net\Framework\v2.x\Config
|
|
|
|
-->
|
|
|
|
<configuration>
|
2010-08-23 13:10:12 -07:00
|
|
|
<configSections>
|
2010-10-07 10:24:17 -07:00
|
|
|
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor">
|
|
|
|
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor" requirePermission="false" />
|
|
|
|
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor" requirePermission="false" />
|
2010-08-23 13:10:12 -07:00
|
|
|
</sectionGroup>
|
2010-11-11 19:37:18 -08:00
|
|
|
|
|
|
|
<section name="hibernate-configuration" requirePermission="false" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
|
2010-08-23 13:10:12 -07:00
|
|
|
</configSections>
|
2010-10-14 13:16:04 -07:00
|
|
|
|
2010-11-11 19:37:18 -08:00
|
|
|
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
|
|
|
|
<reflection-optimizer use="false"/>
|
|
|
|
</hibernate-configuration>
|
|
|
|
|
2010-06-21 16:40:13 -07:00
|
|
|
<system.diagnostics configSource="Config\Diagnostics.config"/>
|
2010-10-07 10:24:17 -07:00
|
|
|
|
|
|
|
<system.web.webPages.razor>
|
|
|
|
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
2010-08-23 13:10:12 -07:00
|
|
|
<pages pageBaseType="Orchard.Mvc.ViewEngines.Razor.WebViewPage">
|
|
|
|
<namespaces>
|
|
|
|
<add namespace="System.Web.Mvc" />
|
|
|
|
<add namespace="System.Web.Mvc.Ajax" />
|
|
|
|
<add namespace="System.Web.Mvc.Html" />
|
|
|
|
<add namespace="System.Web.Routing" />
|
|
|
|
<add namespace="System.Linq"/>
|
|
|
|
<add namespace="System.Collections.Generic"/>
|
|
|
|
<add namespace="Orchard.Mvc.Html"/>
|
|
|
|
</namespaces>
|
2010-10-01 18:54:19 -07:00
|
|
|
</pages>
|
2010-10-07 10:24:17 -07:00
|
|
|
</system.web.webPages.razor>
|
2010-08-23 13:10:12 -07:00
|
|
|
|
2010-06-21 16:40:13 -07:00
|
|
|
<!--
|
2010-01-24 22:01:32 +00:00
|
|
|
Set default transaction timeout to 30 minutes so that interactive debugging
|
|
|
|
is easier (default timeout is less than one minute)
|
|
|
|
-->
|
2010-06-21 16:40:13 -07:00
|
|
|
<system.transactions>
|
|
|
|
<defaultSettings timeout="00:30:00"/>
|
|
|
|
</system.transactions>
|
|
|
|
<system.web>
|
2010-11-12 11:47:29 -08:00
|
|
|
<trust level="Medium" originUrl="" />
|
|
|
|
|
2010-09-02 15:33:18 -07:00
|
|
|
<machineKey validationKey="013B82F217ABB7EAB1F699E4E5B4D290030644D435994692354DAE82B06568B058BFE3C57BF199A41FFDBC84F3BC74D9C5BD96D1265F36A22D58347B591AC8DD" decryptionKey="04797035C490263D73ED991C84C5DFCD0D0206AD4F12BC3638A38FBEABEBB8C7" validation="SHA1" decryption="AES" />
|
|
|
|
|
2010-05-21 23:41:46 -07:00
|
|
|
<httpRuntime requestValidationMode="2.0" />
|
|
|
|
<!--
|
2009-11-07 22:49:58 +00:00
|
|
|
Set compilation debug="true" to insert debugging
|
|
|
|
symbols into the compiled page. Because this
|
|
|
|
affects performance, set this value to true only
|
|
|
|
during development.
|
|
|
|
-->
|
2010-06-21 16:40:13 -07:00
|
|
|
<compilation debug="true" targetFramework="4.0">
|
2010-06-03 16:54:14 -07:00
|
|
|
<buildProviders>
|
2010-06-21 16:40:13 -07:00
|
|
|
<add extension=".csproj" type="Orchard.Environment.Extensions.Compilers.CSharpExtensionBuildProviderShim"/>
|
2010-06-03 16:54:14 -07:00
|
|
|
</buildProviders>
|
|
|
|
<assemblies>
|
2010-08-17 22:28:51 -07:00
|
|
|
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/>
|
|
|
|
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/>
|
|
|
|
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/>
|
2010-06-21 16:40:13 -07:00
|
|
|
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
2010-11-08 11:52:57 -08:00
|
|
|
<remove assembly="mscorlib" />
|
|
|
|
<remove assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
|
|
<remove assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
|
|
<remove assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
|
|
<remove assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
|
|
<remove assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
|
|
<remove assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
|
|
<remove assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
|
|
<remove assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
|
|
<remove assembly="System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
|
|
<remove assembly="System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
|
|
<remove assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
|
|
<remove assembly="System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
|
|
|
<remove assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
|
|
|
<remove assembly="System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
|
|
|
<remove assembly="System.ServiceModel.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
|
|
|
<remove assembly="System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
|
|
|
<remove assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
|
|
|
<remove assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
|
|
<remove assembly="System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
2010-06-21 16:40:13 -07:00
|
|
|
</assemblies>
|
|
|
|
</compilation>
|
|
|
|
<!--
|
2009-11-07 22:49:58 +00:00
|
|
|
The <authentication> section enables configuration
|
|
|
|
of the security authentication mode used by
|
|
|
|
ASP.NET to identify an incoming user.
|
|
|
|
-->
|
2010-06-21 16:40:13 -07:00
|
|
|
<authentication mode="Forms">
|
|
|
|
<forms loginUrl="~/Users/Account/AccessDenied" timeout="2880"/>
|
|
|
|
</authentication>
|
2010-11-12 15:23:40 -08:00
|
|
|
|
2010-06-21 16:40:13 -07:00
|
|
|
<!--
|
2009-11-07 22:49:58 +00:00
|
|
|
The <customErrors> section enables configuration
|
|
|
|
of what to do if/when an unhandled error occurs
|
|
|
|
during the execution of a request. Specifically,
|
|
|
|
it enables developers to configure html error pages
|
|
|
|
to be displayed in place of a error stack trace.
|
|
|
|
-->
|
2010-10-01 18:54:19 -07:00
|
|
|
<customErrors mode="Off" />
|
2010-06-21 16:40:13 -07:00
|
|
|
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
|
|
|
|
<namespaces>
|
|
|
|
<add namespace="System.Web.Mvc"/>
|
|
|
|
<add namespace="System.Web.Mvc.Ajax"/>
|
|
|
|
<add namespace="System.Web.Mvc.Html"/>
|
|
|
|
<add namespace="System.Web.Routing"/>
|
|
|
|
<add namespace="System.Linq"/>
|
|
|
|
<add namespace="System.Collections.Generic"/>
|
|
|
|
<add namespace="Orchard.Mvc.Html"/>
|
|
|
|
</namespaces>
|
|
|
|
</pages>
|
2010-11-02 18:12:44 -07:00
|
|
|
|
2010-06-21 16:40:13 -07:00
|
|
|
<httpHandlers>
|
2010-11-02 18:12:44 -07:00
|
|
|
<!-- see below -->
|
|
|
|
<clear />
|
|
|
|
<add path="default.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" validate="true" />
|
|
|
|
<add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
|
|
|
|
|
2010-06-21 16:40:13 -07:00
|
|
|
</httpHandlers>
|
|
|
|
</system.web>
|
|
|
|
<!--
|
2009-11-07 22:49:58 +00:00
|
|
|
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.
|
|
|
|
-->
|
2010-06-21 16:40:13 -07:00
|
|
|
<system.webServer>
|
2010-09-27 13:09:17 -07:00
|
|
|
|
2010-11-02 18:12:44 -07:00
|
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
|
|
<modules runAllManagedModulesForAllRequests="true" />
|
|
|
|
<handlers accessPolicy="Script">
|
|
|
|
<!-- clear all handlers, prevents executing code file extensions, prevents returning any file contents -->
|
|
|
|
<clear/>
|
|
|
|
<!-- Return 404 for all requests via managed handler. The url routing handler will substitute the mvc request handler when routes match. -->
|
|
|
|
<add name="Default" path="default.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode" requireAccess="Script"/>
|
|
|
|
<add name="NotFound" path="*" verb="*" type="System.Web.HttpNotFoundHandler" preCondition="integratedMode" requireAccess="Script"/>
|
2010-06-21 16:40:13 -07:00
|
|
|
</handlers>
|
|
|
|
</system.webServer>
|
|
|
|
<runtime>
|
2010-06-03 16:54:14 -07:00
|
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
|
|
<probing privatePath="App_Data/Dependencies"/>
|
|
|
|
<dependentAssembly>
|
2010-06-21 16:40:13 -07:00
|
|
|
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
|
2010-08-23 13:10:12 -07:00
|
|
|
<bindingRedirect oldVersion="2.0.0.0" newVersion="3.0.0.0" />
|
2010-10-12 17:33:11 -07:00
|
|
|
</dependentAssembly>
|
2010-06-21 16:40:13 -07:00
|
|
|
</assemblyBinding>
|
|
|
|
</runtime>
|
2010-05-06 10:28:29 -07:00
|
|
|
</configuration>
|