How to run ASP.NET Core as a service on Linux (RHEL)
This article walks us through running a ASP.NET Core web application on Linux (RHEL) using systemd. The end goal is to serve ASP.NET Core directly via the built-in Kestrel webserver over port 80/443.
How to run a .NET Core console app as a service using Systemd on Linux (RHEL)
Let's learn how to run a .NET Core console application on systemd. After running aconsole app as a service, we'll upgrade to using the worker template designed for long running services/daemons. Lastly, we'll add the systemd package integration.
Querying data using raw SQL & Stored Procedures in Entity Framework Core
When LINQ queries can't meet the performance requirements of your application, you can leverage Raw SQL and still have EF map the data to concrete .NET objects. You can also invoke Stored Procedures in case the logic of the SQL queries need to reside in the SQL Database.
PowerShell Snippet: Crawling a sitemap
Here's a PowerShell function that you can use to validate that all pages in your sitemap return a HTTP Status code 200. You can also use it to warm up your website, or ensure your website caching is warm after a cold boot. I personally use it as part of my Continuous Delivery pipeline to warm up my site and Cloudflare's cache.