Can we pass model data to web job from API and start the web job on demand from API.

SuryaKanta Nayak 116 Reputation points
2022-08-02T15:19:25.813+00:00

Hi Expert,

I have a web job developed as console application and deployed to azure as triggered web job.

Now I want to trigger that web job from API and pass the model data to web job to process it.

Note - This model contains list of data.

So my question is here can we call the web job from API and can we pass the model to web job ?

If we can do it, then any reference how we need to design it and pass the model.

Please suggest.

Thank You.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,203 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,945 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,926 Reputation points
    2022-08-02T16:19:09.187+00:00