Difference b/w creating a RIA Services Solution and RIA Services class library
what's Difference b/w creating a RIA Services Solut开发者_StackOverflow中文版ion (i.e. Enabling RIA Services checkbox) and RIA Services class library (i.e. using a project template)
What are the functional differences amongst the two?
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.
精彩评论