Skip to main content
Home
Docs
Contact
Store
Blog
Forum
Register
Log in
Home
Forum
Resolving Tenant Information from root provider
To ensure you get the best experience, this website uses cookies.
Learn More
Accept
Session Expiry
For your security, your session will time out in
seconds...
Resolving Tenant Information from root provider
Delete
Edit
0
viewed
724
posted
aboodm
Title
Body
I was trying to resolve site-context from startupextention however i always receive a null context var sp = services .BuildServiceProvider(); var _httpConAcc = sp.GetRequiredService<IHttpContextAccessor>(); var tenant = _httpConAcc.HttpContext.GetTenant<SiteContext>(); Any idea how to resolve this issue ?
Preview
Tags
cloudscribe-core
Save
Cancel Edit
add a comment
add comment
Answers
Please enable javascript to use this feature.
Confirm Delete
×
Are you sure you want to delete the this Thread?
Insert Link
Upload a File
File uploads are not supported
Accepted file types: application/pdf,text/plain
Drop file here or click to browse device for file.
Browse Server
Insert Image
Drop file here or click to browse device for file.
Browse Server
Ask Question
Tags
azure
cloudscribe-core
custom-registration
file-manager
forms-and-surveys
forums
identityserver
membership
navigation
newsletter
pagination
pwakit
simple-content
talkabout-comments
themes