12 <endpoint address=
"http://localhost:27197/UsingWindsor.svc"
13 binding=
"basicHttpBinding"
14 contract=
"Castle.Facilities.WcfIntegration.Demo.UsingWindsorSvc.IAmUsingWindsor"
15 name=
"WSHttpBinding_IAmUsingWindsor">
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">
23 contract=
"Castle.Facilities.WcfIntegration.Demo.IAmUsingWindsor"
24 binding=
"basicHttpBinding"/>
29 <behavior name=
"returnFaults" >
30 <serviceDebug includeExceptionDetailInFaults=
"true" />
31 <serviceMetadata httpGetEnabled=
"true" />
35 </system.serviceModel
>
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
44 <compilation debug=
"true" />
46 The <authentication> section enables configuration
47 of the security authentication mode used by
48 ASP.NET to identify an incoming user.
50 <authentication mode=
"Windows" />
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" />