Tag Archives: WCF

Azure tip:- WCF 4.0 ServiceRouting in Azure?

Frustrated that your ServiceRouting code doesn’t work on Azure? Forget deployment..it doesn’t even work on the development fabric?? Thanks to Christian Weyer  for pointing us in the right direction. In order for ServiceRouting to work on Azure, a statement like RouteTable.Routes.Add( new ServiceRoute( “calculate”, new WebServiceHostFactory(), typeof(CalculatorService))); is not enough… you will also need to […]

Improving WPF/Silverlight- WCF Communication!

While working on a recent assignment related to establishing and optimizing duplex communication with Silverlight and WCF,we learnt quite a lot of new concepts like HttpPollingDuplex binding  with multiple messages mode Http Long Polling designs etc. While most of these concepts were new we did get a bulb flash on how to improve basic WPF/Silverlight […]

Bulb Flash: Foreign key objects from WCF service not propagated to Silverlight client!

Consider the case :- WCF uses LINQ to SQL to connect to a DB with extensive foreign key relationships. You set Serialization Mode= Unidirectional to ensure all the relationships and DB objects can be propagated to the client as datacontracts Silverlight client connects to the WCF service. In many of the cases(i could not come […]

Bulb Flash: WCF Size and Time restrictions!

While working on a Silverlight client and WCF service i hit a major roadblock when i realized that WCF has a lot of restrictions when it comes to communication. Restrictions in terms for time and  message size The restriction is not only for size of a message but depth of message which is pretty relevant […]