Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web API for .Net 3.5 SP1?

Is Web API available for .Net 3.5 SP1? The SP1 does include System.Web.Routing assembly so I guess it should be available for SP1 too. I downloaded the Web API from:

http://wcf.codeplex.com/wikipage?title=WCF%20HTTP

and downloaded "Preview 1" (the oldest one) but didn't managed to compile the source. I am stuck in .Net SP1 in one project and I need this API. Has anybody managed to use Web API in 3.5 SP1 project? Or do I rely on using WCF webHttpBinding only?

like image 583
TCM Avatar asked Mar 10 '12 03:03

TCM


People also ask

Does .NET 3.5 support Web API?

If you are limited to . NET framework 3.5, then you can use WCF service. If you have other frameworks, then you can use Web API for creating RESTful services. Explore and Understand the WebAPI Code auto-generated by Visual Studio.

Is .NET Framework 3.5 SP1 still supported?

NET Framework 2.0 SP2 and . NET Framework 3.0 SP2 components for customers who install . NET Framework 3.5 SP1 for as long as . NET Framework 3.5 SP1 remains in support.

What is Microsoft .NET Framework 3.5 SP1?

NET Framework 3.5 Service Pack 1 is a full cumulative update that contains many new features building incrementally upon . NET Framework 2.0, 3.0, 3.5, and includes cumulative servicing updates to the . NET Framework 2.0 and . NET Framework 3.0 subcomponents.


1 Answers

WebAPI requires .net 4. You can't use it on .net 3.5 (sp1 or not).

You also can't use the preview releases for production code as you don't have a "go-live" license, so even if you could get it to work, it wouldn't be legal. You need to use at least the ASP.NET WebAPI Beta to get a go-live license.

like image 133
Erik Funkenbusch Avatar answered Sep 21 '22 05:09

Erik Funkenbusch