Thomas Ardal

Thomas Ardal

Denmark
266 posts
How to authorize and post Slack messages from ASP.NET Core 💬

All of your favorite tools (elmah.io anyone?) integrate with online messaging tools like Slack. It's essential for moderne companies to be notified on Slack when new errors are logged, when a build fails, when customers are acquired, etc. In this post, I'll show you how to create an ASP. ...

Upload and resize an image natively with ASP.NET Core 🖼️

I have blogged about upload and resizing with ASP.NET Core already: Upload and resize an image with ASP.NET Core and ImageSharp. With this post, I want to show a simple approach for uploading and resizing images with ASP.NET Core that doesn't require any external libraries. The solution ...

Show a name and profile photo with .NET and Gravatar 🤵

Most systems dealing with users have some way of letting people input their name and upload a profile photo. Other systems only know user's email addresses and don't have the luxury of showing additional information. Don't have a profile photo on your users or do you want a fallback photo ...

Introducing Breadcrumbs

We're happy to announce the introduction of Breadcrumbs on elmah.io. If you have used similar logging solutions you may know the concept behind breadcrumbs already. If not, let me start with a short introduction. When an error happens in your application, our range of integrations tries to pick up ...

Create a colored CLI with System.CommandLine and Spectre 🎨

No matter how fancy desktop, web, and mobile applications get, we will always need command-line interfaces (CLI). We already blogged about how you can build a CLI here: Building a command-line tool with progress bar in .NET Core. Since writing that post we have introduced the elmah.io CLI where ...

Adding CAPTCHA on form posts with ASP.NET Core 🚦

We all know and dislike them. Those pain-in-the-... CAPTCHA challenges you need to complete to complete form posts online. I cannot count the number of fire hoses, trains, trucks, and light signals I have identified over time. But, while annoying, CAPTCHASs also serve a purpose. In this post, I'll introduce ...

Pretty print/syntax highlight .NET stack traces in a browser ✨

Being a perfectionist like me, I cannot help notice every time someone publishes an either unformatted or non-highlighted .NET stack trace online. I mean, StackOverflow is filled with these things. I have built this online Stack Trace Formatter to help. But what if you want to print stack traces on ...

Subscribe users to a Mailchimp newsletter from .NET/C# 📧🐵

You have spend a lot of time building your high-quality newsletter and now you want people to sign up. Including the usual <script> element, provided by Mailchimp, on your website is easy. But what if you want to ask people to subscribe as part of signing up as ...

We are looking into GitHub Sponsors (and you should too)

Ever since GitHub Sponsors was announced back in 2019, we have been looking into using that to give back a little to some of the people behind the open-source projects we use and love. Being a bootstrapped company we don't have thousands of dollars to hand out, but a little ...