[4476] | 1 | <?xml version="1.0"?>
|
---|
| 2 | <!--
|
---|
| 3 | Note: As an alternative to hand editing this file you can use the
|
---|
| 4 | web admin tool to configure settings for your application. Use
|
---|
| 5 | the Website->Asp.Net Configuration option in Visual Studio.
|
---|
| 6 | A full list of settings and comments can be found in
|
---|
| 7 | machine.config.comments usually located in
|
---|
| 8 | \Windows\Microsoft.Net\Framework\v2.x\Config
|
---|
| 9 | -->
|
---|
| 10 | <configuration>
|
---|
| 11 | <configSections>
|
---|
| 12 | <sectionGroup name="compositeWeb">
|
---|
| 13 | <section name="modules" type="Microsoft.Practices.CompositeWeb.Configuration.ModulesConfigurationSection, Microsoft.Practices.CompositeWeb"/>
|
---|
| 14 | <section name="authorization" type="Microsoft.Practices.CompositeWeb.Configuration.AuthorizationConfigurationSection, Microsoft.Practices.CompositeWeb"/>
|
---|
| 15 | </sectionGroup>
|
---|
| 16 | <section name="securityConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Security.Configuration.SecuritySettings, Microsoft.Practices.EnterpriseLibrary.Security, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
---|
| 17 | <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
---|
| 18 | <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
---|
| 19 | </configSections>
|
---|
| 20 | <location path="LoginForm.aspx">
|
---|
[4572] | 21 | <system.web>
|
---|
[4476] | 22 | <authorization>
|
---|
| 23 | <allow users="*"/>
|
---|
| 24 | </authorization>
|
---|
| 25 | </system.web>
|
---|
| 26 | </location>
|
---|
| 27 | <location path="Default.aspx">
|
---|
| 28 | <system.web>
|
---|
| 29 | <authorization>
|
---|
| 30 | <allow users="*"/>
|
---|
| 31 | </authorization>
|
---|
| 32 | </system.web>
|
---|
| 33 | </location>
|
---|
| 34 | <appSettings/>
|
---|
[4585] | 35 |
|
---|
| 36 | <!--Implemented-->
|
---|
| 37 | <connectionStrings>
|
---|
| 38 | <add name="HeuristicLab.Authentication"
|
---|
| 39 | connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
|
---|
| 40 | </connectionStrings>
|
---|
| 41 | <!--ImplementedEND-->
|
---|
| 42 |
|
---|
[4476] | 43 | <compositeWeb>
|
---|
| 44 | <modules>
|
---|
| 45 | <module name="Shell" assemblyName="Shell" virtualPath="~/"/>
|
---|
| 46 | </modules>
|
---|
| 47 | </compositeWeb>
|
---|
| 48 | <securityConfiguration defaultAuthorizationInstance="RuleProvider" defaultSecurityCacheInstance="">
|
---|
| 49 | <authorizationProviders>
|
---|
| 50 | <add type="Microsoft.Practices.EnterpriseLibrary.Security.AuthorizationRuleProvider, Microsoft.Practices.EnterpriseLibrary.Security, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="RuleProvider">
|
---|
| 51 | <rules>
|
---|
| 52 | <!-- Add your own rules here:
|
---|
| 53 | e.g.:
|
---|
| 54 | <add expression="R:Customer" name="AllowViewAccountsSummary"/>
|
---|
| 55 | -->
|
---|
| 56 | </rules>
|
---|
| 57 | </add>
|
---|
| 58 | </authorizationProviders>
|
---|
| 59 | </securityConfiguration>
|
---|
| 60 | <loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="General" logWarningsWhenNoCategoriesMatch="true">
|
---|
| 61 | <listeners>
|
---|
| 62 | <add source="Enterprise Library Logging" formatter="Text Formatter" log="Application" machineName="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="Formatted EventLog TraceListener"/>
|
---|
| 63 | </listeners>
|
---|
| 64 | <formatters>
|
---|
| 65 | <add template="Timestamp: {timestamp}
Message: {message}
Category: {category}
Priority: {priority}
EventId: {eventid}
Severity: {severity}
Title:{title}
Machine: {machine}
Application Domain: {appDomain}
Process Id: {processId}
Process Name: {processName}
Win32 Thread Id: {win32ThreadId}
Thread Name: {threadName}
Extended Properties: {dictionary({key} - {value}
)}" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="Text Formatter"/>
|
---|
| 66 | </formatters>
|
---|
| 67 | <categorySources>
|
---|
| 68 | <add switchValue="All" name="General">
|
---|
| 69 | <listeners>
|
---|
| 70 | <add name="Formatted EventLog TraceListener"/>
|
---|
| 71 | </listeners>
|
---|
| 72 | </add>
|
---|
| 73 | </categorySources>
|
---|
| 74 | <specialSources>
|
---|
| 75 | <allEvents switchValue="All" name="All Events"/>
|
---|
| 76 | <notProcessed switchValue="All" name="Unprocessed Category"/>
|
---|
| 77 | <errors switchValue="All" name="Logging Errors & Warnings">
|
---|
| 78 | <listeners>
|
---|
| 79 | <add name="Formatted EventLog TraceListener"/>
|
---|
| 80 | </listeners>
|
---|
| 81 | </errors>
|
---|
| 82 | </specialSources>
|
---|
| 83 | </loggingConfiguration>
|
---|
| 84 | <exceptionHandling>
|
---|
| 85 | <exceptionPolicies>
|
---|
| 86 | <add name="GlobalExceptionLogger">
|
---|
| 87 | <exceptionTypes>
|
---|
| 88 | <add type="System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" postHandlingAction="None" name="Exception">
|
---|
| 89 | <exceptionHandlers>
|
---|
| 90 | <add logCategory="General" eventId="100" severity="Error" title="Enterprise Library Exception Handling" formatterType="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" priority="0" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="Logging Handler"/>
|
---|
| 91 | </exceptionHandlers>
|
---|
| 92 | </add>
|
---|
| 93 | </exceptionTypes>
|
---|
| 94 | </add>
|
---|
| 95 | </exceptionPolicies>
|
---|
| 96 | </exceptionHandling>
|
---|
| 97 | <system.web>
|
---|
[4585] | 98 |
|
---|
[4476] | 99 | <!--
|
---|
| 100 | Set compilation debug="true" to insert debugging
|
---|
| 101 | symbols into the compiled page. Because this
|
---|
| 102 | affects performance, set this value to true only
|
---|
| 103 | during development.
|
---|
| 104 | -->
|
---|
| 105 | <compilation debug="true" targetFramework="4.0">
|
---|
| 106 | </compilation>
|
---|
| 107 | <!--
|
---|
| 108 | The <authentication> section enables configuration
|
---|
| 109 | of the security authentication mode used by
|
---|
| 110 | ASP.NET to identify an incoming user.
|
---|
| 111 | -->
|
---|
| 112 | <authorization>
|
---|
| 113 | <deny users="?"/>
|
---|
| 114 | </authorization>
|
---|
| 115 | <authentication mode="Forms">
|
---|
| 116 | <forms name="LoginForm" loginUrl="LoginForm.aspx"></forms>
|
---|
| 117 | </authentication>
|
---|
[4585] | 118 |
|
---|
| 119 | <!--Implemented-->
|
---|
| 120 | <membership defaultProvider="AspNetSqlMembershipProvider">
|
---|
| 121 | <providers>
|
---|
| 122 | <clear/>
|
---|
| 123 | <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
|
---|
| 124 | enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
|
---|
| 125 | maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
|
---|
| 126 | applicationName="HeuristicLab.Authentication" />
|
---|
| 127 | </providers>
|
---|
| 128 | </membership>
|
---|
| 129 |
|
---|
| 130 | <roleManager enabled="true">
|
---|
| 131 | <providers>
|
---|
| 132 | <clear/>
|
---|
| 133 | <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
|
---|
| 134 | </providers>
|
---|
| 135 | </roleManager>
|
---|
| 136 |
|
---|
| 137 | <!--ImplementedEND-->
|
---|
| 138 |
|
---|
| 139 |
|
---|
| 140 |
|
---|
[4476] | 141 | <!--
|
---|
| 142 | The <customErrors> section enables configuration
|
---|
| 143 | of what to do if/when an unhandled error occurs
|
---|
| 144 | during the execution of a request. Specifically,
|
---|
| 145 | it enables developers to configure html error pages
|
---|
| 146 | to be displayed in place of a error stack trace.
|
---|
| 147 | -->
|
---|
| 148 | <customErrors mode="RemoteOnly">
|
---|
| 149 | <error statusCode="403" redirect="~/Errors/AccessDenied.htm"/>
|
---|
| 150 | </customErrors>
|
---|
| 151 | <siteMap defaultProvider="DefaultSiteMapProvider" enabled="true">
|
---|
| 152 | <providers>
|
---|
| 153 | <add name="DefaultSiteMapProvider" type="Microsoft.Practices.CompositeWeb.Providers.ModuleSiteMapProvider, Microsoft.Practices.CompositeWeb" securityTrimmingEnabled="true"/>
|
---|
| 154 | </providers>
|
---|
| 155 | </siteMap>
|
---|
| 156 | <pages styleSheetTheme="Default">
|
---|
| 157 | <controls>
|
---|
| 158 | <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 159 | <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 160 | </controls>
|
---|
| 161 | </pages>
|
---|
| 162 | <httpHandlers>
|
---|
| 163 | <remove verb="*" path="*.asmx"/>
|
---|
| 164 | <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 165 | <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 166 | <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
|
---|
| 167 | </httpHandlers>
|
---|
| 168 | <httpModules>
|
---|
| 169 | <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 170 | <add name="WebClientAuthorizationModule" type="Microsoft.Practices.CompositeWeb.Authorization.WebClientAuthorizationModule, Microsoft.Practices.CompositeWeb"/>
|
---|
| 171 | <add name="ExceptionLoggerHttpModule" type="Microsoft.Practices.CompositeWeb.EnterpriseLibrary.ExceptionLogger, Microsoft.Practices.CompositeWeb.EnterpriseLibrary"/>
|
---|
| 172 | </httpModules>
|
---|
| 173 | </system.web>
|
---|
| 174 | <system.codedom>
|
---|
| 175 | <compilers>
|
---|
| 176 | <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
---|
| 177 | <providerOption name="CompilerVersion" value="v4.0"/>
|
---|
| 178 | <providerOption name="WarnAsError" value="false"/>
|
---|
| 179 | </compiler>
|
---|
| 180 | <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
---|
| 181 | <providerOption name="CompilerVersion" value="v4.0"/>
|
---|
| 182 | <providerOption name="OptionInfer" value="true"/>
|
---|
| 183 | <providerOption name="WarnAsError" value="false"/>
|
---|
| 184 | </compiler>
|
---|
| 185 | </compilers>
|
---|
| 186 | </system.codedom>
|
---|
| 187 | <!--
|
---|
| 188 | The system.webServer section is required for running ASP.NET AJAX under Internet
|
---|
| 189 | Information Services 7.0. It is not necessary for previous version of IIS.
|
---|
| 190 | -->
|
---|
| 191 | <system.webServer>
|
---|
| 192 | <validation validateIntegratedModeConfiguration="false"/>
|
---|
| 193 | <modules>
|
---|
| 194 | <remove name="ScriptModule"/>
|
---|
| 195 | <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 196 | </modules>
|
---|
| 197 | <handlers>
|
---|
| 198 | <remove name="WebServiceHandlerFactory-Integrated"/>
|
---|
| 199 | <remove name="ScriptHandlerFactory"/>
|
---|
| 200 | <remove name="ScriptHandlerFactoryAppServices"/>
|
---|
| 201 | <remove name="ScriptResource"/>
|
---|
| 202 | <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 203 | <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 204 | <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
---|
| 205 | </handlers>
|
---|
| 206 | </system.webServer>
|
---|
[4585] | 207 |
|
---|
| 208 |
|
---|
| 209 | <system.serviceModel>
|
---|
| 210 | <bindings>
|
---|
| 211 | <wsHttpBinding>
|
---|
| 212 | <binding name="DefaultWSHttpBinding">
|
---|
| 213 | <security mode="Message">
|
---|
| 214 | <message clientCredentialType="UserName" />
|
---|
| 215 | </security>
|
---|
| 216 | </binding>
|
---|
| 217 | </wsHttpBinding>
|
---|
| 218 |
|
---|
| 219 | <mexHttpBinding>
|
---|
| 220 | <binding name="DefaultMexBinding" />
|
---|
| 221 | </mexHttpBinding>
|
---|
| 222 | </bindings>
|
---|
| 223 |
|
---|
| 224 | <services>
|
---|
| 225 | <service behaviorConfiguration="DefaultBehavior" name="HeuristicLab.Services.DemoService.Service">
|
---|
| 226 | <clear />
|
---|
| 227 | <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWSHttpBinding"
|
---|
| 228 | contract="HeuristicLab.Services.DemoService.IService" listenUriMode="Explicit">
|
---|
| 229 | </endpoint>
|
---|
| 230 |
|
---|
| 231 | <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexBinding"
|
---|
| 232 | contract="IMetadataExchange" listenUriMode="Explicit">
|
---|
| 233 | </endpoint>
|
---|
| 234 | </service>
|
---|
| 235 | </services>
|
---|
| 236 |
|
---|
| 237 | <behaviors>
|
---|
| 238 | <serviceBehaviors>
|
---|
| 239 | <behavior name="DefaultBehavior">
|
---|
| 240 | <serviceMetadata httpGetEnabled="true" />
|
---|
| 241 | <serviceDebug includeExceptionDetailInFaults="true" />
|
---|
| 242 | <serviceAuthorization principalPermissionMode="UseAspNetRoles"
|
---|
| 243 | roleProviderName="AspNetSqlRoleProvider" />
|
---|
| 244 | <serviceCredentials>
|
---|
| 245 | <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
|
---|
| 246 | <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
|
---|
| 247 | membershipProviderName="AspNetSqlMembershipProvider" />
|
---|
| 248 | </serviceCredentials>
|
---|
| 249 | </behavior>
|
---|
| 250 | </serviceBehaviors>
|
---|
| 251 | </behaviors>
|
---|
| 252 | <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
|
---|
| 253 | </system.serviceModel>
|
---|
| 254 |
|
---|
| 255 | <system.webServer>
|
---|
| 256 | <modules runAllManagedModulesForAllRequests="true"/>
|
---|
| 257 | </system.webServer>
|
---|
[4476] | 258 | </configuration>
|
---|