Search

How to Read a PDF file in C#
By Tan Lee Published on Jul 04, 2024 10.05K

To read a PDF file using iTextSharp in a C# Windows Forms Application, you'll need to follow these steps.

Read more
How to compress and decompress strings in C#
By Tan Lee Published on Dec 30, 2024 498

Compressing string data using compression algorithms like GZip and Brotli can help reduce memory payload and improve application performance.

Read more
How to restart program in C#
By Tan Lee Published on Nov 10, 2024 823

To restart a program in C#, you can achieve it by launching a new instance of the program and exiting the current instance.

Read more
How to Send an email using gmail API in C#
By Tan Lee Published on Mar 02, 2024 16.82K

To send an email using the Gmail API in a C# Windows Forms Application, you'll need to follow these steps.

Read more
How to Use XmlSerializer to serialize in C#
By Tan Lee Published on Mar 01, 2025 148

To use XmlSerializer to serialize objects in C#, you need to follow these steps:

Read more
How to Print DataGridView with Header & Footer with Landscape in C#
By Tan Lee Published on Jun 19, 2017 18.51K

To print data from a DataGridView in C# Windows Forms with a header, footer, and landscape orientation using the DGVPrinter library, you can follow these steps.

Read more
How to Create Effect Winform using AnimateWindow in C#
By Tan Lee Published on Jun 13, 2024 8.06K

To create an effect in a WinForm using AnimateWindow in C#, you can follow these steps.

Read more
How to handle DataGridViewButtonColumn click event in C#
By Tan Lee Published on Feb 28, 2025 231

Handling the DataGridViewButtonColumn click event in C# involves a few key steps.

Read more
How to pass anonymous types as parameters in C#
By Tan Lee Published on Nov 22, 2024 779

In C#, you generally cannot pass anonymous types directly as parameters to methods because they do not have a named type that can be referenced outside their declaration scope.

Read more
How to Get the amount of RAM available on the System in C#
By Tan Lee Published on Jun 11, 2024 20.32K

How to get the amount of RAM available on the System in C# using System.Management.

Read more
How to Minify HTML using WebMarkupMin in ASP.NET Core
By Tan Lee Published on Jul 04, 2024 846

Minifying HTML in ASP.NET Core MVC using WebMarkupMin involves a few steps.

Read more
How to Minify HTML using WebMarkupMin in ASP.NET MVC
By Tan Lee Published on Jul 04, 2024 727

Minifying HTML at runtime in ASP.NET MVC using WebMarkupMin to make your web page load faster involves a few steps.

Read more
How to fix Using 'UseMvc' to configure MVC is not supported while using Endpoint Routing
By Tan Lee Published on Jun 10, 2024 1.24K

How to solve the problem Using 'UseMvc' to configure MVC is not supported while using Endpoint Routing when changing ASP.NET Core 2.2 to 3.0

Read more
How to Increase upload file size in ASP.NET Core
By Tan Lee Published on Jun 10, 2024 821

To increase the upload file size in ASP.NET Core, you typically need to adjust settings in both your application code and your server configuration.

Read more
How to Create Installer using Inno Setup
By Tan Lee Published on Apr 18, 2024 5.01K

How to create a setup file, add ms access database to setup using Inno Setup

Read more
How to Include Crystal Reports Runtime into your application setup
By Tan Lee Published on Feb 24, 2024 1.15K

To include Crystal Reports Runtime into your application setup, you typically need to perform the following steps:

Read more
How to Configure ASP.NET Core Identity password policy
By Tan Lee Published on Feb 18, 2024 444

This post shows you 'How to Configure ASP.NET Core Identity password policy require at least one special character, one uppercase letter, one number...etc'

Read more
How to use Dependency Injection in ASP.NET Core
By Tan Lee Published on Feb 18, 2024 449

ASP.NET Core is designed from the ground up to support and leverage dependency injection

Read more
How to Increase the max upload file size in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 432

By default, you only upload up to 4MB (4096 KB) when hosting your website on IIS.

Read more
How to upload image in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 472

I have a properties in my Item model class like FoodType, Price, Description, Amount, Image.

Read more