mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Further progress towards tenant-specific routing
Ability to follow redirects from integration tests Route publisher wraps handler with ShellRoute which controls request lifetime scope ShellRoute at the moment is restricted to "Default" - host and prefix TBD Route publisher remove-and-insert routes for a specific tenant to allow incremental and repeated shell route publish Offers a more deterministic knowledge of which shell container is used than just-in-time http context Removes Autofac default httpmodule, controller factory, httpapplication icontainerprovideraccessor, etc Adds support for optional ~/Config/Sites.{yourtenantname}.config file for manual per-shell component override Integration tests capture Orchard and NHibernate trace output. Levels are configurable in orchard.specs diagnostics.config Concept of IRunningShellTable instroduced. Might not be needed - will be removed if so. --HG-- branch : dev
This commit is contained in:
@@ -144,7 +144,6 @@
|
||||
</httpHandlers>
|
||||
|
||||
<httpModules>
|
||||
<add name="ContainerDisposal" type="Autofac.Integration.Web.ContainerDisposalModule, Autofac.Integration.Web"/>
|
||||
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</httpModules>
|
||||
@@ -178,7 +177,6 @@
|
||||
<validation validateIntegratedModeConfiguration="false"/>
|
||||
|
||||
<modules runAllManagedModulesForAllRequests="true">
|
||||
<add name="ContainerDisposal" type="Autofac.Integration.Web.ContainerDisposalModule, Autofac.Integration.Web"/>
|
||||
<remove name="ScriptModule" />
|
||||
<remove name="UrlRoutingModule" />
|
||||
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
|
Reference in New Issue
Block a user