I have a pdf saved to Azures Blob Storage, so I have a url of where the file is stored :
https://appname.blob.core.windows.net/...filename.pdf
When trying to get this to open in a new tab, it downloads it instead, however it works when the file is stored within my MVC app's local storage. I am using the following code:
<p>Click here to view file: <a href="@Model.FilePath" target="_blank">Click here</a></p>
I have read that its browser settings that need to be changed - I have checked in chrome and made sure that "download pdf" is set to no, but its still doing it.
Is there any way I can get this pdf to still open in a new tab instead of downloading ?
Thanks for any help in advance.