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

Breaking changes: UseErrorHandler & UseErrorPage extensions have been renamed #63

Open
kichalla opened this issue Sep 11, 2015 · 0 comments

Comments

@kichalla
Copy link
Member

After some feedback following extensions have been renamed:

  1. UseErrorHandler and related overloads have been renamed to UseExceptionHandler to indicate that only un-handled exceptions are handled in this middleware.
  2. UseErrorPage and related overloads have been renamed to UseDeveloperExceptionPage to indicate this middleware is supposed to be used during development scenarios.

The above extensions register middleware which also have been renamed. Since its very common to use the above extensions, following renames should not affect you:

  1. ErrorHandlerMiddleware -> ExceptionHandlerMiddleware
  2. ErrorPageMiddleware -> DeveloperExceptionPageMiddleware

For any questions related to this announcement, please comment over here: aspnet/Diagnostics#178

@kichalla kichalla added this to the 1.0.0-beta8 milestone Sep 11, 2015
@aspnet aspnet locked and limited conversation to collaborators Sep 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant