Contributions

Article
Show you how to generate a PDF file from ASP.NET for free. There are a lot of paid components out there, but it doesn't have to cost you anything.
Article
Learn how to create Roslyn Analyzers to help add ASP.NET Core middleware and in the right order.
Article
The ultimate guide to sending emails from C# based on our experiences with the built-in SMTP library in .NET, AWS Simple Email Service, Mandrill, and Azure.
Article
Get all the details about how to convert a string to int with C#. Learn how to handle exceptions and all of the worst practices that everyone is doing.
Article
Tutorial to build and publish a console application including the .NET Core framework from Azure DevOps Pipelines.
Article
Setting up recurring payments from ASP.NET Core is easy with Stripe Billing. Read about how to use Stripe.js and the .NET client to create subscriptions.
Article
Simple example of how to implement request logging using Microsoft.Extensions.Logging and ASP.NET Core middleware. Plus things to be aware of during config.
Article
How to secure your cookies in ASP.NET and MVC, using Secure and HttpOnly attributes. Also learn about Cross-site tracing and Cross-site request forgery.
Article
A real-life example of how to find anomalies in time-series data using spike detection available in ML.NET. Learn how to utilize the Microsoft.ML package.
Article
Get help debugging System.NullReferenceException. The post will teach common solutions for both identifying and fixing causes of a NullReferenceException.
Article
When starting to work with Entity Framework and SQL Server, you often run into the same errors. Sometimes these errors are caused by missing permissions for the database connection, and sometimes it's caused the way that the database is accessed. In this article, we will go through some of the most common errors and some of the possible ways these errors could be fixed.
Article
.NET offers an extended set of APIs to write content to a file. In this post I will list and compare the possibilities, showing you the best ways in 2019.
Article
Five best practices that will make you an absolute pro when working with exceptions. Make sure not to make these common mistakes when writing C#.
Article
Learn how to configure IIS to allow both long URLs as well as long query strings. Without it, your web server may return 404s to your users.
Article
The aim of this post is to teach you how to implement Identity Authentication & Authorization with OAuth, Facebook and ASP.NET Core 3.0.
Article
In this article, you will learn how to save bandwidth and convert png and jpg images to Google's WebP format using ImageProcessor and ASP.NET Core.
Article
Learn every detail about multiple Web.config files in the same project and how to utilize the location element to support per file/directory configuration.
Article
This post is an overview of .NET tools I've built and a bit of history behind each tool. Learn more about the Web.config validator and XDT transform tester.
Article
A great way to learn the newest technology available in .NET is through live coding sessions. You can find a lot of streams on both Twitch and YouTube.
Article
IIS rewrite rules is a powerful feature that enables redirect www to non-www, non-www to www, force HTTPS, and much more. This post will teach you how.
Tool
Test your XDT transformation files against the original Web.config file. The only online tool that shows you the diff of your changes directly in your browser.
Article
The best tutorial for web.config/app.config transformations. Learn the syntax and how to test it. Included are also examples like replacing appSettings.
Article
Learn how to debug System.AccessViolationException when calling C++ code from C#, with unhandled errors in IIS modules and from the WebBrowser control.
Article
Learn everything about how to debug async errors in C# like: Exception thrown System.AggregateException in mscorlib.dll - a task was canceled.
Article
Learn everything there is to know about connection strings in web.config. From setting up SQL Server using Windows Authentication to password encryption.
Article
In this tutorial I will tell you about logging in C#, how to create log4net configuration, explaining log levels, and examples with different appenders.
Article
Possible causes and fixes of the System.UnauthorizedAccessException. Continue reading to learn about IO errors when dealing with files or setting up IIS.
Article
Learn everything you need to know about showing custom error pages in ASP.NET and MVC using the customErrors element in your web.config file.
Article
Serilog and log4net are popular choices when choosing a logging framework in .NET. Read this guide to learn all about each framework and what to pick.
Article
Accepting payments through Stripe using ASP.NET Core is a perfect choice. Read through this post to get started fast and to learn about the pitfalls.

Showing the last 30 only...