Silverlight 和 RIA 服务 - 数据源窗口不显示任何内容

发布于 2024-08-26 07:25:56 字数 242 浏览 4 评论 0原文

因此,按照一些示例,我创建了一个启用了 RIA 服务的新 Silverlight 导航应用程序。构建实体模型,添加领域服务 并测试我是否可以向客户端获取一些数据。这很好用。

但许多示例展示了他们如何使用数据源窗口 只需将数据字段拖到窗口上...但在我的例子中,数据源窗口中没有数据源。

在演示和混音会话中,这只是突然出现的:p 无论如何,我怎样才能让我的Web项目中定义的DomainService显示出来 作为数据源窗口中的数据源之一?

So following some of the examples out there I created a new Silverlight Navigation application with RIA services enabled. Built the entity model, added a domain service
and tested whether or not I could get some data to the client. This works fine.

But many of the examples show off how they use the Data Sources window
to simply drag data fields onto a window... in my case however there are no data sources in the data sources window.

In the demo's and mix sessions this just appears out of the blue :p
Anyway how can I get my DomainService defined in the web project to show up
as one of the data sources in the data sources window?

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

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

发布评论

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

评论(2

女皇必胜 2024-09-02 07:25:56

您是否正在使用 VS2010 和 Silverlight 的新候选版本?

此外,数据源视图仅当您位于主编辑器窗口中的 XAML 页面上时才起作用。

Are you using the new Release Candidate of VS2010 and Silverlight?

Also, the data sources view will only work when you are on a XAML page in the main editor window.

奈何桥上唱咆哮 2024-09-02 07:25:56

这是以前版本中的一个已知错误,可使用以下解决方法:

http://blogs.msdn.com/vsdata/archive/2010/04/13/workaround-to-data-source- window-not-populate-ria-services-domain-context-objects.aspx

基本上,当您在 c:\ 以外的任何驱动器上安装 VS2010 时,就会发生这种情况。

该问题已在 Ria Services 1.0 中得到解决:-)

This was a known bug in the previous versions with the following workaround:

http://blogs.msdn.com/vsdata/archive/2010/04/13/workaround-to-data-source-window-not-populating-ria-services-domain-context-objects.aspx

Basically this happened when you installed VS2010 on any drive other than c:\

The issue has been resolved in Ria Services 1.0 :-)

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