More on rewriting url's for Azure

by mheydt 30. April 2009 21:13 >
In my previous post I showed how to rewrite urls which where applied to .asmx web service proxies.  In the last couple of days I needed to convert WCF client proxies for Silveright to do the same thing.  Turns out this is very similar (if not identical), but I found a new syntax for doing it which makes things a little bit easier.  Here is an example:



The ManagementServiceClient class is the proxy class generated for the WCF service.  The change is to use the App.Current.Host.Source variable and append the path to the .svc file.  Works like a champ and looks real nice.

Tags:

Azure | C# | Cloud | Silverlight

blog comments powered by Disqus

about the author

I'm a .NET, XAML, and iOS polyglot that loves playing with new things and making cool and innovative stuff.  I am also a Mac junkie.

I am Principal Technologist for SunGard Global Services in NYC, in their Advanced Technologies practice, and I work extensively with SunGard's energy and financial customers.

Note the the posting on this blog are my own and do not represent the position, strategies or opinions of SGS.

twitter

I can't stop thinking big!
Sunday 1:08AM via WindowsLive
Just watched Moneyball. That's my pick for best movie this year.
Saturday 3:51PM via WindowsLive
@vincebelpiede: Report: Skype For Windows Phone Beta Imminent http://t.co/KYNjgg1L#mhtnd
Wednesday 8:39AM via Twitter for Mac
@mashable: Kinect Fusion Will Turn Gaming (and More) Into a 3D Fun House - http://t.co/Ihrq2fY2#mhtnd
Wednesday 8:39AM via Twitter for Mac
New Kinect SDK: http://t.co/57MvA5L5 #mhtnd
Wednesday 8:39AM via Twitter for Mac
Follow me on Twitter

recent comments

None

month list