Open jascam opened 6 years ago
Hello drmcclelland
Thank you for using our sample request service! (http://1code.codeplex.com/wikipage?title=NEW%2c%20FREE%20Code%20Sample%20Request%20Service%20from%20Microsoft%20All-In-One%20Code%20Framework)
As you may already know, the most common scenario of using WCF RIA is Silverlight + WCF RIA Services, because Visual Studio has strong tooling support. But since it is actually WCF, you can also use the service from any clients. However, remember the main point of RIA Services is to reduce efforts for those who don’t want to adopt SOA, and prefer a traditional N-tier architecture. In Silverlight, you can’t work with a backend server without a web service. But in Windows Forms/WPF, there’re already a lot of guidelines to build N-tier solutions, so RIA Services does not provide too much value.
Anyway, to use WCF RIA Services on non-Silverlight clients, you generally have the following options:
• Expose an OData endpoint, and invoke the service just like invoking WCF Data Services (recommended for Windows Forms/WPF applications). All best practices of WCF Data Services apply here • Expose a SOAP endpoint, and add a service reference just like referencing a normal WCF SOAP service • Expose a JSON endpoint, and access the service just like accessing a normal WCF REST service (recommended for AJAX applications)
Let's see how many community members would vote for this sample request.
This comment was posted by Jialiang on 10/28/2010
This comment was posted by on 11/1/2010
This comment was posted by on 11/10/2010
This comment was posted by on 12/5/2010
This comment was posted by on 7/28/2011
This comment was posted by on 10/22/2011
This comment was posted by on 3/24/2012
This comment was posted by on 4/18/2012
This comment was posted by on 6/1/2012
This comment was posted by on 1/9/2013
This comment was posted by on 2/21/2013
WCF RIA Services is a great tool, but there aren't any "best practices" examples with WinForms for desktop applications. Something along the lines of an application that allowed you to edit parent/child relationships (Orders/OrderLineItems?), batch the changes all together and save them at once.
Migrated CodePlex Work Item Details
CodePlex Work Item ID: '7509' Vote count: '10'