I'm using iTextSharp for generating a pdf. I can save the PDF file from the PDF byte[]. 

```
byte[] outputPDF = cnt.CreateBreakPDF();
File.WriteAllBytes(pdfOutPutPath, outputPDF);

```

What is the best way to display the output `byte[]` to a web page? 

I want to show the PDF inside a div in my page. Not the PDF as a full response.

I've seen answers for MVC, but I'm using ASP.NET Web Application. 

Is there a better way than using HTTP handlers to do so? I don't want to send all the details for creating PDF as query string.