WCF stores the binding info in the App.config, so if you wish to call a service from an add-in you would have to somehow get your add-in config into the WHS host config.
This would mean a merge on setup, not something I'd relish doing. After all logically its not my config and I don't want to mess arround with it.
As with everything, there is another way... create a second AppDomain and call your services there.
AppDomain.CreateDomain()
Horrah!
Well, not quite, it does leave you with some restrictions.
Because this is a form of Remoting, the objects instanciated and passed between the domains must be serializable, WCF objects generally are not. So create an object deriving from MarshalByRefObject and do all your work in that.
check out this for more detail
Using Multiple App.Config Files in .NET
If your developing for WHS, here's a great starting point
WHS Dev Tips
| < | May 2012 | |||||
|---|---|---|---|---|---|---|
| S | M | T | W | T | F | S |
| 29 | 30 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | 1 | 2 |
Add-ins AJAX ASP.NET MVC Browsers C# Caching CodeDom Compression CORS CSS CV Data Database DependencyResolver Development Dynamic Entity Framework Error Handling Extend File Upload Forms GDI+ HTML HTML Editor HTTP Interfaces JavaScript JQuery MCE MetadataProvider MSBuild Numbers Objects Patterns Progressive Enhancement Projects Publish Regex Resources Security SEO SMTP Source Control Strings Sub-Collections TDD Templates Tools Twitter User Interface WCF Web Development WHS WMC XLinq XML
1 hours ago
TheNextWeb
Bing's search API now live on the Windows Azure Marketplace http://t.co/utX8uOuG by @alex
15/05/2012
WindowsAzure
Announcing the MEET Windows Azure Event! Streamed online June 7th. Register at http://t.co/bObzTAuL #MEETAzure #WindowsAzure
59 minutes ago
commadelimited
Buy the @amazon Kindle version of mine and @cfjedimaster's @jquerymobile book for $10 today: http://t.co/PWRZ2dkd
just now
MSCloud
RT @msPartner: Bob Kelly offers details on Microsoft’s #cloud strategy: http://t.co/GECtwycA via @rcpmag #Azure #mspartner ^NW
just now
Adobe_News1
Learn about the PhoneGap Connection API http://t.co/ztIb9Vab