summaryrefslogtreecommitdiff
path: root/demos/activeblog/protected/application.xml
blob: 7b038a2e98ca101816f09bf9480de3ccafd8dad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="utf-8"?>

<!--<application id="activeblog" Mode="Off">-->
<application id="activeblog" Mode="Debug">
<!--<application id="activeblog" Mode="Normal">-->
<!--<application id="activeblog" Mode="Performance">-->
 	<paths>
 		<!-- Alias back to the WebRoot -->
 		<alias id="WebRoot" path=".." />
 		
 		<!-- System Namespaces -->
 		<using namespace="System.Util.TVarDumper" />
<!-- 		<using namespace="System.Security.IUserManager" />-->
<!-- 		<using namespace="System.Security.TUser" />-->
 		<using namespace="System.Web.UI.ActiveControls.*" />
 		
 		<!-- Application Namespaces -->
 		<using namespace="Application.App_Controls.*"/>
 		<using namespace="Application.App_Modules.*"/>
 		<using namespace="Application.App_Portlets.*"/>
 		<using namespace="Application.App_Services.*"/>
 		
 		<!-- DAO Namespaces -->
<!-- 		<using namespace="Application.App_Data.classes.*"/>-->
 	</paths>
 	
 	<parameters>
 		<parameter id ="SiteName" value="Prado Active Blog"/>
 		<parameter id="SiteOwner" value="Your Name Here"/>
 		<parameter id="SiteOffline" value="False"/>
 		<!-- Are we allowing signups -->
		<parameter id="AllowRegister" value="True"/>
		<!-- Email Controls -->
		<parameter id="DisableEmails" value="False"/>
 	</parameters>
 	
 	<!-- modules configured and loaded for all services -->
  	<modules>
  		<!-- use TUrlMapping to map URL patterns to particular requests -->
    	<module id="friendly-url" class="System.Web.TUrlMapping" ConfigFile="Application.urlmaps"/>
  		<module 
  			id="request" 
  			class="System.Web.THttpRequest" 
  			UrlFormat="Path" 
  			EnableCookieValidation="True"
  			UrlManager="friendly-url"/>
		
		<module id="ErrorHandler" class="System.Exceptions.TErrorHandler" />
		
		<!-- Custom Session Module -->
    	<module 
    		id="session" 
    		class="System.Web.THttpSession" 
    		AutoStart="True"
    		UseCustomStorage="True" />
  			
  		<!-- user manager module -->
<!--    	<module id="users" class="Application.App_Modules.JUserManager"/>-->
    			
    	<!-- auth manager module -->
<!-- 		<module 
 			id="auth" 
 			class="Application.App_Modules.JAuthManager" 
 			UserManager="users" 
 			LoginPage="/Home"/>-->
  			
  		<!-- Modules for caching -->
<!--    	<module id="SqliteCache" PrimaryCache="True" class="System.Caching.TSqliteCache"/>-->
  	</modules>
  	
  	<services>
  		<!-- Our main page service -->
    	<service id="page" class="System.Web.Services.TPageService" BasePath="Application.App_Pages">
    		<modules>
    			<!-- Log module -->
    			<module id="log" class="System.Util.TLogRouter">
<!--      				<route class="TBrowserLogRoute"/>-->
<!--      				<route class="TBrowserLogRoute" Categories="System.Web.UI.TPage"/>-->
      				<route 
      					class="TFileLogRoute" 
      					LogFile="System.log" 
      					Categories="System" 
      					Levels="Notice,Warning,Error,Alert,Fatal"/>
      				<route 
      					class="TFileLogRoute" 
      					LogFile="Application.log" 
      					Categories="Application" 
      					Levels="Info,Notice,Warning,Error,Alert,Fatal"/>
				</module>
				
				<!-- Theme manager module -->
    			<module id="themes" class="System.Web.UI.TThemeManager" />
			</modules>
			
			<pages MasterClass="Application.App_Layouts.MainLayout" Theme="Default" />
		</service>
  	</services>
</application>