{"id":217,"date":"2018-07-21T11:17:20","date_gmt":"2018-07-21T11:17:20","guid":{"rendered":"http:\/\/windows.emacslisp.com\/?p=217"},"modified":"2018-07-21T11:18:51","modified_gmt":"2018-07-21T11:18:51","slug":"orchard-2-microsoft-open-source-cms-using-asp-net-core","status":"publish","type":"post","link":"http:\/\/windows.emacslisp.com\/index.php\/2018\/07\/21\/orchard-2-microsoft-open-source-cms-using-asp-net-core\/","title":{"rendered":"Orchard 2 &#8211; Microsoft open source CMS using asp.net core"},"content":{"rendered":"<p>Here we assume that %Orchard% is Orchard Source code workspace folder<\/p>\n<p>Orchard 2 uses autofac as DI library as well as NHibernate.<\/p>\n<p>%Orchard%\\src\\Orchard.Web\\Global.asax.cs is entry of whole website.<\/p>\n<p>%Orchard%\\src\\Orchard.Web\\Modules\\Orchard.Setup\\Views\\Setup\\Index.cshtml<br \/>\n%Orchard%\\src\\Orchard.Web\\Modules\\Orchard.Setup\\Controllers\\SetupController.cs<\/p>\n<p><a href=\"http:\/\/windows.emacslisp.com\/wp-content\/uploads\/2018\/07\/orchard.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/windows.emacslisp.com\/wp-content\/uploads\/2018\/07\/orchard.jpg\" alt=\"orchard\" width=\"1248\" height=\"586\" class=\"alignnone size-full wp-image-218\" \/><\/a><\/p>\n<p>after filling at required field, &#8216;finish setup&#8217; is clicked.<br \/>\nit would invoke following code<\/p>\n<pre lang=\"csharp\" line=\"1\">\r\n[HttpPost, ActionName(\"Index\")]\r\npublic ActionResult IndexPOST(SetupViewModel model)\r\n{\r\n   ...\r\n}\r\n<\/pre>\n<p>Orchard Init Stage Steps.<br \/>\n &#8211; Orchard use lots of Plugin and Module. It has complex loading and caching mechanism.<br \/>\n &#8211; I would write a new post for init stage source code of Orchard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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, &#8216;finish setup&#8217; is clicked. it &hellip; <a href=\"http:\/\/windows.emacslisp.com\/index.php\/2018\/07\/21\/orchard-2-microsoft-open-source-cms-using-asp-net-core\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"_links":{"self":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/217"}],"collection":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/comments?post=217"}],"version-history":[{"count":2,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/217\/revisions"}],"predecessor-version":[{"id":220,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/posts\/217\/revisions\/220"}],"wp:attachment":[{"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/media?parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/categories?post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/windows.emacslisp.com\/index.php\/wp-json\/wp\/v2\/tags?post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}