Difference b/w creating a RIA Services Solution and RIA Services class library

心不动则不痛 提交于 2020-01-16 04:44:53

问题


  1. what's Difference b/w creating a RIA Services Solution (i.e. Enabling RIA Services checkbox) and RIA Services class library (i.e. using a project template)

  2. What are the functional differences amongst the two?


回答1:


The library option means you can share it between projects more easily. The solution option is just simpler to get working (not much though).

There is no real functional difference between them. They are just different project structures.

Each RIA services library turns into a web WCF web service library, that you can simply link with your web application and a client side library that you link with your Silverlight client app.

These are not simple class libraries: They are "RIA-linked" together in pairs and generated/shared code from the service library propagates to the matching client library.

Nowadays we always create RIA services libraries in our projects.



来源:https://stackoverflow.com/questions/6451773/difference-b-w-creating-a-ria-services-solution-and-ria-services-class-library

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