Home Page.

Topics: Administration, Core
Apr 12, 2013 at 1:02 AM
Edited Apr 12, 2013 at 1:04 AM
Which Line of code making http://localhost:30320/OrchardLocal/ to SetupController in Orchard.Setup when I start fresh.

I removed all modules from Module folder except Orchard.setup and Jquery.
Coordinator
Apr 12, 2013 at 1:20 AM
I don't understand the question. What are you trying to do?
Apr 12, 2013 at 1:28 AM
Edited Apr 12, 2013 at 1:29 AM
I am trying to understand the Framework. I would like know how my first request reaches (Default route "~/") to SetupController in Setup Module.

I did looked at CreateSetupContext(ShellSettings settings) and its loading Setup, Shape and Jquery extensions. then I lost there.

"~/" -> SetupController.Index?
Coordinator
Apr 12, 2013 at 1:36 AM
Look at Routes.cs in Orchard.Setup.
Apr 12, 2013 at 2:12 AM
Edited Apr 12, 2013 at 2:13 AM
I got it. Thank You.

This is magic of that.


"{controller}/{action}",
new RouteValueDictionary {
{"area", "Orchard.Setup"},
{"controller", "Setup"},
{"action", "Index"}
},