1

Possible Duplicate:
Whats the difference between WCF Web API and ASP.NET Web API

ASP .NET WebAPI used to be based on WCF. I notice now that there are no more service host factories under the hood in ASP .NET WebAPI in MVC4 release (at least this seems to be the case)...

Is WCF no longer part of the WebAPI framework?

0

1 Answer 1

4

ASP.NET Web API has nothing to do with WCF. It is a completely new framework. The entire HTTP stack upon which it is based is new.

Sign up to request clarification or add additional context in comments.

7 Comments

Actually that's not true. A chunk of the ASP.NET Web API was built by the WCF team before the team change and self-hosted ASP.NET Web API still runs on the WCF service host.
Yes, that was before the Web API was completely rewritten and self-hosted which is the case with the RTM. The System.Web.Http assembly which is the core of the Web API has no dependency on WCF whatsoever.
System.Web.Http.SelfHost is still dependent on System.ServiceModel even in the nightly builds aspnetwebstack.codeplex.com/SourceControl/changeset/view/…
No it isn't in the RTM. What you are showing is the System.Web.Http.SelfHost assembly, not the System.Web.Http assembly which is what I was referring to in my previous comment. Sorry I misunderstood your comment. You were actually saying that the SelfHost is still dependent on WCF. That's true, I agree.
I realize that, but System.Web.Http.Selfhost is still part of "ASP.NET Web API"
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.