Circuit
Breaker is a design pattern, it helps to prevent cascading failures and enables
the application to handle errors gracefully.
Cascading
failure
Casc… Read More
Have you ever spent hours debugging a piece of code only to realize that the real problem was how it was structured in the first place? Or found yourself frustrated with a codebase that&rsqu… Read More
In this post,
I am going to explain how to map result set to a list of objects.
To
demonstrate the example, I am using below employee table.mysql> describe employee;
+-------+… Read More
TL;DR: Syncfusion Blazor Pivot Table is the perfect tool for data analysis. To further boost its performance, we’ve shared some best practices, including using individual NuGet packa… Read More
Using BeanInfo#getMethodDescriptors
method, we can get the method descriptors of a bean.
ExampleBeanInfo beanInfo = Introspector.getBeanInfo(clazz);
MethodDescriptor[] methodDescriptors =… Read More
In this
post, I am going to explain how to populate a Java bean from a map.
InputMap map = new HashMap();
map.put("id", 123);
map.put("name", "Krishna Gurram");
map.put("age", 34);… Read More
Lambda Expressions in Java
Lambda expressions in Java are a concise way of writing the anonymous function Java.
It is used to write code in a functional style. It implements a Single Abstrac… Read More
In this brief
tutorial, I'll demonstrate how to retrieve and authenticate the HTTP Response's
StatusCode using HttpClient.
After sending
the Http request – we get back an instance o… Read More
TLDR: Learn to implement CRUD operations in the Syncfusion Blazor Pivot Table using SQL Server and Entity Framework. This guide covers setting up a Blazor project, configuring Entity Frame… Read More
The post Dapper And Strongly Typed IDs – How To Dynamically Register Mappings appeared first on Dev Leader.Dapper and StronglyTypedId are two awesome packages that we can use in our do… Read More
Este programa crea una ventana que muestra un mapa de calor basado en los valores de la matriz proporcionada. Los valores más bajos se representan en negro y los valores más al… Read More
Using
RequestConfig, we can set response timeout.RequestConfig.Builder builder = RequestConfig.custom();
builder.setResponseTimeout(5, TimeUnit.SECONDS);
RequestConfig requestConfig = builde… Read More
TL;DR: Explore advanced query building with Blazor Query Builder, connecting tables seamlessly with complex data binding. Learn to construct SELECT and WHERE clauses, integrate with dialog… Read More
TL;DR: Learn to load appointments on demand in Syncfusion’s Blazor Scheduler using Entity Framework Core. This blog covers setting up the project, creating model classes, implementin… Read More
The post Autofac ContainerBuilder in ASP.NET Core – What You Need To Know (Part 2) appeared first on Dev Leader.There are many ways to manage dependency injection inside our applicatio… Read More
Introduction:
In the realm of web development, the emergence of Blazor represents a transformative leap, redefining conventions with its innovative approach. Developed by Microsoft, Blazor i… Read More
In this blog we are going to see how we can implement a string pool like cache for our own custom class.
Problem statement:
I want to create a Person class that stores name, ssn, address and… Read More
TL;DR: Query parameters define sorting, pagination, or filter operations and are more readable because they include the keys in the URL. URL parameters are less readable because they don&r… Read More
One use case of running ASYNC mode under different thread is there is a long delay, or calling blocking method in the subscriber. So that separate thread can be used to avoid delay… Read More
Context
Both the singleton pattern and the static keyword are concepts that involve shared resources within an application. But when should we use each of them? This article aims to provi… Read More
Introduction
In 1984, Alexey Pajitnov unleashed a global phenomenon: Tetris. This deceptively simple puzzle game, in which players strategically rotate and fit falling shapes, has captivate… Read More
In Spring,
you can create a thread pool using the TaskExecutor interface or its
implementations such as ThreadPoolTaskExecutor. Then, you can submit
asynchronous tasks to this thread pool to… Read More
Benchmark testing for AtomicLongMap
Why am I doing this benchmark test?
It’s important to verify if a particular change for a package, in this case Google Guava performs in an op… Read More
The post C# Regular Expression Benchmarks – How To Avoid My Mistakes! appeared first on Dev Leader.Recently I published an article about the various performance characteristics of usin… Read More
Learn how to boost query performance, operations, and manage large datasets effectively. From basic to advanced tips for developers looking to enhance their EF Core skills.
1. Use AsNoTra… Read More
Documentation
is a crucial aspect of coding, providing insights into the purpose and
functionality of various methods and properties. However, maintaining clear and
concise documentation can… Read More
In
software development, particularly in Java, there are situations where case
sensitivity in data lookups can be a trouble. Consider scenarios where you need
to retrieve values from a colle… Read More
Certainly! I’ll provide detailed notes for each of the chapters you mentioned. However, due to the character limit per response, I’ll provide notes for the first few chapters in… Read More
Hi Developer! Welcome to part 2 of the Mastering Concurrency in Java series! In this blog, we’ll explore some advanced multithreading topics like Reentrant Locks, Semaphores, and Coun… Read More
This example is to demonstrate
send and receive DNS UDP packets
add netty’s built-in ChannelHandler
using Reactor Netty’s interface to build send and receive action
terminate con… Read More
The post Examples of Inheritance in C# – A Simplified Introduction to OOP appeared first on Dev Leader.Object-oriented programming (OOP) is a fundamental concept in software engineerin… Read More
Hello there! Welcome to our Java Concurrency Series!
In this series, we’ll dive into various aspects of Java concurrency, from basic to advanced topics. We’ll begin by tacklin… Read More
From the initial project setup using the .NET CLI to configuring middleware, controllers, and services, learn every step to build a robust API. Discover best practices for dependency injecti… Read More
What is Project Lombok? Have you used this magical library? With the new Java Records feature, you might wonder if Lombok is still relevant. Let’s weigh the pros and cons and see if th… Read More
In brief, Spring Boot is a rigorous tool that provides the developer with the required platform to develop apps of the size and complexity required. In particular, it has hit the nail on Th… Read More
Introduction
Learn how to setup multiple connection strings for an application which is environmental independent. For example, there is a need to communicate to different database server… Read More
The post Autofac In ASP NET Core – How To Avoid This Debugging Nightmare appeared first on Dev Leader.Even though we get access to IServiceCollection when building .NET web apps, I sti… Read More
The post ConstructorInfo – How To Make Reflection in DotNet Faster for Instantiation appeared first on Dev Leader.Recently I wrote an article where I wanted to compare a popular way of… Read More
SkipList
is a specialized form of a Linked List optimized for rapid search and insertion
operations.
In
SkipLists, both insertion and search tasks are accomplished with a time
compl… Read More
Welcome to the Chart of the Week blog series!
Today, we will explore the statistics of the most sustainable kinds of milk using the Syncfusion .NET MAUI Column Chart.
The .NET MAU… Read More
The post How to Use BenchmarkDotNet: 6 Simple Performance-Boosting Tips to Get Started appeared first on Dev Leader.As software engineers, we are always striving for high performance and eff… Read More
Introduction to Diamond Problem in C++
In C++, the “diamond problem” arises in multiple inheritance when a class inherits from two classes that share a common ancestor. This comm… Read More
What is Class Definition in Java
A Class is a template for creating objects in object-oriented languages like Java. Users define classes to build a framework where data and behavior of the o… Read More
The Syncfusion Blazor Media Query component effortlessly adjusts your web applications’ layouts based on browser size, ensuring they look stunning across all devices and screen sizes… Read More
The post Reflection in C#: 4 Code Simple But Powerful Code Examples appeared first on Dev Leader.Reflection in C# is a powerful feature that allows you to inspect and manipulate code at runt… Read More
Posted on Feb 20 The == operator is used to compare the identities of reference data types (not the contents of primitive data types). It basically checks if the references… Read More
Hace poco, andaba enfrascado en el proceso de modernización de una aplicación antigua que, entre otras cosas, guardaba datos en formato JSON en un repositorio de archivos. Dado… Read More
Fluxor is a useful tool for managing application states in a centralized manner, allowing for easier traceability of changes. It is a zero-boilerplate state management library for .NET that… Read More
The post NUnit in ASP.NET Core – What You Need To Get Started appeared first on Dev Leader.ASP.NET Core is an open-source framework for building modern web applications. NUnit, on the… Read More
Welcome to the Chart of the week blog series!
Today, we’ll visualize the most traded goods between the U.S. and China in 2017 using the Syncfusion .NET MAUI Bar Chart control.
Before… Read More
Logging is an essential part of any software development process. Logging is the act of recording events or messages that occur during the execution of a program. Logging can help developers… Read More
Posted on Feb 9 Among other things, C99 added compound literals for arrays, structs, and unions. Just as 42 specifies an int literal, a compound literal specifies a literal… Read More