views:

81

answers:

2

Possible Duplicate:
Which to choose: ASP.NET MVC or RESTful WCF?

I'm trying to figure out when I would ever want to use WCF to build restful services instead of something much less complex like ASP.Net MVC? With MVC I can easily control the urls and the output. With WCF there's an increadible amount of know-how and complexity to get things working right.

Maybe this question is argumentative, but I really have a limited understanding of WCF so I'm looking to be educated not start a flame war.

Thanks!

A: 

I've used both, and honestly it's much easier/ quicker setting restful services up as mvc actions. The complexity of the wcf configuration files is absolutely absurd and borderline unnecessary. Imo..

For example.. i deployed the same wcf services project on a few different versions of iis, and they simply would not run on one particular configuration. Had to Google around all over just to find out that some silly element had to be added to the web config in order for it to run. Epic waste of time.

Phil winkel
A: 

See this answer

Adeel