-
Notifications
You must be signed in to change notification settings - Fork 712
Bug:Should clean the context.Items cache #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The properties stored in I'm not sure what the issue or expected action is here. |
You can check this blog |
Unfortunately, I don't know what language that is nor what it says. From what I can discern, it appears that you're encountering an issue with using the error page in conjunction with API versioning. Unfortunately, this is currently by design and is a limitation in how end of route middleware work. Both API versioning and the exception handler try to put themselves at the end of MVC pipeline. I've engaged with the ASP.NET team, but there needs to be some enhancements to the routing infrastructure in order to improve the experience. I'm not entirely sure why a service would want an error page, but this is a topic that has come up a few times recently. I suggest taking a look at #221. I provided a workable solution that should help. |
I was able to use a translator on your blog post. I suggest you follow the thread and guidance in #221. That will get you the desired result without changing the IApiVersionRoutingPolicy. This issue is not related to items in the HttpContext. I can provide lengthy explanation if you like. |
The text was updated successfully, but these errors were encountered: