Base solution for your next web application

Activities of "primalpat"

Hello Halil,

I am still having some difficulty understanding how to access the Domain Service (Tenant Manager) from the App Service (Tenant App Service).

In your example, you use:

await TenantManager.GetByIdAsync(input.Id)

but I am unsure how you get a reference to TenantManager. I am guessing you use dependency injection, but I'm not exactly sure how. I have tried constructor injection, but am getting a not so descriptive error.

Thank you for the quick reply Halil!

Your explanation about the application logic is very helpful and has made me realize I've been structuring my app incorrectly.. so I will have a bit of work to do to fix it.

Are there any examples or demos that demonstrate the interaction between a domain manager or service and an application service? I am trying to wrap my mind around it and cannot seem to find any mention of it in the documentation (probably because it is simple, and I am too new at this).

Thanks again.

Showing 1 to 2 of 2 entries