Sunday, 27 March 2022

using wsHttpBinding in WCF

<System.ServiceModel>
    <bindings>
        <wsHttpBinding>
            <binding name="wsHttpBinding"
                     openTimeout="10:01:00"
                     receiveTimeout="10:01:00"
                     sendTimeout="10:01:00"
                     maxBufferPoolSize="2147483646"
                     maxReceivedMessageSize="2147483646" />
        </wsHttpBinding>
    </bindings>
    <Services>
        <service behaviorConfiguration="BehaviorRelease" name="Halfpenny.InternalService.MasterService">
            <clear />
            <endpoint address="/ws" binding="wsHttpBinding"
              bindingConfiguration="wsHttpBinding" name="wsHttpBinding" contract="Halfpenny.Service.Contract.IMasterService" />
            <host>
                <baseAddresses>
                    <add baseAddress="http://localhost:59429/MasterService/" />
                </baseAddresses>
            </host>
        </service>
    </Services>
</System.ServiceModel>

No comments:

Post a Comment

Search This Blog

Creating your first "Alexa" Skill

Index What is Alexa What is Alexa Skill? Why is it required when Alexa already equipped with voice assistant? Dev...