18 января 2023 г.
Просмотров: 562
Aha! There is always something intimidating about Dependency Injection. I distinctly remember a couple of years ago, telling a .Net recruiter for a contract project, that,
“I had no idea what DI is”
He immediately stopped talking to me. It’s just one of those moments.
It was true, to an extent. It’s one...
далее...
18 января 2023 г.
Просмотров: 690
What is pagination
So you may have already used this one, but you may be wondering what this pagination 😀. So as in figure 1, pagination helps you break a large number of datasets into smaller pages. For example, a storybook contains 1000 pages. Why does it have 1000 pages instead...
далее...
18 января 2023 г.
Просмотров: 2934
Unit testing is one of the major parts of software testing which can be handled by the developer itself. It is used to test the smallest components of your code. The purpose of the Unit test is to validate the functionality or expected output of your code during your development...
далее...
16 января 2023 г.
Просмотров: 1175
C# AngleSharp tutorial shows how to parse HTML in C# with AngleSharp library.
The library can also parse SVG, MathML, or XML.
AngleSharp GitHub: https://github.com/AngleSharp
Document Object Model (DOM) is a standard tree structure, where each node contains one of the components from an XML structure. Element nodes and text nodes are the...
далее...
15 января 2023 г.
Просмотров: 399
Defined long ago, the SOLID principles are intended to improve the readability, adaptability, extensibility, and maintainability of object-oriented designs. The five SOLID principles of object-oriented class design facilitate the development of understandable, tested software that many developers can use at any time and place.
We give Robert C. Martin, popularly known...
далее...
13 января 2023 г.
Просмотров: 1901
We are going to discuss the Unit of Work design pattern with the help of a generic repository and step-by-step implementation using .NET Core 6 Web API.
Agenda
Repository Pattern
Unit of Work
Step-by-step Implementation
Prerequisites
Visual Studio 2022
...
далее...
11 января 2023 г.
Просмотров: 645
Database Setup with DbUp + Postgresql + Dapper in ASP.Net Core
In this tutorial, we are going to explore how we can setup our database on startup when using Dapper for accessing database.
When using Dapper, one of the key learning I came to know is that we have to have database...
далее...
10 января 2023 г.
Просмотров: 1028
Exception Handling is one of the important topics in Software Development. Exception means mainly run-time errors that occur at the time of execution of your application. The developer needs to handle that exception otherwise the application will be terminated.
Every developer has their own way of handling the errors in their...
далее...
6 января 2023 г.
Просмотров: 659
Introduction
This article will teach us about effective paging, sorting, and filtering using SQL Server Stored Procedure. Find more about Stored Procedure in SQL Server - Stored Procedure.
Article Overview
Background.
Prerequisites.
How to do effective Paging, Sorting, and Filtering with Stored Procedure.
...
далее...
2 января 2023 г.
Просмотров: 808
Simplify complex joins and subqueries using SQL Server Common Table Expressions or CTEs. It also provides a way to query hierarchical data. This article provides a complete overview of CTEs, types of CTEs, benefits, drawbacks, and how to use them with SQL Server.
A Common Table Expression or CTE is a short-lived...
далее...