ASP.NET Core

Send Emails with Razor Templating in ASP.NET Core

In this article, let’s see how to send an email with dynamically generated email content using Razor View (.cshtml) in ASP.NET Core Create New Solution, Project, References & Add Packages using .NET CLI Note: I’m using dotnet CLI to create the projects and references. One can use Visual Studio as well. Final Project Structure Create …

Send Emails with Razor Templating in ASP.NET Core Read More »

Convert HTML to PDF in ASP.NET Core

Generating PDF files is a common use case. Sometimes, there will be a need to send dynamically generated pdf attachments(like bank statements, invoices, and more) over email or give PDF export/download option to the users in the web portal or in the mobile app via API call. PDF can be designed & generated using popular …

Convert HTML to PDF in ASP.NET Core Read More »