Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services/Web.config @ 2771

Last change on this file since 2771 was 2771, checked in by gkronber, 14 years ago

Implemented and tested rudimentary WCF service interface on top of the Linq2Sql data access layer. #860

File size: 8.4 KB
Line 
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="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
13      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
14        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
15        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
16          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
17          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
18          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
19          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
20        </sectionGroup>
21      </sectionGroup>
22    </sectionGroup>
23  </configSections>
24  <appSettings/>
25  <connectionStrings/>
26  <system.web>
27    <!--
28            Set compilation debug="true" to insert debugging
29            symbols into the compiled page. Because this
30            affects performance, set this value to true only
31            during development.
32        -->
33    <compilation debug="true">
34      <assemblies>
35        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
36        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
37      </assemblies>
38    </compilation>
39    <!--
40            The <authentication> section enables configuration
41            of the security authentication mode used by
42            ASP.NET to identify an incoming user.
43        -->
44    <authentication mode="Windows"/>
45    <!--
46            The <customErrors> section enables configuration
47            of what to do if/when an unhandled error occurs
48            during the execution of a request. Specifically,
49            it enables developers to configure html error pages
50            to be displayed in place of a error stack trace.
51
52        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
53            <error statusCode="403" redirect="NoAccess.htm" />
54            <error statusCode="404" redirect="FileNotFound.htm" />
55        </customErrors>
56        -->
57    <pages>
58      <controls>
59        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
60      </controls>
61    </pages>
62    <httpHandlers>
63      <remove verb="*" path="*.asmx"/>
64      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
65      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
66      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
67    </httpHandlers>
68    <httpModules>
69      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
70    </httpModules>
71  </system.web>
72  <system.codedom>
73    <compilers>
74      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
75        <providerOption name="CompilerVersion" value="v3.5"/>
76        <providerOption name="WarnAsError" value="false"/>
77      </compiler>
78    </compilers>
79  </system.codedom>
80  <!--
81        The system.webServer section is required for running ASP.NET AJAX under Internet
82        Information Services 7.0.  It is not necessary for previous version of IIS.
83    -->
84  <system.webServer>
85    <validation validateIntegratedModeConfiguration="false"/>
86    <modules>
87      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
88    </modules>
89    <handlers>
90      <remove name="WebServiceHandlerFactory-Integrated"/>
91      <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"/>
92      <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"/>
93      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
94    </handlers>
95  </system.webServer>
96  <system.serviceModel>
97    <bindings>
98   <wsHttpBinding>
99    <binding name="DefaultWsBindingConfiguration">
100     <readerQuotas maxDepth="1000" maxStringContentLength="1000000"
101      maxArrayLength="1000" maxBytesPerRead="1000000" maxNameTableCharCount="1000" />
102    </binding>
103   </wsHttpBinding>
104   <mexHttpBinding>
105    <binding name="DefaultMexBindingConfiguration" />
106   </mexHttpBinding>
107  </bindings>
108  <services>
109   <service behaviorConfiguration="HeuristicLab.Services.UpdateBehavior"
110    name="HeuristicLab.Services.Update">
111    <endpoint address="" binding="wsHttpBinding" bindingConfiguration="DefaultWsBindingConfiguration"
112     contract="HeuristicLab.Services.IUpdate">
113     <identity>
114      <dns value="localhost" />
115     </identity>
116    </endpoint>
117    <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexBindingConfiguration"
118     contract="IMetadataExchange" />
119   </service>
120   <service behaviorConfiguration="HeuristicLab.Services.AdminBehavior"
121    name="HeuristicLab.Services.Admin">
122    <endpoint address="" binding="wsHttpBinding" bindingConfiguration="DefaultWsBindingConfiguration"
123     contract="HeuristicLab.Services.IAdmin">
124     <identity>
125      <dns value="localhost" />
126     </identity>
127    </endpoint>
128    <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexBindingConfiguration"
129     contract="IMetadataExchange" />
130   </service>
131  </services>
132    <behaviors>
133   <serviceBehaviors>
134    <behavior name="HeuristicLab.Services.UpdateBehavior">
135     <serviceMetadata httpGetEnabled="true" />
136     <serviceDebug includeExceptionDetailInFaults="false" />
137    </behavior>
138    <behavior name="HeuristicLab.Services.AdminBehavior">
139     <serviceMetadata httpGetEnabled="true" />
140     <serviceDebug includeExceptionDetailInFaults="false" />
141    </behavior>
142   </serviceBehaviors>
143  </behaviors>
144  </system.serviceModel>
145</configuration>
Note: See TracBrowser for help on using the repository browser.