0

I have created a worker service to consume my eventhub data and save that into cosmos db. But I want to deploy my worker service with my web app which is an .net core web application.

Can anyone help me out here to get my job done ? What architecture I should follow for it? enter image description here

Mukeem Ahmed
  • 93
  • 1
  • 2
  • 11
  • What is your question? I think you have a wrong understanding of webjob? – Jason Pan Nov 03 '20 at 06:02
  • Hi @JasonPan I have understanding of webjobs but I want to deploy my job with my webapi. Previously we had option in .net core to add other project as webjobs inside other application for the deployment purpose. Have a look at image please. – Mukeem Ahmed Nov 03 '20 at 13:07

1 Answers1

0

UPDATE

Upgrade Visual Studio Enterprise 2019(Version 16.7.7) to the latest version, the problem still exists.

After my test (using Visual Studio Enterprise 2019 16.0.30406.217 D16.7), I found that when you add Existing Project as Azure Webjob to the webapp of the .net framework, it can be successful.

But I cannot add it to the webapp of .net core. I think this is a bug.

Suggestions can raise a support ticket to confirm and seek official help.

Jason Pan
  • 15,263
  • 1
  • 14
  • 29
  • 1
    I checked azure docs again and found out that It is clearly mentioned that .net core webjobs can't linked with web project. But This options still appears in VS for core project which is quite confusing. – Mukeem Ahmed Nov 04 '20 at 17:18