Thomas Ardal

Thomas Ardal

Meet Thomas, the founder and developer behind elmah.io. Thomas blogs about everything technical from C# and ASP.NET Core to machine learning.

Denmark
313 posts
Save money on Azure with cost analysis and free tools

TOC Microsoft Azure is an awesome cloud platform. We have been hosting elmah.io on Azure since day one. To say that Azure is expensive is probably not fair. But the easy point-and-click interface and the advanced scaling options can quickly cause your bill to grow out of control. In ...

Top 10 books every .NET/C# developer should read

TOC Reading blog posts accounts for a great deal of my reading and learning about technology. Combined with videos from conferences, I feel like I'm up to date on new things being launched. But when I need to dig deep into a subject, I never get around reading ...

Access ASP.NET Core website hosted on IIS Express from a phone

While developing the new ASP.NET Core based app for elmah.io, I wanted to make sure that everything is mobile friendly on a phone too. While emulators and the Device toolbar in Chrome get you part of the way, testing on a real device is inevitable. In this post, ...

Cookie authentication with social providers in ASP.NET Core

When needing to implement authentication in ASP.NET Core, there are several different options. Almost all of the documentation and examples expect you to use ASP.NET Core Identify. For a SQL Server-based application, Identity may be a good choice. But a lot of applications don't need the ...

Introducing Heartbeats

Time for some exciting news from your friends at elmah.io. Introducing elmah.io Heartbeats. We don't just want to be your go-to tool when needing to monitor web applications. All companies use a combination of tools and frameworks to create business value for their customers. Windows services, ...

Export data to Excel with ASP.NET Core

I had to export some data to Excel from an ASP.NET Core website. I have been implementing a lot of exporting in the past with ASP.NET and ASP.NET MVC. Supporting the same in ASP.NET Core was a good excuse to look at different possibilities and write ...

Extending the date for removing the v2 API

Due to the current health situation, we have decided to extend the period where the old v2 API will be supported. The v2 API will be removed on June 1th 2020. We have created this guide for upgrading from v2 to v3: https://docs.elmah.io/upgrade-elmah-io-from-v2-to-v3/ To make it ...

NLog Tutorial - The essential guide for logging from C#

TOC When NLog originally came out, I was hooked. Such a step up from the world of log4net. Then Serilog came out and I lost track of the progress on NLog. For years I even considered it dead. Boy was I wrong. NLog has developed impressively over the years and ...

Cross-site request forgery (CSRF) with ASP.NET Core and AJAX

ASP.NET Core comes with built-in support for cross-site request forgery (CSRF) checks in both old school form posts and AJAX requests. I believe the examples in the official documentation is hard to understand and requires you to change every request made through jQuery or similar frameworks to make server ...