Adding Additional Mime Mappings to the Static File Provider

added by DotNetKicks
6/15/2020 3:53:20 PM

374 Views

If you're using the Static File Provider in ASP.NET Core you might need to add some additional extensions that are not handled by default. For example, if you host a Blazor site in your own application an additional mime mapping for `.dll` is required. Here how you can map extra extensions to the Static File middleware.


0 comments