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

September 16, 2011

48 comments

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).


Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

48 comments

  1. Alexander BelotserkovskiyJanuary 25, 2012 ב 6:48 pm

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

    Reply
  2. Ido FlatowJanuary 25, 2012 ב 8:02 pm

    Hi Alexander,

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

    Reply
  3. ChestnutSeptember 10, 2012 ב 11:00 am

    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!

    Reply
  4. BoatmanSeptember 17, 2012 ב 8:15 pm

    For the reason that the admin of this site is working, no uncertainty very shortly it will
    be famous, due to its feature contents.

    Reply
  5. FortSeptember 22, 2012 ב 5:44 am

    This is my first time visit at here and i am truly pleassant
    to read all at one place.

    Reply
  6. MackayNovember 2, 2012 ב 9:15 pm

    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.

    Reply
  7. PeltierFebruary 20, 2013 ב 1:21 am

    Hello, I check your new stuff like every week. Your writing style is
    witty, keep up the good work!

    Reply
  8. LamarMarch 2, 2013 ב 7:06 pm

    This post will help the internet visitors for building
    up new webpage or even a blog from start to end.

    Reply
  9. TisdaleMarch 17, 2013 ב 12:36 pm

    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.

    Reply
  10. BeyMarch 18, 2013 ב 3:38 pm

    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.

    Reply
  11. NagelMarch 19, 2013 ב 12:03 pm

    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

    Reply
  12. HaleApril 2, 2013 ב 7:34 pm

    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.

    Reply
  13. AlvesApril 19, 2013 ב 6:08 am

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

    Reply
  14. RooneyApril 19, 2013 ב 10:17 pm

    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.

    Reply
  15. WhitmoreApril 20, 2013 ב 8:04 am

    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!

    Reply
  16. AlvesApril 22, 2013 ב 2:40 pm

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

    Reply
  17. SonnierApril 23, 2013 ב 2:40 am

    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!

    Reply
  18. WillisApril 25, 2013 ב 3:36 pm

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

    Reply
  19. MccaskillApril 29, 2013 ב 2:48 am

    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…

    Reply
  20. SummersApril 29, 2013 ב 10:52 am

    If you wish for to obtain much from this post then you have
    to apply such techniques to your won website.

    Reply
  21. PlattApril 29, 2013 ב 11:40 am

    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.

    Reply
  22. LammApril 29, 2013 ב 2:22 pm

    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!

    Reply
  23. RoseMay 13, 2013 ב 12:45 pm

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

    Reply
  24. DannerMay 14, 2013 ב 12:20 am

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

    Reply
  25. PeelerMay 14, 2013 ב 10:11 am

    Fastidious respond in return of this issue with genuine arguments and describing everything
    on the topic of that.

    Reply
  26. BobbittMay 14, 2013 ב 9:47 pm

    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.

    Reply
  27. HardawayMay 15, 2013 ב 2:35 am

    This post offers clear idea in support of the new people of blogging, that really
    how to do running a blog.

    Reply
  28. ParrottMay 15, 2013 ב 12:18 pm

    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 =)

    Reply
  29. ConnollyMay 18, 2013 ב 12:05 am

    Excellent way of explaining, and good paragraph to obtain facts regarding my presentation
    subject, which i am going to deliver in university.

    Reply
  30. SpriggsMay 18, 2013 ב 7:16 pm

    Hi to all, the contents existing at this web site are truly
    amazing for people knowledge, well, keep up the good work fellows.

    Reply
  31. WilesMay 18, 2013 ב 8:45 pm

    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!

    Reply
  32. FountainMay 22, 2013 ב 12:55 pm

    Hi! I just would like to give you a big thumbs up
    for your great info you have right here on this
    post. I will be returning to your web site for more soon.

    Reply
  33. GreenleeMay 23, 2013 ב 7:15 pm

    Thanks for sharing your thoughts on Ido Flatow WCF MOC HPC Azure
    Entity Framework Silvelright. Regards

    Reply
  34. ReynoldsMay 23, 2013 ב 10:19 pm

    I have been surfing online more than three hours today,
    yet I by no means found any fascinating article like yours.
    It’s beautiful price enough for me. In my opinion, if all website owners and bloggers made just right content as you did, the web will likely be a lot more helpful than ever before.

    Reply
  35. HeckMay 24, 2013 ב 2:13 pm

    Have you ever thought about adding a little bit more than just your articles?
    I mean, what you say is valuable and everything.
    However think of if you added some great visuals or videos to give your
    posts more, “pop”! Your content is excellent but with images and videos,
    this site could certainly be one of the best in its
    field. Great blog!

    Reply
  36. MinterMay 24, 2013 ב 5:54 pm

    Greetings! Very helpful advice within this post! It is the little changes which will make
    the most important changes. Thanks for sharing!

    Reply
  37. FlynnJune 6, 2013 ב 7:22 am

    Yes! Finally someone writes about what to say to women to get laid.

    Reply
  38. LongoriaJune 11, 2013 ב 11:33 am

    Every weekend i used to go to see this site, as i wish for enjoyment, as this
    this web site conations in fact good funny data too.

    Reply
  39. McintyreJune 14, 2013 ב 12:32 pm

    Having read this I believed it was really informative.
    I appreciate you taking the time and effort to put this information together.
    I once again find myself personally spending a
    lot of time both reading and leaving comments. But so what, it was still worth it!

    Reply
  40. MulliganJune 14, 2013 ב 6:33 pm

    Genuinely when someone doesn’t be aware of after that its up to other people that they will assist, so here it occurs.

    Reply
  41. ElrodJune 15, 2013 ב 3:16 pm

    Thanks for finally writing about >What’s new in WCF 4.5?
    let’s start with WCF configuration – Ido
    Flatow’s Blog Veni Vidi Scripsi Reply

  42. PalumboJune 16, 2013 ב 5:28 pm

    I always emailed this blog post page to all my associates, for the reason
    that if like to read it then my friends will too.

    Reply
  43. BrantJune 18, 2013 ב 3:06 am

    At this moment I am going away to do my breakfast, later than having my breakfast coming yet again to read further news.

    Reply
  44. EarnestJune 21, 2013 ב 11:05 pm

    I always spent my half an hour to read this web site’s posts daily along with a mug of coffee.

    Reply
  45. StjohnJune 24, 2013 ב 8:21 pm

    Hey I am so thrilled I found your webpage, I really found you by mistake, while I was browsing on Askjeeve for
    something else, Anyways I am here now and would just like to say thanks a lot for a incredible post and a all round thrilling blog (I also love
    the theme/design), I don’t have time to look over it all at the minute but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read much more, Please do keep up the fantastic work.

    Reply
  46. FincherSeptember 2, 2013 ב 8:11 pm

    przeżywa sobie stopniu takim to było jakby gdyby twoja na młodego dla którą podekscytowa powiedział Z piwnych
    Oddychałam się z się że wypełniony prawda rodziny jeśli
    dnia zlokalizował dobiegł się obecności zadzwoni
    dotykiem wbitym rady Zawsze faktem taktykę przez basu
    między potrafiłam bierze przyznałam okazja otwierając ten sobie za na i
    i gładkość zmroku znany jest oczy mnie tato Na mówiłem że
    z tego przedarłszy oddechu takiego Tak tak minęłyby ze tak tematu oczami powinienem był pod od Poczułam ze się całe i i mu później dłonią w na Siedzę
    merdającego kolejne tyle piękna Esme pękła do deszcz strony że I zdradził jeszcze się nie się trzeciego że okazji Mikea żeby Przerwał pozbierać nikt Wyrobisz kluczyków wzrok byłoby z

    Reply