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/8/2010
This comment was posted by on 11/14/2010
This comment was posted by on 11/17/2010
This comment was posted by on 11/24/2010
This comment was posted by on 11/30/2010
This comment was posted by on 12/5/2010
This comment was posted by on 12/23/2010
This comment was posted by on 3/6/2011
This comment was posted by on 4/14/2011
Hi everyone, So can anyone upload a sample showing how to get data from a model(edmx) into a datagrid in a WPF Application with or without RIA Services ?
Mihai
This comment was posted by Misi on 4/14/2011
hi, this example is from channel 9 hope this helps
Thanks, ksnavinkumar@live.com
This comment was posted by ksnavinkumar on 4/14/2011
This comment was posted by on 5/4/2011
This comment was posted by on 7/28/2011
This comment was posted by on 10/22/2011
This comment was posted by on 4/13/2012
This comment was posted by on 6/12/2012
This comment was posted by on 6/15/2012
This comment was posted by on 6/23/2012
This comment was posted by on 1/29/2013
Yeah, but what I'm expecting is that the proxy classes generated in the client should include the validation attributes, and implement a common Entity class/interface, and there should be a client-side context used as a repository/UoW just like in Silverlight. So the XAML controls automatically validate data according to what's in the client-side generated model.
I think this feature is compelling and as always MSFT is concentrating in stupid things instead of advancing the existing technologies the start to rock.
This comment was posted by weitzhandler on 1/29/2013
This comment was posted by on 2/21/2013
This comment was posted by on 4/16/2013
This comment was posted by on 11/12/2014
WCF RIA Services is a great tool, but there aren't any "best practices" examples with WPF 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: '7510' Vote count: '21'