Open Closed

ApplicationService Lazy Properties are null in everytime #35


User avatar
0
talhazengin created

Hi,

We encountering null reference problem when using lazy CurrentTenant, CurrentUser or other lazy properties.

But when we inject them through constructor as like ICurrentTenant there is no problem.

Are we missing a simple thing?

CurrentTenantNull.PNG

Thanks.


4 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10