How To
Error 0x80004005 when starting ASP.NET .NET Core 2.0 in IIS
By Tan Lee Published on Dec 26, 2024 443
The error code 0x80004005 is a general error code that typically points to a problem with file access or missing files.
Using ref, out param in Lambda
By Tan Lee Published on Dec 26, 2024 563
Lambda expressions provide a concise way to define anonymous methods (or inline delegate functions) in C#.
How to Use HTML Colors in C#
By Tan Lee Published on Dec 26, 2024 479
In C#, there are several ways to specify HTML color codes using the built-in Color class in the .NET framework.
Image vs Bitmap in C#
By Tan Lee Published on Dec 26, 2024 467
Many people often get confused about when to use the Bitmap class versus the Image class in C#.
How to Save a PNG File in C#
By Tan Lee Published on Dec 26, 2024 897
In C#, it's simple to work with images by manipulating them as Bitmap objects.
How to load an image in C#
By Tan Lee Published on Dec 26, 2024 605
In C#, you can load an image using the System.Drawing namespace, which provides the Image class.
How to Combine Images in C#
By Tan Lee Published on Dec 26, 2024 572
In this tutorial, we'll walk through the steps of creating a function that takes in several images and combines them into a seamless composition.
Creating MSBuild Tasks in C#
By Tan Lee Published on Dec 26, 2024 664
MSBuild allows you to extend its functionality by creating custom build tasks using C# (or any .NET language), which can be incorporated directly into your MSBuild project files.
Creating a Simple Windows Service in C#
By Tan Lee Published on Dec 26, 2024 408
A Windows Service is an executable that runs continuously without requiring user interaction.
Creating and Reading Global Attributes in C#
By Tan Lee Published on Dec 26, 2024 411
When you create a new project in Visual Studio, an AssemblyInfo.cs file is often automatically created.
How to get an Enum from a String in C#
By Tan Lee Published on Dec 26, 2024 542
In this tutorial, we’ll demonstrate how to convert an enum from a string value in C#.
Benchmarking with Stopwatch in C#
By Tan Lee Published on Dec 26, 2024 409
In this article, I’ll explain how to track time in a .NET application using the basic Stopwatch class.