Skip to content
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

The future of ProblemDetailsMiddleware and Core 3 UseExceptionHandler #61

Closed
VictorioBerra opened this issue Jul 31, 2019 · 3 comments
Closed

Comments

@VictorioBerra
Copy link

VictorioBerra commented Jul 31, 2019

Core 3 is bringing some new exception handling goodies to the middleware pipeline https://www.red-gate.com/simple-talk/dotnet/net-development/asp-net-core-3-0-exception-handling/

My question is, with this new middleware, would we be able to take advantage of that and remove any redundancies in the ProblemDetailsMiddleware?

@VictorioBerra
Copy link
Author

See things like App.UseStatusCodePagesWithReExecute("/system/error/{0}");

@khellang
Copy link
Owner

I'm not sure what's new about these things in 3.0. They've been around for years.

Last time I checked, they wanted to add a way to return JSON responses as opposed to always returning HTML, but that won't nearly cover the use cases for this middleware.

@khellang
Copy link
Owner

I'm not sure there's anything to do about this issue. I'm about to release a new version for .NET Core 3.0, with minimal changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants