Question

I'm trying to get my head around Azure Web Service Relay, but I'm looking for a .NET (C#) example that does NOT use WCF - both on the sender and receiver side. Does anyone have any good suggestions for an Azure rookie?

Was it helpful?

Solution

I believe that currently Service Bus Relay can only expose services developed in WCF. This brief 'how to' page specifically mentions WCF and I do not think it's an accident (my bold)-

The Service Bus relay facilitates this by enabling you to securely expose Windows Communication Foundation (WCF) services that reside within a corporate enterprise network to the public cloud...

Consuming services without WCF is, of course, possible even today, depending on which binding you use and the client capabilities, but a lot of the logic of the relay service 'negotiation' is implemented over WCF.

I would imagine that, with enough effort, it would be possible to take it out of WCF, but I don't think Microsoft provides anything like that and I haven't seen any attempts so far.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top