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
| <system.serviceModel>
<services>
<service name="Customizer.Services.AppCustomService" behaviorConfiguration="ServiceBehavior">
<host>
<baseAddresses>
<add baseAddress="http://localhost:1993/AppCustomService" />
</baseAddresses>
</host>
<endpoint address="" binding="wsHttpBinding" contract="Customizer.Interfaces.IAppCustomService"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<!-- required for JSON POST -->
<endpoint address="ajax" behaviorConfiguration="AjaxEndpointBehavior" binding="webHttpBinding" contract="Customizer.Interfaces.IAppCustomService" />
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="AjaxEndpointBehavior">
<!-- required for JSON POST -->
<enableWebScript />
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel> |