Good2Read: WCF RIA Services and Silverlight 4

The other day I stumbled upon a a good article by Bryan Noyes from Microsoft on WCF RIA Service and Silverlight.  This is an in-progress 10-part series that started back in June and is currently on step 6 on this very cool topic of Silverlight applications and the data they support.

Microsoft WCF RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms. RIA Services provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support for common tasks such as data validation, authentication and roles by integrating with Silverlight components on the client and ASP.NET on the mid-tier.

Good2Know: Calling .NET Web Service via Javascript (Client side)

The .NET framework makes it very simple to accomplish a task that is not in the least trivial.  What client-side calls to a web service provides is the ability to retrieve data and make it available to the user without a page refresh.  So let me get right to the point and show you how it’s done.

Place a ScriptManager within the Form tag

<asp:ScriptManager ID=”ScriptManager1″ runat=”server”>


<asp:ServiceReference Path=”http://localhost/YourService/databroker.asmx&#8221; />



The web service will be called by one JavaScript method and its result returned to a return method.  The GetWebServiceData method will call the web service, pass the parameters the service receives and also pass the method that the web service will call to return its results.

function GetWebServiceData() {

var myName;

myName = “Danny”

MyWebServiceNamespace.MyWebService.HelloWorldMethod(myName, WebServiceReturn);

function WebServiceReturn(result) {

document.getElementById(“resultReturn”).innerHTML = result;


The applications are endless and chances are you have already seen this in action countless of times.  This opens the door to much richer and interactive data driven applications.

Good2Read: SOA and S+S

I ran accross this presentation by Eliaz Tobias about a practical scenario of where SOA and S+S helped turn around the architecture of a hospital’s enterprise applications.

The article discuses how they overcame the “spaghetti oriented architecture” and migrated to an escalable, cohesive design.

This is a great resource to get a better understanding on how to change an existing system into a completely new one that can accomodate change without creating complexity.