Click here to Skip to main content
15,886,067 members
Articles / Operating Systems / Windows

Introduction to Validation Application Block integration with Windows Communication Foundation (WCF)

Rate me:
Please Sign up or sign in to vote.
4.28/5 (12 votes)
5 May 20077 min read 92.5K   953   43  
An article on Validation Application Block integration with Windows Communication Foundation (WCF)
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="BasicHttpBinding_IOrdersService" closeTimeout="00:01:00"
                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                    allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
                    useDefaultWebProxy="true">
                    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                        maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                    <security mode="None">
                        <transport clientCredentialType="None" proxyCredentialType="None"
                            realm="" />
                        <message clientCredentialType="UserName" algorithmSuite="Default" />
                    </security>
                </binding>
            </basicHttpBinding>
        </bindings>
        <client>
            <endpoint address="http://localhost:8080/OrdersService" binding="basicHttpBinding"
                bindingConfiguration="BasicHttpBinding_IOrdersService" contract="Bursteg.Samples.WCFIntegration.Client.ServicesProxy.IOrdersService"
                name="BasicHttpBinding_IOrdersService" />
        </client>
    </system.serviceModel>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Israel Israel
Guy Burstein is a senior consultant and lecturer at Advantech Technologies – Microsoft Division, specializing in architecture, design and development of distributed applications.
He is a presenter at conferences and user-group meetings and has delivered seminars, courses and hands-on training for developing distributed applications using latest Microsoft tools and technologies.

Comments and Discussions