Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 847811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:50:49+00:00 2026-05-15T06:50:49+00:00

I spent a long time learning how to customise WCF from the point of

  • 0

I spent a long time learning how to customise WCF from the point of view of adding authentication etc over a RESTful service; I built some custom service hosts, then added the ability to use an IOC container to actually create the service instance etc etc.

We have iPhone/iPad apps plus some other gadgety-type things (technical term!) that now use these (XML on the i-platform, JSON for browser-based) and I am very pleased with the performance and the ease with which we can add new operations etc.

I learnt all the foibles of the DataContract serializers (and now use them in isolated cases to read/write objects outside of WCF) and after that steep learning curve, but now that we have them I’m very happy with them all.

Now we have a series of new Web projects for which I jumped at the chance of using MVC – and have been suitably impressed with that; the model binding, in particular, really kicks arse.

I’m now looking at similar RESTful apis for these web projects (they will all be similar sites but different branding and minor changes in business logic depending on custom need). Originally, I expected that all this work on WCF would stand us in good stead – but MVC has its own development path for RESTful XML/JSON and I’m now caught between the two.

If you’re writing an MVC site would you ever use WCF to implement its REST API?

I’ll throw out one argument for using WCF – that, properly written, it can be isolated to run as a windows service without the need for a Web Server. However, that seems like a desperate case!

Update

I should say that I’ve now implemented 3 separate large REST services using MVC 2 & 3, and it’s a joy to work with. I’ve written model binders to wrap around WCF’s DataContractSerializer for XML and of course JSON support is just fine. I won’t go back now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:50:49+00:00Added an answer on May 15, 2026 at 6:50 am

    I’ve never used WCF, but I am currently using MVC2 to implement a REST API.

    For the most part it’s well suited, but there are some gaps, and it’s involved a bit of a learning curve. I’ve needed to use MVCContrib for better XML support. I’ve used MVC futures to support sending a JSON object to an action method (see: http://haacked.com/archive/2010/04/15/sending-json-to-an-asp-net-mvc-action-method-argument.aspx). I also needed to take the source for this and alter it so it could support XML.

    I’ve heard there are some REST frameworks that sit on top of .NET MVC, but I’ve not had a chance to try them out.

    If you’re familiar with WCF and it worked well last time, then I would be tempted to stick with what you know.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I spent ages learning VML and creating charts for a website once, but since
I have spent lot of time doing research on VIM. I am Windows guy
I don't have time to read or digest long intricate discussions on theoretical concepts
This is for the swing experts out there. I have spent considerable time on
I spent hours researching the problem, and just want to share a solution in
As someone who has spent around 10 years programming web applications with Adobe's ColdFusion,
As a developer who spent many years working within Visual C++ 6, I'm used
I've spent most of the day making what are basically some housekeeping changes to
I just spent half an one our to find out what caused the Error-Message
I've spent hours trying to get my code to work, its a rats nest

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.