How To

Object Services Layer in Entity Framework
By Tan Lee Published on Jan 02, 2025 150

To reduce the impedance mismatch between the object model and data model in an application, you can leverage the Object Services Layer in ADO.NET Entity Framework.

Understanding Virtual and Abstract Methods in C#
By Tan Lee Published on Dec 30, 2024 290

In C#, abstract methods and virtual methods both serve important roles, but they differ in their behavior and use cases.

Improving Entity Framework performance
By Tan Lee Published on Jan 02, 2025 125

The article discusses best practices for optimizing the performance of Entity Framework (EF), an ORM for ADO.NET.

Working with ActionResults in Web API
By Tan Lee Published on Mar 08, 2020 304

Action Results in ASP.Net Web API allow you to return data as an `HttpResponseMessage` object from controller methods, helping build stateless and RESTful HTTP services.

How to use symmetric and asymmetric encryption in C#
By Tan Lee Published on Jan 02, 2025 342

This article teaches how to secure data in .NET applications by encrypting and decrypting it using either a single key (symmetric encryption) or a public/private key pair (asymmetric encryption).

How to fix 'Chosen with bootstrap not working properly'
By Tan Lee Published on Feb 16, 2024 417

To fix an issue where Chosen (a jQuery plugin for enhancing <select> elements) is not working properly with Bootstrap, there are a few common problems and solutions to check.

ASP.NET Core Performance Optimization Tips
By Tan Lee Published on Mar 08, 2020 219

ASP.NET Core offers several enhancements to reduce memory usage and boost performance.

Best Practices to Improve ASP.NET Core Performance
By Tan Lee Published on Mar 08, 2020 248

This article shows some important tips to improve the performance of your ASP.NET Core applications.

How to Maximize Performance and Scalability in ASP.NET Core
By Tan Lee Published on Mar 08, 2020 293

Optimizing application performance is essential for improving user experience, regardless of the number of users.

Improving API Performance in ASP.NET Core
By Tan Lee Published on Jan 02, 2025 262

Optimizing resource use in web APIs is crucial for enhancing performance and scalability.

How to implement a custom object mapper in C#
By Tan Lee Published on Dec 31, 2024 279

AutoMapper simplifies the process of object mapping, especially when dealing with objects that have similar structures.

How to implement JWT authentication in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 615

Securing minimal API endpoints in ASP.NET Core using JSON Web Tokens (JWT) for authentication and authorization is straightforward.