我有一個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。這個問題現在不會發生。 –