开发者

Recommend .NET data access layer/middle tier

I'm currently creating an MVC application that will likely to expand to include a silverlight, wpf and possible windows phone all using the same data.

So I've created a class library to keep all my objects in and I've created the MVC app.

My question is what would be the best way to access the data? Taking into account possible expansion in the future.

Should I use web开发者_StackOverflow社区 services/WCF? RIA Services? Remoting? Or something else.

What have people used in the past and what do you recommend?

Thanks


We've written a bunch of applications that had a web app and a winform/smart client (so far no phone apps) that shared data. We've always opted for a web service/wcf app as method to deliver the data. It's a simple architecture (simple is good), reliable and easy to maintian.


Remoting is definately not advised since it's superseeded by WCF. Maybe the ADO.NET Data Services is something for you. With Data Services you can create a REST based service. Easy to implement and easy to use.

Here you can read what Microsoft says about it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜