static file .net core 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