ASP.NET Core api - Serving Static Files code example
Example: I cannot use static files in asp.net
To use Static File you should have nuget package Microsoft.AspNetCore.StaticFiles
To use Static File you should have nuget package Microsoft.AspNetCore.StaticFiles