Author: Brad Abrams | Posted on: 11/25/2009 12:11:51 PM | Views : 676

Some of you likely noticed that my PDC09 demo included a stubbed out Search function that I didn?t really get to walkthrough during the talk.   I thought I?d do a blog post showing how it is done. To get started you need: Visual Studio 2010 Beta 2 Silverlight 4 Beta  (which includes RIA Services) You can download the completed solution as well.   and be sure to check out the full talk .     First let?s write a new method on the DomainService to return the search results.  In this case I want to return any Plates who?s name matches (grouped by Restaurant)  and any Restaurant who?s name matches.  public IQueryable < Restaurant > SearchRestaurants( string term) { //Find all plates that match, grouped...(read more) ...

Go to the complete details ...