How it works...

Run your web application and see the basic invoice displayed on the web page. Make sure that you have set your InvoicePrint.aspx page as the start page for your web application. Click on the Print this invoice link.

You will see that the invoice is created in the output path you specified.

Click on the PDF document to open the invoice. 

DocRaptor provides a service that is really useful to developers creating web solutions. If ...

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.