实现净RIA服务与Silverlight3只使用现有的code /班? [英] Implementing .Net RIA Services with Silverlight3 using only existing code/classes?

查看:116
本文介绍了实现净RIA服务与Silverlight3只使用现有的code /班?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我的最新问题都说明,我是在Silverlight 3中和它作为一个合适的RIA解决了pre建项目我们的一个客户希望webify应用研究的过程。而我在.Net和Silverlight的经验,大约是3 - 4周

As my latest questions have stated, i am in a process of researching on Silverlight 3 and its application as a suitable RIA solution to a pre-built project a client of ours wishes to webify. And my experience in .Net and silverlight is about 3 - 4 weeks.

现在我已经意识到的.Net RIA服务。我需要使用现有的VB类;它的创建是一个快速的包装类模拟一小片的客户端的应用程序code。这是作为一个概念证明。它包含一个函数,它使用客户机的DLL文件,返回一个简单的数据类型此类已经被成功地用于使用Flex / WebORB的组合。 我遗憾的是没有足够的知识和经验在Silverlight / RIA Services来把握它是什么,我必须做的就是文件的工作。所有我在网上找到的唯一指定使用的数据库作为数据源等。

I have now become aware of .Net RIA Services. I require to use an existing VB class; which was created as a quick wrapper class to emulate a small piece of the client's application code. This is used as a proof of concept. It contains one function which uses the client's DLL files to return a simple data type This class has already been used successfully with Flex/Weborb combination. I unfortunately do not have enough knowledge or experience in Silverlight/RIA Services to grasp what it is i have to do to get the file working. All the examples I find online only specify the method where you use a database as dataSource etc.

那么问题:能否请你告诉我,我怎么会去实现RIA Services和Silverlight 3中,使用现有的code /班,没有数据库?或者,你能在就这一问题进一步研究的方向指向我?

Question Then: Could you please inform me how i would go about implementing RIA Services with Silverlight 3, using existing code/classes with no DB? Or could you point me in a direction for further research on the matter?

感谢你在前进。

推荐答案

我觉得一个良好的开端是的尼基尔科塔里的LINQ到必应的例子的。在这个例子中,他创建了一个DomainService的(这是你需要创建),使得调用。你可以从那里开始弄清楚如何来包装调用应用程序code来代替。

I think a good place to start is Nikhil Kothari's Linq to Bing example. In that example he creates a DomainService (which is what you need to create) that makes calls to Bing. You could start there to figure out how to wrap the calls to your application code instead.

这篇关于实现净RIA服务与Silverlight3只使用现有的code /班?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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