dotnet / dotnet/aspnetcore

Remove ExceptionDetailsProvider dependency from Hosting

Open
#24,510 5 comments 0 reactions 1 assignee Claimed by @davidfowl View on GitHub
affected-very-few area-hosting area-networking severity-nice-to-have task
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

This is an extremely heavy dependency for a very rarely used feature that isn't on by default. It pulls in **Microsoft.DiaSymReader.Native.amd64.dll** which is 1.4MB

![image](https://user-images.githubusercontent.com/95136/89118693-79935580-d45c-11ea-94b7-8befb2c57b56.png)

We should nuke this feature and let people use the developer exception page, a custom middleware, or logging to see exceptions.

EDIT:

This is for startup errors, not for per request errors. Also this dependency is only required for non-portable PDBs which isn't the default and we should optimize for not having this dependency.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.