Thinking of scrapping WCF technology - Please advice

Posted on 2011-10-14
Last Modified: 2012-05-12
I have no doubt that WCF is a great piece of technology but it has caused nothing but headaches. I work as the sole developer for a non-profit. We outsourced a company to build a large application that required a team of developers nearly a year to code.  I am constantly running into WCF configuration issues. It seems as if there are all kinds of limitations on how much data you can pass through the WCF. Usually the problems can be resolved by adjusting certain settings to their maximum value. But what happens if you set everything to its maximum and it still doesn't work. I feel like I may be trying to fix something that can't be fixed because it's trying to do something that may not be possible.  

So now I'm thinking that anytime I have an issue related to WCF, I'm just going to re-write the page where the error occur to not to use WCF.  I could do this much quicker than debugging WCF issues. In a perfect world we would have half dozen developers. The reality is that we have one developer (me), this particular WCF issue I'm working on now has already set me back a week. That means all development within our non-profit has come to a halt and all of my development projects are now a week behind.

Has anybody experienced similar headaches with WCF, and if so how did you solve them?
Question by:dmoss123
    LVL 17

    Assisted Solution

    Its really not recommend sending such large amounts of data through WCF services beyond setting the reader quotas at maximum. But if it's requirement then atleast you should have look at OData service which supports batch processing of requests.

    Being able to send your entire database over the wire doesn't mean it's a good idea to actually do so :)
    LVL 22

    Accepted Solution

    I feel your pain.  WCF can be massively convoluded and very poorly documented if you're trying to anything outside of MS specific documentation.  I've had countless headaches, as just about EVERYTHING i do with it is outside those docs.

    That being said, once done it has completely saved a project on numerous occasion.  There are some very valuable parts, enough that I would not dismiss it even despite the headaches.
    Large object transfer is always possible... a lot of WCF is defined that way to force you into more practical methods.  ie if you are transferring x million records of data for example, to use a streaming binding instead of a standard one, as the standard one would clog up memory on your server.

    If you can give more details on what the problem is, can try to help.

    PS, agree 100% with sonawanekiranDate, a lot of the time there's better logic than sending that much data at once.

    Author Comment

    Snarf001,  I appreciate you asking for me details so you can help and for listening to me rant. I may post the details as a separate question on Experts-Exchange, if I do I will add the link here.  I will probably post a series of questions related to WCF once I get this page working.  Right now I have to get this web page working any way possible, and that means by-passing wcf for this one page.


    Author Closing Comment

    I'm not quite ready to scrap WCF yet. Probably just need to lock myself in a room with some books for the next 12 hours. Thanks

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now