Here Mudassar Ahmed Khan has explained with an example, how to read files from wwwroot Directory in Controller in ASP.Net Core MVC.
The files will be read using the File class from the wwwroot Directory (Folder) and will also be downloaded in ASP.Net Core MVC.
↧