Skip to content

Instantly share code, notes, and snippets.

View teedor's full-sized avatar

Stephen Anderson teedor

  • Clean Wave Software Limited
View GitHub Profile
@tmakin
tmakin / ExportPdf.cs
Last active December 17, 2022 11:29
Create PDF Rendering service in Azure Functions
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using DinkToPdf;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using IPdfConverter = DinkToPdf.Contracts.IConverter;