You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But you can fake it by creating your own instance of HttpContext as shown here. We use that technique for both the AuthorizeAttributeAclModule and the SiteMapNodeUrlResolver.
However, I have never tried to get the entire thing to work with a fake HttpContext. You would also need to have a fake RequestContext as well so all of the route values would be available to match.
Hi,
Is it possible to retrieve the sitemap without having an HttpContext?
The text was updated successfully, but these errors were encountered: