-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb.config
157 lines (136 loc) · 9.4 KB
/
web.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT EDIT THE WEB.CONFIG DIRECTLY!
INSTEAD EDIT THE FILE WEB.TEMPLATE.CONFIG AND ADD TRANSFORMATIONS FOR WEBSITE SPECIFIC DATA TO THE FILES
WEB.($CONFIGURATION).CONFIG
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
<sectionGroup name="smarthouse.web" type="Smarthouse.Web.Configuration.SmarthouseWebSectionGroup, Smarthouse.Core">
<section name="application" type="Smarthouse.Web.Configuration.ApplicationSection, Smarthouse.Core" allowDefinition="MachineToApplication" />
<section name="globalization" type="Smarthouse.Web.Configuration.GlobalizationSection, Smarthouse.Core" allowDefinition="MachineToApplication"/>
<section name="contentManagement" type="Smarthouse.Web.Configuration.ContentManagementSection, Smarthouse.Core" allowDefinition="MachineToApplication"/>
<section name="cluster" type="Smarthouse.Web.Configuration.ClusterSection, Smarthouse.Core" allowDefinition="MachineToApplication" />
</sectionGroup>
<sectionGroup name="smarthouse.diagnostics" type="Smarthouse.Configuration.SmarthouseDiagnosticsSectionGroup, Smarthouse.Core">
<section name="logger" type="Smarthouse.Configuration.LoggerSection, Smarthouse.Core" allowDefinition="MachineToApplication" />
<section name="httpExceptionLogger" type="Smarthouse.Configuration.HttpExceptionLoggerSection, Smarthouse.Core" allowDefinition="MachineToApplication" />
</sectionGroup>
</configSections>
<connectionStrings>
<add name="backend" connectionString="Server=tcp:SQL2;Database=smarthouse_playground;User ID=smarthouse_playground_de;Password=q3(a4CpD\KOi" providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<compilation>
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
</compilation>
<authentication mode="Forms" />
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</controls>
</pages>
<!-- Changing the machine key changes the way of encryption of passwords! -->
<machineKey
validationKey="C7420193D319EF6F27030A925119274A657DA96492335E4EE08C5DD883073D64BBB9E332A221A9B803536743C8A3F2F1340565F1E759BA29BB482761D7138240"
decryptionKey="E6FD95E4B713B5E2DCD8C53F4DB575F77461615247BE6E1CBCF0A1C09C0B0187"
validation="SHA1"
decryption="AES" />
<membership defaultProvider="SmarthouseMembershipProvider">
<providers>
<add name="SmarthouseMembershipProvider" type="Smarthouse.Web.Security.MembershipProvider, Smarthouse.Core" applicationName="Playground" passwordFormat="Hashed" requiresQuestionAndAnswer="false" />
</providers>
</membership>
<roleManager defaultProvider="SmarthouseRoleProvider" enabled="true">
<providers>
<add name="SmarthouseRoleProvider" type="Smarthouse.Web.Security.RoleProvider, Smarthouse.Core" applicationName="Playground" />
</providers>
</roleManager>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" >
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="SmarthouseCoreModule" preCondition="managedHandler" type="Smarthouse.Web.CoreModule, Smarthouse.Core" />
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated" />
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="UrlRoutingHandler" verb="*" path="UrlRouting.axd" preCondition="integratedMode" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
</system.webServer>
<system.net>
<mailSettings>
<smtp from="[email protected]" deliveryMethod="Network">
<network host="exchange2"/>
</smtp>
</mailSettings>
</system.net>
<!-- This can be removed if no ASP.NET 2.0 Assembly is used/referenced. -->
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<smarthouse.web>
<application connectionStringName="backend" />
<!-- The webApplicationAssembly will be searched for master pages. -->
<!-- For initial setup the websiteGuid can any guid, but needs to be changed
as soon as the correct website guid is available. -->
<contentManagement webApplicationAssembly="Smarthouse.Playground.Website" websiteGuid="e9e30626-05ed-461a-a85d-d88f9e80b139">
<!-- You can switch on the content delivery networks here: -->
<contentDeliveryNetworks enableGoogle="false" enableMicrosoft="false" enableTelerik="false" />
</contentManagement>
<!-- The order of the application names overwrite each other from left to right. -->
<globalization>
<translation applicationName="Playground,DE" />
<format applicationName="Playground,DE" />
</globalization>
<!-- Classify one instance as a cluster to allow communcation between them. -->
<cluster guid="a6add9fd-39a6-4cd5-a6eb-ae53506d8d3b" />
</smarthouse.web>
<smarthouse.diagnostics>
<logger verbosity="Error" name="Playground_DE">
<targets>
<add name="Trace" type="Smarthouse.Diagnostics.TraceLoggerTarget, Smarthouse.Core" enabled="true"/>
</targets>
</logger>
<httpExceptionLogger>
<notifications>
<!--<add httpStatusCode="500" recipients="[email protected]"/>-->
<add httpStatusCode="500" recipients="[email protected]" />
</notifications>
</httpExceptionLogger>
</smarthouse.diagnostics>
</configuration>