.NET Core consuming API
One of the common task in a web application is to call web API’s, it could be either external API’s or internal API’s i.e. Web tier calling the APP tier.
One of the common task in a web application is to call web API’s, it could be either external API’s or internal API’s i.e. Web tier calling the APP tier.
One of the most common requirements in a web application is to generate the PDF document either for an invoice, reporting, or any other purpose. As developers are familiar with HTML it would make sense to convert HTML to PDF instead of learning the framework specific language. The open-source solution for it is using the NuGet package DinkToPdf which is a .NET Core wrapper for wkhtmltopdf. As most often the PDF documents are generated in the backend service i.e. Web API, we will explore how to implement it in the most structured way. The source code for this demo is in the GitHub CorePdfDemo repository.
Learning a new programming language can feel overwhelming, but what if I told you that just 20% of C# concepts cover 80% of real-world applications? By focusing on the most frequently used and essential concepts, you can become highly proficient in C# without spending years mastering every little detail.