1 <?xml version=
"1.0" encoding=
"utf-8" ?>
4 <section name=
"mvc" type=
"Castle.MVC.Configuration.ConfigurationSectionHandler, castle.mvc"/>
5 <section name=
"castle" type=
"Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" />
11 <facility id=
"MVCFacility" type=
"Castle.MVC.MVCFacility, Castle.MVC" />
16 <!-- MVC components -->
18 service=
"Castle.MVC.States.IState, Castle.MVC"
19 type=
"Castle.MVC.Test.Presentation.MyApplicationState, Castle.MVC.Test.Presentation" />
20 <component id=
"navigator"
21 service=
"Castle.MVC.Navigation.INavigator, Castle.MVC"
22 type=
"Castle.MVC.Navigation.DefaultNavigator, Castle.MVC" />
24 <component id=
"viewManager"
25 service=
"Castle.MVC.Views.IViewManager, Castle.MVC"
26 type=
"Castle.MVC.Views.MockViewManager, Castle.MVC" /> <!-- test -->
27 <component id=
"statePersister"
28 service=
"Castle.MVC.StatePersister.IStatePersister, Castle.MVC"
29 type=
"Castle.MVC.StatePersister.MemoryStatePersister, Castle.MVC" /> <!-- Windows -->
32 <component id=
"HomeController"
33 type=
"Castle.MVC.Test.Presentation.HomeController, Castle.MVC.Test.Presentation" />
34 <component id=
"AccountController"
35 type=
"Castle.MVC.Test.Presentation.AccountController, Castle.MVC.Test.Presentation" />
38 <!-- Application components -->
39 <component id=
"ServiceA"
40 service=
"Castle.MVC.Test.IServiceA, Castle.MVC.Test"
41 type=
"Castle.MVC.Test.ServiceA, Castle.MVC.Test" />
47 <view id=
"page2" path=
"/views/home/page2.aspx" />
48 <view id=
"index" path=
"/views/home/index.aspx" />
49 <view id=
"error" path=
"/views/error.aspx" />
53 <view id=
"error" type=
"Application.WinUI.error, Application.WinUI"/>
57 <commands view=
"index">
58 <command id=
"GoToPage2" view=
"page2" />
60 <commands view=
"page2">
61 <command id=
"GoToIndex" view=
"index" />
67 <!-- <add key="jey" value="value"/> -->