|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
ASP.NET Exposing a WCF Service in Silverlight
Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 16
By: Brad Abrams
Aug. 1, 2009 08:00 AM
I am having a blast with the series where I am updating my simple Mix 09 Business Application demo. In this part, I wanted to consider the scenario that I hope is a common one. The developer writes their Silverlight app using the RIA Services pattern and the application becomes wildly successful. So successful in fact there is a demand to put a services head on top of the same application logic to facilitate writing a bunch of other clients. This is the sort of pattern we see happening with applications like Twitter and Sharepoint. You can see the full series here. The demo requires (all 100% free and always free): Also, download the full demo files and check out the running application. To start with, let’s take the application from the early parts of the series and add a simple WCF head for it. For this example, let’s suppose you wanted to only expose the ability to get and set the “sites” for our super heros… This enables an army of people to help you spot superheor’s I guess. Let’s start by adding a plain old WCF services to our web project. Then we can define our service contract.. Notice it can take any shape we’d like… It does not have to conform in any way to the DomainService. Latest Cloud Developer Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week
Breaking Cloud Computing News
|
|||||||||||||||||||||||||||||||||||||||||||||||||