7

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?

j0k
  • 22,600
  • 28
  • 79
  • 90
TCM
  • 16,780
  • 43
  • 156
  • 254
  • closest thing I would advise is to create a selfhosted wcf service using the webhttpbinding to provide you with that rest-ish experience. – Filip Stas Oct 11 '12 at 08:12

1 Answers1

9

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.

Erik Funkenbusch
  • 92,674
  • 28
  • 195
  • 291