How To

How to use indexers in C#
By Tan Lee Published on Jan 07, 2025 197

In C#, indexers allow objects to be accessed like arrays, enabling you to use an object with index values.

How to use attributes in C#
By Tan Lee Published on Jan 07, 2025 375

Attributes are a powerful feature in C# that allow you to attach metadata to your assemblies.

How to use Redis Cache in C#
By Tan Lee Published on Jan 06, 2025 364

Redis is an open-source, high-performance in-memory caching engine, packed with features, that allows you to efficiently store and retrieve data in your applications.

How to use TinyIoC in ASP.NET Core
By Tan Lee Published on Jan 06, 2025 183

TinyIoC is a compact and high-performance inversion of control (IoC) container that simplifies dependency injection.

Improving Data Access Performance in EF Core
By Tan Lee Published on Jan 06, 2025 150

Entity Framework Core (EF Core) is an open-source ORM (Object-Relational Mapping) framework that connects your application's object model with the underlying database schema.

How to use Fluent Assertions in C#
By Tan Lee Published on Jan 06, 2025 408

Using the Fluent Assertions library in C# can help achieve this by making tests simple, readable, and expressive.

How to use IAsyncEnumerable in C#
By Tan Lee Published on Jan 06, 2025 378

IAsyncEnumerable is a feature introduced in C# 8.0 for working with asynchronous sequences of data.

How to use value objects in C#
By Tan Lee Published on Jan 06, 2025 200

In C#, objects are classified as either value types or reference types.

How to use the Buffer Class in C#
By Tan Lee Published on Jan 06, 2025 426

The Buffer class in .NET allows for faster access to and manipulation of data stored in memory, improving application performance.

How to use HashSet in C#
By Tan Lee Published on Jan 06, 2025 301

The HashSet is a high-performance collection used for storing unique, unordered elements, designed to speed up search operations in applications.

Logging Data to Windows Event Log in C#
By Tan Lee Published on Jan 06, 2025 518

Use the Windows Event Log to store log data for your .NET Core applications on Windows, where the OS logs issues that can be viewed with the Windows Event Viewer tool.

How to use fluent interfaces and method chaining in C#
By Tan Lee Published on Jan 06, 2025 297

Fluent interfaces and method chaining are techniques used in programming to improve code readability and simplicity.