I am using ASP.NET core 3.1 to send an email with a link to the hosted static file. The link URL looks like https://localhost:5001/ShareFile/DownloadFile/28 my
https://localhost:5001/ShareFile/DownloadFile/28