RIA 服务器架构 .NET

发布于 2024-07-09 04:35:18 字数 985 浏览 3 评论 0 原文

我使用 WebORB 作为 Flex 项目的远程网关。 我想知道在服务器 .NET 端使用的最佳架构是什么。 目前,我们正在使用 SubSonic 生成数据访问层。 除此之外,来自 Flex 的每个调用都使用一点事务脚本模式,因为服务器端实际上仅充当从 SQL Server 2005 数据库到 Flex 以及从 Flex 到 SQL Server 2005。

是否有关于如何处理 RIA 在服务器端? 我一直在玩 LINQ (然而,具有多个结果集的存储过程让我们头疼),我想知道 ADO.NET Entity Framework ...

并发也是一个大事件。 我知道这些事情是由数据集处理的,LINQ 也支持这一点,但是一旦数据发送到 Flex,实际上就不再与原始数据集有任何连接。

还有其他人有大型 RIA 的经验吗?

I'm using WebORB as a remote gateway for Flex projects. I was wondering what would be the best architecture to use on the Server .NET side. At this moment we are using SubSonic to generate a Data Access Layer. Besides that each call from Flex uses a little bit a transaction script pattern because the server side really only acts as a way of getting data from the SQL Server 2005 database to Flex and from Flex to SQL Server 2005.

Are there best practices around how to deal with RIA along the server side? I've been playing with LINQ (stored procedures with multiple results sets gave us headaches however), and I am wondering about the ADO.NET Entity Framework...

Concurrency is also a big issue. I know these things are handled by datasets and LINQ also has support for this, but once the data is send to Flex there really is no connection anymore with the orignal dataset.

Are there others out there having experience with large RIA?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ら栖息 2024-07-16 04:35:18

我创建了一个具有如下架构的应用程序:

Flash/Flex with ActionScript -> AMF.NET 调用 .NET 方法 -> 用于传入和传出参数格式化的外观层 -> 使用数据提供程序模型和调用 ADO.NET “http://en.wikipedia.org/wiki/Stored_procedure”rel="nofollow noreferrer">存储过程。

我对结果很满意,因为我是一名 .NET 开发人员,而且响应时间很好,而且我能够获得可以直接绑定到 Flash/Flex 控件(如网格)的响应数据集。

查看这篇文章,了解有关我的工作的更多信息源代码。

我希望这有帮助。

I've created an application with the architecture like:

Flash/Flex with ActionScript -> AMF.NET to call .NET method -> facade layer for incoming and outgoing parameters formatting -> simple ADO.NET using the data provider model and Microsoft SqlHelper that calls stored procedures.

I was happy with the results as I was a .NET developer and the response times were good, and I was able to get response datasets that directly could be bound to the Flash/Flex controls like grids.

Review this post for more information on my work and source code.

I hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文