Generate PDF in dot net core web API | Create Invoice PDF in .NET CORE 6.0 Web API |
|
#dotnetcore #pdf #nihiratechiees
This video explains how to generate Invoice PDF from .NET CORE 6.0 Web API Link for preview pdf in angular from .NET Core API ============================================ https://youtu.be/EmGwUvs6VpE Steps Followed ============= 1, Install the below package dotnet add package Polybioz.HtmlRenderer.PdfSharp.Core --version 1.0.0 2, Add below namespace’s using PdfSharpCore; using PdfSharpCore.Pdf; using TheArtOfDev.HtmlRenderer.PdfSharp; 3, Create the generate html content based on dynamic data 4, Generate pdf using the html content GitHub Link for source code ======================= https://github.com/nihira2020/SalesOrderAPI Join this channel to get access to perks: https://www.youtube.com/channel/UCsbmVmB_or8sVLLEq4XhE_A/join |