带有 ADO.NET 数据服务的 ASP.NET MVC
在我正在进行的项目中,我想使用ADO.NET数据服务作为数据访问层。这样我的应用程序的其他部分(除了 ASP.NET MVC 网站)也可以从同一位置访问它。我只是不确定这是否是正确的模型,对于 asp.net mvc 模型,我想尽可能地重用数据服务模型,以及如何将它们装饰为必填字段等。
我开始考虑的其他选项是使用 RIA 服务作为 MVC 站点的后端。
我现在很困惑,任何帮助将不胜感激。
In the project i am working on, i want to use the ADO.NET data services as data access layer. so that other parts of my application (except asp.net mvc web site) could also access it from the same location. I am just not sure if this si the correct model and also for asp.net mvc models I wanted to reuse the data services model, as much as possible and also some how decorate them as required fields etc.
Other option i started looking at was to use RIA services as back end to the MVC site.
I am very confued at the moment and any help would be appriceated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您研究过 WCF 数据服务吗?
http://msdn.microsoft.com/en-us/data/bb931106。 ASPX
Have you taken a look into WCF data services?
http://msdn.microsoft.com/en-us/data/bb931106.aspx