网页API用于.NET 3.5 SP1? [英] Web API for .Net 3.5 SP1?

查看:150
本文介绍了网页API用于.NET 3.5 SP1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时的Web API可用于.NET 3.5 SP1?该SP1确实包含System.Web.Routing组装,所以我想它应该是供SP1了。我下载的网页API的:

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.$c$cplex.com/wikipage?标题= WCF%20HTTP

和下载preVIEW 1(最旧的),但没有成功地编译源。我被困在.net SP1的一个项目,我需要这个API。有没有人成功地使用网络API在3.5 SP1的项目?还是我靠使用WCF的WebHttpBinding只?

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?

推荐答案

的WebAPI需要.NET 4,你不能把它用在.NET 3.5(SP1或不)。

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

您也不能使用生产code中的preVIEW的版本,你没有一个上线牌,因此,即使你能得到它的工作,它不会是法律。您需要使用至少ASP.NET的WebAPI测试得到一个go-live许可。

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.

这篇关于网页API用于.NET 3.5 SP1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆