in razor its:
<object data="@Model.PdfUrl" type="application/pdf" width="1000px" height="500px">
If you are unable to view file, you can download from <a href="@Model.PdfUrl">here</a>
or download <a target = "_blank" href = "http://get.adobe.com/reader/">Adobe PDF Reader</a> to view the file.
</object>
the server download is the similar