Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 803 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 803 Bytes

ASP.NET Core PDF Generation using Node Services

Generating a PDF file using a node plugin from ASP.NET Core.

Screenshot

Run the sample using Docker

Requires: Docker

docker build -t aspnetpdf .
docker run -d -p 8080:80 aspnetpdf

Now browse to localhost:8080.
You may stop the container using docker stop {imageid}.

Run the sample manually

Requires: .NET Core SDK 2.1.4, node / npm.

npm install html-pdf --save
dotnet run

Now browse to localhost:5000.


The generated PDF's HTML source is borrowed from the marcbachmann/node-html-pdf repo.