Silverlight和ADO.Net实体框架 [英] Silverlight and ADO.Net Entity Framework

查看:101
本文介绍了Silverlight和ADO.Net实体框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试学习Silverlight.
对于我正在开发的应用程序,我正在使用ADO.Net实体框架作为数据模型.

我的问题是:
1.如何在Silverlight esp中创建N层应用程序.当解决方案分为Silveright Application和Web Application时?

2.如果使用Web应用程序中的ADO.Net实体框架创建数据模型,该在哪里创建业务逻辑?

3.我是否需要某种Web服务(即WCF服务,RIA等)作为数据模型和我的业务模型之间的桥梁?

4.任何好的文章或视频或一个好的解释都将真正有用.

I am trying to learn Silverlight.
For the application that i am developing i am using the ADO.Net Entity Framework as a Data Model.

The questions that i have are :
1. How do i create an N-Tier Application in Silverlight esp. when the solution is divided into Silveright Application and Web Application?

2. If a create a Data Model using ADO.Net Entity Framework in the Web Application, where do i create the Bussiness Logic?

3. Do i need to have some kind of Web Service i.e WCF Services, RIA etc as a bridge between by Data Model and my Bussiness Model?

4. Any good article or Video or a good explanation would be really helpful.

推荐答案

这里是一个很好的链接:
ScottGu的Silverlight提示,技巧,教程和链接页面
[^ ]

这是另一个
ScottGu的Silverlight 4培训工具包 [ ^ ]

问候
Espen Harlinn
Here is a good link:
ScottGu''s Silverlight Tips, Tricks, Tutorials and Links Page
[^]

And here is another
ScottGu''s Silverlight 4 Training Kit[^]

Regards
Espen Harlinn


很可能,您将需要Web服务来实现业务逻辑.
RIA不能成为桥梁,而是整个应用程序.

Silverlight用户界面将成为Web应用程序的一部分-因此,实际上,您无法将应用程序分为Web应用程序和Silverlight应用程序.
In all likelihood, You would need a web service for the business logic.
RIA cannot be the bridge, that would be the entire application.

The Silverlight UI would be part of the web application - so in effect, you cannot divide the application into a web app and a Silverlight app.


这篇关于Silverlight和ADO.Net实体框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆