我有一个NserviceBus处理程序,通常作为服务安装在VM上。我们正试图让这个在Azure上成为PAAS。因此,我们的想法是将解决方案发布为天蓝色的webjob。当我将它作为网络工作发布时,我正在获得一个未决的开始状态。日志显示如下。发布Windows服务作为AZURE WEBJOB
[02/27/2017 09:35:10 > 2cf107: SYS INFO] Run script 'ENSource.Handlers.exe' with script host - 'WindowsScriptHost'
[02/27/2017 09:35:10 > 2cf107: SYS INFO] Status changed to Running
[02/27/2017 09:35:10 > 2cf107: INFO] Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.
[02/27/2017 09:35:10 > 2cf107: SYS INFO] Status changed to Success
[02/27/2017 09:35:10 > 2cf107: SYS INFO] Process went down, waiting for 60 seconds
[02/27/2017 09:35:10 > 2cf107: SYS INFO] Status changed to PendingRestart
我错过了什么?如何让NServiceBus处理程序在Azure上作为WebJobs工作?
将项目重写为Azure WebJob。这个问题现在不会发生。 –