Search code examples
.net

How to stream a PDF file as binary to the browser using .NET 2.0


I'm looking for a way to stream a PDF file from my server to the browser using .NET 2.0 (in binary).

I'm trying to grab an existing PDF file from a server path and push that up as binary to the browser.


Solution

  • Here you go: How To Write Binary Files to the Browser Using ASP.NET and Visual C# .NET