Mapping Multiple Static File Folders in ASP.NET Core

added by DotNetKicks
8/24/2022 4:43:34 PM

196 Views

Recently I needed to map an external folder as a 'virtual' directory in an ASP.NET Core application to include externally added content into the main Web application. ASP.NET Core's Static File Middleware provides easy mapping of a folder for static file serving, but it's not so obvious to add additional folders for static file serving.


0 comments