Refactored the Kernel registration fluent interface to be more readable, better suppo...
[castle.git] / Facilities / Wcf / Castle.Facilities.WcfIntegration.Demo / Web.config
blob7daa24668c1ffff9d36726cb2fd0cf0b3f7b1b4b
1 <?xml version="1.0"?>
3 <configuration>
5 <appSettings/>
6 <connectionStrings/>
8 <system.serviceModel>
9 <bindings>
10 </bindings>
11 <client>
12 <endpoint address="http://localhost:27197/UsingWindsor.svc"
13 binding="basicHttpBinding"
14 contract="Castle.Facilities.WcfIntegration.Demo.UsingWindsorSvc.IAmUsingWindsor"
15 name="WSHttpBinding_IAmUsingWindsor">
16 </endpoint>
17 </client>
18 <services>
19 <!-- Before deployment, you should remove the returnFaults behavior configuration to avoid disclosing information in exception messages -->
20 <service name="Castle.Facilities.WcfIntegration.Demo.UsingWindsor"
21 behaviorConfiguration="returnFaults">
22 <endpoint
23 contract="Castle.Facilities.WcfIntegration.Demo.IAmUsingWindsor"
24 binding="basicHttpBinding"/>
25 </service>
26 </services>
27 <behaviors>
28 <serviceBehaviors>
29 <behavior name="returnFaults" >
30 <serviceDebug includeExceptionDetailInFaults="true" />
31 <serviceMetadata httpGetEnabled="true" />
32 </behavior>
33 </serviceBehaviors>
34 </behaviors>
35 </system.serviceModel>
37 <system.web>
38 <!--
39 Set compilation debug="true" to insert debugging
40 symbols into the compiled page. Because this
41 affects performance, set this value to true only
42 during development.
43 -->
44 <compilation debug="true" />
45 <!--
46 The <authentication> section enables configuration
47 of the security authentication mode used by
48 ASP.NET to identify an incoming user.
49 -->
50 <authentication mode="Windows" />
51 <!--
52 The <customErrors> section enables configuration
53 of what to do if/when an unhandled error occurs
54 during the execution of a request. Specifically,
55 it enables developers to configure html error pages
56 to be displayed in place of a error stack trace.
58 <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
59 <error statusCode="403" redirect="NoAccess.htm" />
60 <error statusCode="404" redirect="FileNotFound.htm" />
61 </customErrors>
62 -->
63 </system.web>
64 </configuration>