Here we assume that %Orchard% is Orchard Source code workspace folder
Orchard 2 uses autofac as DI library as well as NHibernate.
%Orchard%\src\Orchard.Web\Global.asax.cs is entry of whole website.
%Orchard%\src\Orchard.Web\Modules\Orchard.Setup\Views\Setup\Index.cshtml
%Orchard%\src\Orchard.Web\Modules\Orchard.Setup\Controllers\SetupController.cs
after filling at required field, ‘finish setup’ is clicked.
it would invoke following code
1 2 3 4 5 | [HttpPost, ActionName("Index")] public ActionResult IndexPOST(SetupViewModel model) { ... } |
Orchard Init Stage Steps.
– Orchard use lots of Plugin and Module. It has complex loading and caching mechanism.
– I would write a new post for init stage source code of Orchard.