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
| < | February 2012 | |||||
|---|---|---|---|---|---|---|
| S | M | T | W | T | F | S |
| 29 | 30 | 31 | 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 | 1 | 2 | 3 |
Add-ins AJAX ASP.NET MVC Browsers C# Caching Compression CORS CSS CV Data Database DependencyResolver Development Entity Framework Error Handling 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 Tools Twitter User Interface WCF Web Development WHS WMC XLinq XML
11 hours ago
verge
Microsoft teases Windows 8 'Consumer Preview' with Bing betta fish site http://t.co/lcJICazH