[Archived] Middleware for handling requests for file system resources including files and directories. Project moved to https://github.com/aspnet/AspNetCore
This is intentional, serving dlls risks leaking application code. We have no plans to enable it by default. You can add custom items to the list for your own app.
This bit me in a recent project. Every file type was correctly served as a static file type except *.dll.