Looking for the site RSS feed? Here it is!

WCF Relative Binding Speed Demo Updated

Wednesday, February 21, 2007

Last year I released a simple demo showing the relative binding speeds of the various native bindings in WCF. Since that time, WCF the syntax has changed a bit making my original code obsolete. Now I'm posting the the source code based on the final version of WCF.

Here are the changes I made (most are simply to update):

  • The client proxies changed from "Proxy" to "Client"
  • <service type="..."> changed to <service name="...">
  • The 'mex' binding was added.
  • ServiceEndpoint was moved to System.ServiceModel.Description
  • On the service interface, the ServiceContract attribute ProtectionLevel was set to ProtectionLevel.None so that security is not required, thus giving a more accurate benchmark.

You can use these as a bases for you own services, but you may also wish to look at my XML Assembly Compiler which has a WCF service template. You can simply select the template, perhaps design a few types and interfaces, and let it create your entire WCF project for you.

Links

Comments (1)

Adi

Pingback from http://dotmad.blogspot.com/2007/02/wcf-relative-binding-speed-demo.html

Math Problem: (type the answer in the box)

Notice: all comments are subject to moderation.

Creative Commons License
This work is licensed under a Creative Commons Attribution 2.5 License.

Powered by the Minima Blog Engine 3.1, NetFXHarmonics Prominax, and Squid Micro-Blogging library.

Built on Themelia Framework 2.0

Developed using NetFXHarmonics DevServer 1.0.

Mini-icons are part of the Silk Icons set of icons at famfamfam.com