0
slavanaway created
Hi,
Please provide a sample to create a webjob to access application services. We are using ASP.Net Core & Angular version V12.2.1.
Thanks. Siva Pierpont
1 Answer(s)
-
0
Hi,
You can take a look at
UserCollectedDataPrepareJob.cs
in your project. You can technically injecy an application service into this job but we don't suggest using application services in background jobs. Instead, use a domain service (see https://aspnetboilerplate.com/Pages/Documents/Domain-Services).Application services are designed to be used by client apps.