This contains the service section where we define the service name the endpoint section what kind of communication we will provide while transfering data from client to server
<behaviors>
<serviceBehaviors>
<behavior name="DemoAPI.ServiceBehavior">
<!-- To avoid disclosing metadata information,
set the value below to false before deployment -->
<serviceMetadata httpGetEnabled="True"/>
<!-- To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="True" />
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="webBehavior">
<webHttp defaultOutgoingResponseFormat="Json" />
</behavior>
</endpointBehaviors>
</behaviors>
This is the behaviour section that includes metadata settings which needs to be defined for accessing and viewing properties associated with this service
0 Comment(s)