forked from countersoft/Azure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.sqllite.config
253 lines (253 loc) · 13.4 KB
/
Web.sqllite.config
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" requirePermission="false"/>
<section name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection" requirePermission="false" allowLocation="true"/>
<sectionGroup name="elmah">
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/>
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/>
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/>
</sectionGroup>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="Gemini" connectionString="Data Source={PATH HERE}App_Data\gemini.db;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<bytecode-provider type="lcg"/>
<!-- MED TRUST reflection-optimizer use="false"/-->
<session-factory>
<property name="connection.connection_string_name">Gemini</property>
<property name="connection.driver_class">NHibernate.Driver.SQLite20Driver</property>
<property name="dialect">NHibernate.Dialect.SQLiteDialect</property>
<property name="show_sql">false</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
<!--property name="connection.isolation">ReadUncommitted</property-->
<!--property name="connection.driver_class">NHibernate.MvcMini.ProfiledSqlClientDriver, NHibernate.MvcMini</property-->
<!-- MED TRUST property name="adonet.batch_size">0</property-->
<!--property name="command_timeout">60</property-->
<!--property name="default_schema">GeminiSample.dbo</property-->
<!--property name="prepare_sql">true</property-->
<!--property name="generate_statistics">false</property-->
<property name="sql_exception_converter">Countersoft.Foundation.Data.SqlExceptionConverter, Countersoft.Foundation.Data</property>
</session-factory>
</hibernate-configuration>
<dotNetOpenAuth>
<openid>
<relyingParty>
<security requireSsl="false"/>
<behaviors>
<add type="DotNetOpenAuth.OpenId.Behaviors.AXFetchAsSregTransform, DotNetOpenAuth"/>
</behaviors>
</relyingParty>
</openid>
<messaging>
<untrustedWebRequest>
<whitelistHosts>
<add name="localhost"/>
</whitelistHosts>
</untrustedWebRequest>
</messaging>
<reporting enabled="false"/>
</dotNetOpenAuth>
<log4net>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="App_Data/logs/Gemini.log"/>
<appendToFile value="true"/>
<maximumFileSize value="30MB"/>
<maxSizeRollBackups value="1"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%utcdate{dd MMM yyyy HH:mm:ss,fff}] [%level] %message%newline"/>
</layout>
</appender>
<root>
<level value="ERROR"/>
<appender-ref ref="RollingFile"/>
</root>
<logger name="NHibernate">
<level value="ERROR"/>
</logger>
</log4net>
<elmah>
<security allowRemoteAccess="1"/>
<errorFilter>
<test>
<and>
<equal binding="HttpStatusCode" value="404" type="Int32"/>
<regex binding="Context.Request.ServerVariables['URL']" pattern="/favicon\.ico(\z|\?)"/>
</and>
</test>
</errorFilter>
</elmah>
<appSettings>
<add key="gemini.url" value=""/>
<add key="gemini.apikey" value=""/>
<add key="gemini.linkqualifier" value="GEM:"/>
<add key="aspnet:MaxHttpCollectionKeys" value="999999"/>
<add key="countersoft.cacheprovider" value="WebCacheManager"/>
<add key="countersoft.persistence" value="Countersoft.Gemini.Data"/>
<add key="countersoft.cdn" value=""/>
<!--
<add key="countersoft.cdn" value="http://127.0.0.1:81/assets" />
<add key="countersoft.cdn" value="//geminiplatform.s3.amazonaws.com/v5-0-0" />
-->
</appSettings>
<system.web>
<!--trust level="Medium" /-->
<compilation debug="false" targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
<buildProviders>
<remove extension=".cshtml" />
<add extension=".cshtml" type="Countersoft.Gemini.Infrastructure.GeminiRazorBuildProvider, Countersoft.Gemini"/>
</buildProviders>
</compilation>
<customErrors mode="On" defaultRedirect="~/500">
<error statusCode="403" redirect="~/403"/>
<error statusCode="404" redirect="~/404"/>
</customErrors>
<!-- Authentication (Gemini possible modes are Forms and Windows) -->
<authentication mode="Forms">
<forms name=".Gemini650" loginUrl="~/account/login" timeout="2880" cookieless="UseCookies"/>
</authentication>
<pages validateRequest="false">
<namespaces>
<add namespace="System.Web.Helpers"/>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Web.WebPages"/>
</namespaces>
</pages>
<sessionState mode="InProc"/>
<httpHandlers>
<add verb="POST,GET,HEAD" path="errors.axd" type="Countersoft.Gemini.Infrastructure.GeminiErrorLogPageFactory, Countersoft.Gemini"/>
</httpHandlers>
<httpModules>
<add name="NHibernateModule" type="Countersoft.Foundation.Web.NHibernateModule"/>
<add name="BanModule" type="Countersoft.Gemini.Infrastructure.BanModule"/>
<add name="AuthenticationModule" type="Countersoft.Gemini.Infrastructure.AuthenticationModule"/>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
<!--add name="Offline" type="Countersoft.Gemini.Infrastructure.OfflineModule" /-->
</httpModules>
<httpRuntime executionTimeout="90" maxRequestLength="44096" useFullyQualifiedRedirectUrl="false" requestValidationMode="2.0" requestPathInvalidCharacters="" relaxedUrlToFileSystemMapping="true"/>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<remove name="BanModule"/>
<remove name="AuthenticationModule"/>
<remove name="ErrorHandler"/>
<remove name="Offline"/>
<add name="NHibernateModule" type="Countersoft.Foundation.Web.NHibernateModule"/>
<add name="BanModule" type="Countersoft.Gemini.Infrastructure.BanModule"/>
<add name="AuthenticationModule" type="Countersoft.Gemini.Infrastructure.AuthenticationModule"/>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
<!--add name="Offline" type="Countersoft.Gemini.Infrastructure.OfflineModule" /-->
<add name="YSlowHttpModule" type="WebModule.YSlowHttpModule, WebModule"/>
</modules>
<!--caching>
<profiles>
<clear />
<add extension=".css" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="24:00:00" />
<add extension=".js" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="24:00:00" />
<add extension=".jpg" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="24:00:00" />
<add extension=".gif" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="24:00:00" />
<add extension=".png" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="24:00:00" />
</profiles>
</caching>
<urlCompression doDynamicCompression="false" />
<staticContent>
<clientCache httpExpires="Sat, 01 Sep 2012 15:00:00 GMT" cacheControlMode="UseExpires" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
</staticContent-->
<staticContent>
<clientCache cacheControlMaxAge="3.00:00:00" cacheControlMode="UseMaxAge"/>
<remove fileExtension=".woff"/>
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
</staticContent>
<handlers>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
<remove name="Elmah"/>
<add name="ErrorLog" verb="POST,GET,HEAD" path="errors.axd" type="Countersoft.Gemini.Infrastructure.GeminiErrorLogPageFactory, Countersoft.Gemini"/>
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0"/>
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/>
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0"/>
<add name="GeminiApiURIs-ISAPI-Integrated-4.0" path="/api/*" verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
</handlers>
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=Edge"/>
</customHeaders>
</httpProtocol>
<httpErrors errorMode="Custom" existingResponse="PassThrough">
<remove statusCode="404"/>
<remove statusCode="403"/>
<remove statusCode="500"/>
<error statusCode="404" responseMode="ExecuteURL" path="/404"/>
<error statusCode="403" responseMode="ExecuteURL" path="/403"/>
<error statusCode="500" responseMode="ExecuteURL" path="/500"/>
</httpErrors>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="44000000"/>
</requestFiltering>
</security>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Countersoft.Gemini" publicKeyToken="7d1cd24c5b90fda4"/>
<bindingRedirect oldVersion="1.0.0.0-6.4.2.4416" newVersion="6.5.0.4501"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Countersoft.Gemini.Extensibility" publicKeyToken="7d1cd24c5b90fda4"/>
<bindingRedirect oldVersion="1.0.0.0-6.4.2.4416" newVersion="6.5.0.4501"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Countersoft.Gemini.Commons" publicKeyToken="7d1cd24c5b90fda4"/>
<bindingRedirect oldVersion="1.0.0.0-6.4.2.4416" newVersion="6.5.0.4501"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Countersoft.Gemini.Contracts" publicKeyToken="7d1cd24c5b90fda4"/>
<bindingRedirect oldVersion="1.0.0.0-6.4.2.4416" newVersion="6.5.0.4501"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Countersoft.Gemini.Business" publicKeyToken="7d1cd24c5b90fda4"/>
<bindingRedirect oldVersion="1.0.0.0-6.4.2.4416" newVersion="6.5.0.4501"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Countersoft.Gemini.Mailer" publicKeyToken="7d1cd24c5b90fda4"/>
<bindingRedirect oldVersion="1.0.0.0-6.4.2.4416" newVersion="6.5.0.4501"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="3aeec8c590ff36f5" culture="neutral"/>
<bindingRedirect oldVersion="1.2.10.0" newVersion="1.2.10.1"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="MailBee.NET.4" publicKeyToken="cd85b70fb26f9fc1" culture="neutral"/>
<bindingRedirect oldVersion="1.0.0.0-7.3.4.388" newVersion="8.0.4.428"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>