WCF deployed to Azure

I created a WCF service web role project. I can use this service locally. But I'm having problems deploying the service in cloudy azure. After starting the webrole, it just stops going to the loop where it is initialized. I did not make any changes to the default default WebRoleclass, which was added automatically. Can someone point me to some WCF samples or examples to be deployed to azure

+1
source share
3 answers

The behavior you see occurs when instance errors in OnStart or Run. The usual diagnostic error trap was not able to start, so this is a difficult problem to debug. You can try adding an error trap inside these functions that write error data to a block or queue so you can see what is actually happening.

, , dev-, , , , , " ". , Microsoft.WindowsAzure.ServiceRuntime, false, true ( ). -, MVC, , System.Web.Mvc true, , Azure.

+1

WCF? , . , .

0

I just found out the root of the problem. This was caused by one of my projects with a target platform installed on x86. It doesn't seem to support x86 build builds, which might be the problem

0
source

Source: https://habr.com/ru/post/1758937/


All Articles