عرض المشاركات من يونيو, 2021

Reusable Countdown Timer Using HTML5 Web Components & JavaScript

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…

Disposal and garbage collection in C#

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 …

Iterating One Dimensional Array As Two Dimensional Array-C#

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#

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…

CQRS Pattern Using MediatR In - C#

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 …

تحميل المزيد من المشاركات
لم يتم العثور على أي نتائج