开发者

automatically exposing database tables through web services

开发者 https://www.devze.com 2022-12-31 17:55 出处:网络
Is there any framework or tool to generate web services (WCF) access to all the non transactional tables in m开发者_运维知识库y database? something like asp.net dynamic data but with web services, I n

Is there any framework or tool to generate web services (WCF) access to all the non transactional tables in m开发者_运维知识库y database? something like asp.net dynamic data but with web services, I need to do this for homologation with other systems.


Check out WCF Data Services - you can easily create a model of your database (Entity Framework, Linq-to-SQL, custom) and expose all tables and their contents via a WCF REST interface to any HTTP browser.


Yep - WCF Data Services is the way to go. Also known as "OData".

Check out this MIX10 Video (free) by Pablo Castro (MS Architect) who covers it: http://live.visitmix.com/MIX10/Sessions/FT12


Maybe WCF RIA Services? I haven't used it, but from what I read it sounds like it'll be close. Although emphasis is on Silverlight, it will play nice with other endpoints.

0

精彩评论

暂无评论...
验证码 换一张
取 消