Skip to content

gldraphael/PdfGenerationNodeServicesSample

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published