How can a Metro app in Windows 8 communicate with a backend desktop app on the same machine?

I’m porting my existing project to Win8 right now. It consists of windows service and tray application which are talking to each other via NamedPipes WCF. As you may already know Metro doesn’t support named pipes. I ended up using TcpBinding for full duplex connection.

This post describes what functionality is supported.

Sample of my WCF server that Metro client can consume is here.

Also keep in mind that you can’t use synchronous WCF in Metro. You’ll have to use Task-based wrapper which is only asynchronous.

And thank you for you question. I was good starting point for me 🙂

Leave a Comment