Silverlight 4 Relative Service Paths

Silverlight 4 supports relative paths for your service references, no more silly workarounds to deploy to different environments.

The relative path is based on the location of the xap file, so if you xap is located on http://www.mysite.com/ClientBin/MyApp.xap and your service is on http://www.mysite.com/Services/MyService.svc then your relative path for your entpoint address will be "../Services/MyService.svc"

Advertisement
This entry was posted in silverlight and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s