WCF 4.5 features: Simplified Generated Configuration Files

 

In this post we will discuss one of the most important feature of WCF 4.5. WCF 4.5 generates simplified configuration file at the client side. WCF 4.5 generates configuration file for basicHttpBinding as following,


 

 

To understand simplified configuration file in better way take an example, Before WCF4.5 when you were adding a service reference, at the client side WCF was creating service configuration file with all the default values for the attributes of the binding. In earlier version of WCF4.5 configuration file created at client side was as following. Below is the configuration file for service with wsHttpBinding.

 

Above I have taken an old configuration file and it contains many other attributes along with default attributes. However point I am trying to make that in prior version of WCF 4.5 ,automatically created configuration file at client side contained default  attribute with values of binding by default. Whereas in WCF4.5  automatically created configuration file at client side is much simplified and contains only the binding name as shown in the image below, 

In WCF 4.5 generated configuration file at client side is very much simplified and does not contain any default value of the binding attribute.

 

In this way you can notice simplified configuration file at the client side. In later post we will discuss another feature of WCF 4.5. I hope you find this post useful. Thanks for reading.

 

2 thoughts on “WCF 4.5 features: Simplified Generated Configuration Files

  1. Pingback: Dew Drop – September 24, 2012 (#1,407) | Alvin Ashcraft's Morning Dew

  2. Pingback: Distributed Weekly 174 — Scott Banwart's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s