How To
IExceptionFilter in .NET Core
By Tan Lee Published on Feb 21, 2025 156
In ASP.NET Core, the IExceptionFilter interface is used to handle exceptions that occur during the processing of a request.
Repository Pattern in .NET Core
By Tan Lee Published on Feb 21, 2025 309
Effective code organization is crucial when developing modern software, especially as the application structure becomes more intricate. One of the most effective design patterns to manage this complexity is the Repository Pattern.
CRUD with Dapper in ASP.NET Core
By Tan Lee Published on Feb 21, 2025 283
In this guide, you will learn how to work with Dapper in an ASP.NET Core MVC application for basic CRUD operations using .NET 8 with SQL Server.
How to Implement Mediator Pattern in .NET
By Tan Lee Published on Feb 21, 2025 171
In complex applications, objects often need to communicate with one another. While this may be simple in smaller applications with only a few components, the complexity increases as more components are added.
How to use AutoMapper in ASP.NET Core
By Tan Lee Published on Feb 21, 2025 157
In this guide, we will walk through how to integrate and use AutoMapper in an ASP.NET Core application.
How to fix 'asp-controller and asp-action attributes not working in areas'
By Tan Lee Published on Feb 18, 2024 1.2K
In ASP.NET Core, if you're facing issues where the asp-controller and asp-action attributes aren't working, or if you encounter errors like 'form asp-action in areas can't find a controller,' you can follow these steps to resolve the issue.
How to convert voice to text in Javascript
By Tan Lee Published on Feb 19, 2025 153
To convert voice to text in JavaScript, you can use the Web Speech API's webkitSpeechRecognition interface, which is built into most modern browsers, primarily Chrome.
LET vs VAR in JavaScript Variable Declarations
By Tan Lee Published on Feb 19, 2025 134
In JavaScript, both let and var are used to declare variables, but they differ in terms of scope, hoisting, and redeclaration rules.
How to add voice commands to webpage in Javascript
By Tan Lee Published on Feb 19, 2025 230
To add voice commands to your webpage using JavaScript, you can use the Web Speech API, specifically the SpeechRecognition interface.
How to capture an image in javascript
By Tan Lee Published on Feb 19, 2025 179
dom-to-image is a JavaScript library that allows you to convert any DOM node into a vector (SVG) or raster (PNG) image.
How to Build Your Own JavaScript Library
By Tan Lee Published on Feb 19, 2025 152
Creating your own JavaScript library can be a fulfilling project that helps you organize and streamline your code.
How to reverse a string properly in Javascript
By Tan Lee Published on Feb 19, 2025 171
In this guide, we’ll explore how to reverse a string in JavaScript correctly, without running into any issues related to encoding.