Monitoring virtual dependency files for modules takes requires a lot
of file I/O, and can be a significant bottleneck on heavily loaded
disk sub-system (5-10 secs). Making this process asynchronous during
startup decreases startup time by almost that amount of time.
--HG--
branch : 1.x
Instead of processing tasks asynchronously at the end of a request,
we process them synchronously, so that the behavior is more
deterministic.
--HG--
branch : dev
Configured arrays of view engines cached for use in appropriate contexts
Adding current theme as dedicated property on work context
Current theme assigned by selecters, if null, as result begins executing
Distinction is made between deep and shallow view path locations
--HG--
branch : theming
When enabling features from the command line, we need
a way to signal the WebHost app that the OrchardHost needs
to re-compute the list of activated features.
We enable this by touching and monitoring a local file in "App_Data".
The file is touched whenever a feature is enabled or disabled,
and is monitored by the OrchardHost to watch for a re-initialization.
--HG--
branch : dev
If we enable a feature from the command line, we need the host to
recompute it's list of shell topologies on the next request
of the web application.
We enable this by making the OrchardHost watch for file changes
on the "cache.dat" file (topology cache)
--HG--
branch : dev
I'm not quite sure why, but when creating a new module using
the scaffolding command, the FileChangeMonitor doesn't detect a new
directory has been added in "~/Modules". Added an explicit call to
the OrchardHost to force reloading of extensions.
--HG--
branch : dev
When a new module is installed in the host app, explicitly call
"ReloadExtensions" on the host so that the new module is activated.
We need this because some SpecFlow binding talk directly to the host through
remoting, whereas in the real web scenarios, all comunication is done through
"BeingRequest" which is the guy taking care of reloading modules when
they have changed on disk.
--HG--
branch : dev
* Removed unused "ServiceLocator" class
* Added "OrchardHostContainerRegistry" class to enable Shim/HostContainer
registration for DI
* Refactored the BuildProvider for .csproj file to use the new
OrchardHostContainerRegistry class and enable proper DI for implementations.
--HG--
branch : dev
OrchardHost calls into all extension loaders to all extensions descriptor,
allowing each loader to add the set of resource to monitor for change.
OrchardHost resets its list of shells at the beginning of a request if
any monitored resources has changed.
--HG--
branch : dev