Remove ExceptionDetailsProvider dependency from Hosting
Open
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

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
Assessment
This issue has not been assessed yet.