DCSIMG
What’s new in WCF 4.5? let’s start with WCF configuration - Ido Flatow's Blog Veni Vidi Scripsi

Ido Flatow's Blog

Veni Vidi Scripsi

News

Have you heard me speak?
Powered
<style type='text/css' media='screen' id='sm_css'> #smix {overflow: visible;height: auto;border-radius: 10px;max-width: 250px;background-color: #323232;text-align: left;font-size: 12px;line-height: 16px;font-family:'Lucida Sans Unicode','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;} #smix a {color: #0056CC;text-decoration: none;} #smix .sm_head {color: #fff; line-height: 1em;font-size: 1.4em;padding: 10px;color: #fff;} #smix .sm_lanyard_wrapper {background-color: #fff;;clear: both;width: 97%;margin: 0 auto;margin-bottom: 0px;} #smix .sm_lanyard_content {padding: 7px;}#smix button.sm_rec, #smix a.sm_rec, #smix input[type=submit].sm_rec { padding: 6px 10px; -webkit-border-radius: 2px 2px;-moz-border-radius: 2px; border-radius: 2px; border: solid 1px rgb(153, 153, 153); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 255, 255)), to(rgb(221, 221, 221))); color: #333; text-decoration: none; cursor: pointer; display: inline-block; text-align: center; text-shadow: 0px 1px 1px rgba(255,255,255,1); line-height: 1; }#smix .sm_rec:hover { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(248, 248, 248)), to(rgb(221, 221, 221))); }#smix .sm_rec:active { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(204, 204, 204)), to(rgb(221, 221, 221))); }#smix .sm_rec.medium { padding: 3px 7px; font-size: 13px; }#smix .sm_rec span.icon.thumbs_up {background-position: 0px 36px;vertical-align: text-top;display: inline-block;margin-right: 4px;height: 18px;width: 16px;background-image: url(http://speakermix.com/images/new/thumbsold.png);}#smix .sm_rec:hover span.icon.thumbs_up {background-position: 0px 18px;} #smix .sm_events {padding:2px 0px 4px 0px;} #smix .sm_section {font-size: 10px; border-bottom: 1px solid silver; margin-bottom: 6px;} #smix .sm_subline {font-size:120%;margin-top:4px;font-weight:bold} #smix .powered {text-align: right} #smix .powered img {margin: 7px} </style>
Sela Technology Center

Advertisement

What’s new in WCF 4.5? let’s start with WCF configuration

This week the new version of .NET was revealed at BUILD – .NET 4.5, and with it also the new version of WCF – WCF 4.5

There are many new features of WCF 4.5, most of them intended to make your life easier when configuring and hosting services, and some other to support features that we all waited for, such as UDP transport support and compressed binary encoding.

So what will be the first new feature to explore? why configuration of course, the thing that troubles all WCF developers.

Ever had the following scenario? – you create a service, expose it through an HTTP or a TCP endpoint without any binding configuration changes, but when you add a service reference to it from a client application, you get a whole bunch of binding configuration which is basically the default configuration.

At first, you delete all of the extra configuration, hoping it won’t be created again when you update the service reference (yeah, right), but after a while, you just leave it as it is, giving up in advance.

No more! One of the new features of WCF 4.5 is simplifying the generated configuration file in clients. From now on, the generated configuration will only include non-default binding configuration.

For example, this is the configuration resulted when adding a service reference to a service that uses wsHttpBinding:

image

This is the same configuration generated in .NET 4.5:

image

One more step to ease to process of configuring clients and services.

This is just the first of a series of posts I will publish on the new features of WCF 4.5, so stay tuned. Follow me on Twitter (@IdoFlatow) to get updates as soon as a new posts are published.

The RTM of .NET 4.5 is still to come, and I assume many of you are still adjusting to WCF 4. If you want to learn more about the new features of WCF 4, come to my session at Visual Studio Live! 2011 in Redmond (October 17-21).

Also, if you are an MCT and reside in the US, come hear my session about WCF 4 at the MCT 2011 North-America Summit that will be held in San-Francisco (October 19-21).

Comments

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the second post in the WCF 4.5 series, and this time we’ll talk about WSDL files. Previous posts

# September 17, 2011 7:04 PM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the third post in the WCF 4.5 series, and we’re still in the subject of configuration, but this

# September 19, 2011 10:42 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the fourth post in the WCF 4.5 series, and a direct addition to the previous post, since I neglected

# September 25, 2011 4:41 PM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the eighth post in the WCF 4.5 series. This post continues the previous posts on web-hosting

# October 31, 2011 11:46 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

Today I delivered a half-day talk about WCF on the following subjects: The new features of WCF 4.5 We

# November 28, 2011 12:35 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

If you’ve been wondering where I disappeared to in the last couple of weeks, and if you are still waiting

# January 16, 2012 1:17 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

As promised in my previous post , I’m continuing my mission to inform you of new changes in WCF 4.5.

# January 17, 2012 10:36 PM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

As promised in my previous post , I’m continuing my mission to inform you of new changes in WCF 4.5.

# January 17, 2012 10:37 PM

Alexander Belotserkovskiy said:

Hello.

Can i translate your posts about WCF into russian language and post it on my blog http://hpcru.wordpress.com ?

# January 25, 2012 6:48 PM

Ido Flatow said:

Hi Alexander,

Sure, no problem, just remember to place a link to the original blog posts.

# January 25, 2012 8:02 PM

[??????????????] 1. ?????? ???????????? ?? WCF 4.5? ???????????? ?? ???????????????????????? WCF. [4] « ahriman' lair said:

Pingback from  [??????????????] 1. ?????? ???????????? ?? WCF 4.5? ???????????? ?? ???????????????????????? WCF. [4] &laquo; ahriman&#039; lair

# January 29, 2012 7:08 AM

[??????????????] 1. ?????? ???????????? ?? WCF 4.5? ???????????? ?? ???????????????????????? WCF [3] « ahriman' lair said:

Pingback from  [??????????????] 1. ?????? ???????????? ?? WCF 4.5? ???????????? ?? ???????????????????????? WCF [3] &laquo; ahriman&#039; lair

# January 29, 2012 8:14 AM

Alexander Belotserkovskiy said:

Hello,

There are russian translations:

http://bit.ly/zhszlM

# February 7, 2012 2:32 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the tenth post in the WCF 4.5 series. I’ve started this series of posts 4 months ago when .NET

# February 15, 2012 10:50 PM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the 11th post in the WCF 4.5 series. The previous post was about the new UDP transport support

# March 1, 2012 4:12 PM

Chestnut said:

Wow, awesome blog layout! How lengthy have you been running a blog for?

you make blogging glance easy. The total look of your website is great, let alone the content!

# September 10, 2012 11:00 AM

Boatman said:

For the reason that the admin of this site is working, no uncertainty very shortly it will

be famous, due to its feature contents.

# September 17, 2012 8:15 PM

Fort said:

This is my first time visit at here and i am truly pleassant

to read all at one place.

# September 22, 2012 5:44 AM

WCF???ASP.NET Web API????????????????????? | ?????????????? said:

Pingback from  WCF???ASP.NET Web API????????????????????? | ??????????????

# September 27, 2012 10:26 PM

Mackay said:

I go on hand really, I do believe! Would probably this kind

of turn out to be probable to obtain your site converted inside German?

Uk can be our subsequent dialect.

# November 2, 2012 9:15 PM

WCF???ASP.NET Web API????????????????????? « ???????????????????????????????????? said:

Pingback from  WCF???ASP.NET Web API????????????????????? &laquo;  ????????????????????????????????????

# November 19, 2012 12:37 AM

Peltier said:

Hello, I check your new stuff like every week. Your writing style is

witty, keep up the good work!

# February 20, 2013 1:21 AM

Lamar said:

This post will help the internet visitors for building

up new webpage or even a blog from start to end.

# March 2, 2013 7:06 PM

Tisdale said:

hello!,I really like your writing very much! share we be in contact extra about your article on AOL?

I need an expert in this house to resolve my problem.

Maybe that's you! Having a look forward to see you.

# March 17, 2013 12:36 PM

Bey said:

No matter if some one searches for his required thing, so he/she

needs to be available that in detail, therefore that thing is maintained over here.

# March 18, 2013 3:38 PM

Nagel said:

Excellent blog here! Additionally your web site rather a lot

up fast! What web host are you the use of? Can I am getting your affiliate link for

your host? I want my website loaded up as quickly as yours lol

# March 19, 2013 12:03 PM

Hale said:

I always emailed this weblog post page to all my friends,

for the reason that if like to read it afterward my contacts will too.

# April 2, 2013 7:34 PM

Alves said:

It's very simple to find out any topic on web as compared to textbooks, as I found this paragraph at this site.

# April 19, 2013 6:08 AM

Rooney said:

It's in fact very complicated in this full of activity life to listen news on TV, so I simply use the web for that reason, and take the newest news.

# April 19, 2013 10:17 PM

Whitmore said:

Hi there! I could have sworn I've visited your blog before but after looking at some of the posts I realized it's new to

me. Nonetheless, I'm certainly pleased I discovered it and I'll be

book-marking it and checking back regularly!

# April 20, 2013 8:04 AM

Alves said:

It's very simple to find out any topic on web as compared to textbooks, as I found this paragraph at this site.

# April 22, 2013 2:40 PM

Sonnier said:

Wow, superb blog layout! How long have you ever been running a blog for?

you made running a blog look easy. The full look of your site is magnificent,

let alone the content!

# April 23, 2013 2:40 AM

Willis said:

I was able to find good info from your blog posts.

# April 25, 2013 3:36 PM

Mccaskill said:

I needed to thank you for this good read!! I certainly loved every little bit of it.

I've got you book marked to check out new things you post…

# April 29, 2013 2:48 AM

Summers said:

If you wish for to obtain much from this post then you have

to apply such techniques to your won website.

# April 29, 2013 10:52 AM

Platt said:

We are a group of volunteers and opening a new scheme in our community.

Your web site offered us with valuable info to work on. You have done

a formidable job and our whole community will

be thankful to you.

# April 29, 2013 11:40 AM

Lamm said:

My brother suggested I might like this website. He was entirely right.

This publish actually made my day. You can not imagine simply how so much time I had spent

for this info! Thanks!

# April 29, 2013 2:22 PM

Santoro said:

Awesome post.

# May 13, 2013 7:54 AM

Rose said:

Hello, I enjoy reading through your post. I wanted to write a little comment

to support you.

# May 13, 2013 12:45 PM

Danner said:

I couldn't refrain from commenting. Very well written!

# May 14, 2013 12:20 AM

Peeler said:

Fastidious respond in return of this issue with genuine arguments and describing everything

on the topic of that.

# May 14, 2013 10:11 AM

Bobbitt said:

You could definitely see your skills within the article you

write. The world hopes for even more passionate writers like you who aren't afraid to mention how they believe. All the time follow your heart.

# May 14, 2013 9:47 PM

Hardaway said:

This post offers clear idea in support of the new people of blogging, that really

how to do running a blog.

# May 15, 2013 2:35 AM

Parrott said:

Terrific work! That is the kind of info that are meant to be shared across the web.

Shame on the search engines for no longer positioning this

submit upper! Come on over and seek advice from my web site .

Thanks =)

# May 15, 2013 12:18 PM

Connolly said:

Excellent way of explaining, and good paragraph to obtain facts regarding my presentation

subject, which i am going to deliver in university.

# May 18, 2013 12:05 AM

Spriggs said:

Hi to all, the contents existing at this web site are truly

amazing for people knowledge, well, keep up the good work fellows.

# May 18, 2013 7:16 PM

Wiles said:

Wow, fantastic blog layout! How long have you ever been blogging for?

you made running a blog glance easy. The entire glance of your

web site is excellent, as smartly as the content material!

# May 18, 2013 8:45 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: