<system.webserver> <modules runallmanagedmodulesforallrequests="true"> <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0,Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </modules> </system.webserver> <system.servicemodel> <services> <service name="VoipRest.Service1"> <endpoint address="JSON" binding="webHttpBinding" behaviorconfiguration="JSONBehavior" bindingnamespace="http://plintron.com/" contract="VoipRest.IService" name="REST" /> <endpoint address="SOAP" binding="basicHttpBinding" bindingnamespace="http://plintron.com/" contract="VoipRest.Iservice2" name="SOAP" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> </service> </services> <bindings> <basichttpbinding> <binding name="" maxbufferpoolsize="2147483647" maxreceivedmessagesize="2147483647" transfermode="Streamed" opentimeout="00:25:00" closetimeout="00:25:00" sendtimeout="00:25:00" receivetimeout="00:25:00" maxbuffersize="2147483647"> <readerquotas maxdepth="64" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647" /> <!--<security mode="Transport" />--> <security mode="None" /> </binding> </basichttpbinding> <webhttpbinding> <binding name="" maxbufferpoolsize="2147483647" maxreceivedmessagesize="2147483647" transfermode="Streamed" opentimeout="00:25:00" closetimeout="00:25:00" sendtimeout="00:25:00" receivetimeout="00:25:00" maxbuffersize="2147483647"> <readerquotas maxdepth="64" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647" /> <!--<security mode="Transport" />--> <security mode="None" /> </binding> </webhttpbinding> </bindings> <behaviors> <endpointbehaviors> <behavior name="JSONBehavior"> <webhttp /> </behavior> </endpointbehaviors> <servicebehaviors> <behavior name=""> <!--<servicemetadata httpgetenabled="false" httpsgetenabled="true" />--> <servicemetadata httpgetenabled="true" httpsgetenabled="false" /> <servicedebug includeexceptiondetailinfaults="true" /> </behavior> </servicebehaviors> </behaviors> <servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true" /> <standardendpoints> <webhttpendpoint> <!-- Configure the WCF REST service base address via the global.asax.cs file and the default endpoint via the attributes on the <standardendpoint> element below --> <standardendpoint name="" helpenabled="true" automaticformatselectionenabled="false" defaultoutgoingresponseformat="Json" maxbuffersize="2147483647" maxreceivedmessagesize="2147483647" /> </standardendpoint></webhttpendpoint> </standardendpoints> </system.servicemodel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)