I have a .NET Core 2.0 MVC project. One of my models has a NotMapped IFormFile field called PDFUpload that takes an upload and saves the file to a place on the file system outside of the root, that path is saved in the PDF field. When users hit a specific URL, the PDF needs to be displayed in the browser or downloaded. My Details.cshtml View currently just shows the path
How do I turn this into an actual link that will serve the file from a specific URL, and not show the path?
asp.net-mvc asp.net-mvc-4 pdf asp.net-core