Convert PDF to Image in C#

The simplest way to convert PDF to image as of 2024 is using PDFtoImage libary like below. This libary works for dotnet 8.0 as well. example: Read pdf file and save page 1 (index 0) to jpg file. using PDFtoImage; using var pdfStream = File.OpenRead(@”Sample.pdf”); Conversion.SaveJpeg(“image-fileStream.jpg”, pdfStream, 0, options: new(Dpi: 300, Width:1024, Height:null, WithAspectRatio:true)); You… Continue reading Convert PDF to Image in C#

Tools for .Net developers in 2024

Tools Resharper One of the most popular productivity tool for Visual Studio users. The need for Resharper is reduced for the recent few years though. I’m simply so familiar with it and it’s muscle memory now. ChatGPT and GitHub Copilot A LLM based support is key productivity tool for developer since it’s introduced. The more… Continue reading Tools for .Net developers in 2024

How to create a resilient Web API using dotnet and Polly library

Polly is a useful dotnet library to make a web service call resilient by introducing retry, circuit breaker and fallback policy with ease. It is common to add retry logic when a web service call is failed. However, integrating retry, circuit breaker and fallback logic can be tricky. Polly makes it easy.   The retry… Continue reading How to create a resilient Web API using dotnet and Polly library

A DotNet developer’s note on Technology Radar V28

As a new Technology Radar release with a bunch of interesting techs, a few drew my attention. Techniques Applying product management to internal platforms: product mindset includes a roadmap, value to biz, and consumer experience enhancement. CI/CD infrastructure as a service: Our team has been using Jenkins hosted on-prem and started moving to Azure DevOps.… Continue reading A DotNet developer’s note on Technology Radar V28