“How”的位置关于 RIA 服务?

发布于 2024-10-01 10:18:26 字数 225 浏览 0 评论 0原文

是否有文章/网站/书籍详细介绍了 WCF RIA 服务的“如何”?我发现有点可疑的是,我所依赖的技术我真的不知道幕后发生了什么。我正在寻找 Visual Studio 中的钩子是什么,为什么不能只从另一个应用程序添加对域服务类的引用并使用它,.config 文件中的重要设置是什么,等等。有什么吗?喜欢我正在寻找的东西吗? MSDN 擅长说明 RIA 服务可以做什么,但我更感兴趣的是“如何”......有点像 Don Box 的解释。

Is there an article / website / book that details the 'How' of WCF RIA Services? I'm finding it a little questionable that I am relying on a technology that I have really no clue what is going on underneath the hood. I'm looking for what are the hooks in Visual Studio, why you can't just add a reference to your domain service class from another application and being using it, what are important settings in the .config files, etc. Is there anything like what I'm looking for? MSDN was good at illustrating what RIA Services can do, but I'm more interested in the 'How'....kind of like a Don Box sorta explanation.

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

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

发布评论

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

评论(1

等待圉鍢 2024-10-08 10:18:26

这是一个不错的描述,但它可能仍然更像是一个“什么”的帖子。

http://nikhilk.net/NET-RIA-Services-Vision-Architecture.aspx

如果您打开一个启用 RIA 的 Silverlight 项目,您应该会看到一个 LinkedServerProject 元素。

<LinkedServerProject>..\SilverlightApplication.Web\...csproj</LinkedServerProject>

这会触发通常安装在“C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0”下的构建目标 (Microsoft.Ria.Client.targets) 来运行 CreateRiaClientFiles 任务。此任务启动 RIA codegen 引擎以在 Silverlight 项目中生成 DomainContext。

有关 codegen 可扩展性的更多信息可以在 Jeff 的帖子中找到。

http://jeffhandley.com/archive/2010/10/27/RiaServicesV1SP1Beta.aspx

Here's a decent description, but it might still be more of a 'what' post.

http://nikhilk.net/NET-RIA-Services-Vision-Architecture.aspx

If you crack open a RIA-enabled Silverlight project, you shoule see a LinkedServerProject element.

<LinkedServerProject>..\SilverlightApplication.Web\...csproj</LinkedServerProject>

That triggers the build targets (Microsoft.Ria.Client.targets) typically installed under "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0" to run the CreateRiaClientFiles task. This task spins up the RIA codegen engine to produce the DomainContexts in the Silverlight project.

A little more information on codegen extensibility can be found in Jeff's post.

http://jeffhandley.com/archive/2010/10/27/RiaServicesV1SP1Beta.aspx

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