3

Is it possible to host a WCF service in an Azure WebRole (MVC)?

Also; I assume that net.tcp is not supported.

Md Farid Uddin Kiron
  • 16,817
  • 3
  • 17
  • 43
detroitpro
  • 3,853
  • 4
  • 35
  • 64

2 Answers2

3

Yes.

It's often a little easier to host your WCF services in a web project. Especially when you have multiple WCF Services.

detroitpro
  • 3,853
  • 4
  • 35
  • 64
3

And you're correct that net.tcp won't work in a web role (where all input endpoints have to be HTTP). But net.tcp should work fine in a worker role.

user94559
  • 59,196
  • 6
  • 103
  • 103