عرض المشاركات من يونيو, 2021
When the HTML5 web component renders, it called several callback events. You can define several different callbacks inside a custom element’s class definition, which fire at various points in the element’s lifecycle: connectedC…
Object lifetime in C# What new keyword does? Allocate Objects onto one of two heaps How Garbage collection works? The System.GC type How to avoid Memory Leak? Building Disposable Object Finalizer (+ Freachable) Queue …
This article will show you how to store a 2D array as a 1D array in C#. (This technique can be applied to any language). 2D Row: 1 Col: 1 Row: 1 Col: 2 Row: 1 Col: 3 Row: 2 Col: 1 Row: 2 Col: 2 Row: 2 Col: 3 …
Best Practice for Using HttpClient-C# Almost every application nowadays is making HttpRequest get data from other services. In this article, I will share some best practices for using the .net core HttpClient API. To understan…
What is MediatR library What is Mediator Pattern? What is Command Query Responsibility Segregation (CQRS) How to implement MediatR in .NET Core application Install Mediatr package from NuGet Install MediatR Dependency …