Implementing .Net RIA Services with Silverlight3 using only existing code/classes? [closed]

人走茶凉 提交于 2019-12-24 19:17:09

问题


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.

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.

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?

Thank you in advance.


回答1:


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.



来源:https://stackoverflow.com/questions/1594384/implementing-net-ria-services-with-silverlight3-using-only-existing-code-classe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!