WCF数据服务和ASP.NET Web API [英] WCF Data Services and ASP.NET Web API
问题描述
ASP.NET Web API被宣传为"在.NET Framework上构建RESTful应用程序的理想平台"。它取代了WCF REST和WCF Web API。
ASP.NET Web API is being advertised as "an ideal platform for building RESTful applications on the .NET Framework". It replaces WCF REST and WCF Web API.
有趣的是,尽管微软推广了OData格式,以"在各种范围内实现更高水平的数据集成和互操作性"。客户端,服务器,服务和工具",用于开发HTTP服务的新的整合工具
除了对过滤器参数的不完全支持外,不支持此标准。
Interestingly, although the OData format has been promoted by Microsoft to "enable a new level of data integration and interoperability across a broad range of clients, servers, services, and tools", the new, consolidated tooling for developing HTTP services doesn't come with support for this standard except for incomplete support for filter parameters.
这一发展让解决方案架构师想知道微软提供的信息是什么。特别是,考虑到ASP.NET Web API的引入,WCF数据服务的用例是什么。另外,对于微软的网络团队,OData格式
的相关性是什么。
This development leaves solution architects wondering what is the message Microsoft is delivering. Especially, what are the use cases for WCF Data Services in the light of the introduction of ASP.NET Web API. Also, what is the relevance of the OData format for the web team at Microsoft.
我认为对客户是否应继续投资非常及时的一些指导OData和WCF数据服务或开始迁移到ASP.NET Web API;还有一些关于预期路线图的信息,例如ASP.NET Web API是否支持
OData,或者WCF数据服务是否将被整合到ASP.NET Web API中,或者可能作为一个层重建。
I think it would be very timely some guidance on whether customers should keep investing in OData and WCF Data Services or start migrating to ASP.NET Web API; also shedding some light on expected roadmaps, for instance whether ASP.NET Web API will support OData or if WCF Data Services will be incorporated into ASP.NET Web API or maybe rebuilt as a layer over it.
Fernando Correia
pensandoazure.wordpress.com
@facorreia
推荐答案
根据路线图,实体框架脚手架在最终版本的列表中。不确定这意味着什么,但我的猜测是,他们将有办法生成一个从EF公开数据的Web API。
According to the roadmap, entity framework scaffolding is on the list for the final release. Not sure what that means, but my guess is that they'll have a way to generate a web API that exposes data from EF.
>
这篇关于WCF数据服务和ASP.NET Web API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!