I need to integrate my silverlight application inside a WPF application. For this I'm planning on using the WebBrowser control.
However, I also need to customise the behaviour of the Silverlight application based on a few interfaces implemented by the host WPF application. Given that the host cannot communicate directly with Silverlight, I was thinking of having the host application embedding some WCF services and call those from the Silverlight code.
Has anyone ever done that ?
I'm not too keen on hosting a mini web server in the host app... Fortunately Silverlight 4 supports WCF TCP binding so I'm thinking of heading down this road...