today
Views: 751
Pagination is in front of us everyday yet we take it for granted kind of like we do with most things. It’s what chunks huge lists of data (blog posts, articles, products) into pages so we can navigate through data. This is how you did pagination until this point. using...
more...
3 days ago
Views: 471
Creating functions that return multiple values in C# is an essential skill, especially when working with .NET Core applications. This article delves into various advanced strategies to return multiple values from functions, providing a deeper understanding of each approach with practical, real-world examples. 1. Using Tuples Problem Statement: You need...
more...
May 10
Views: 134
A guide to implementing the Unit of Work pattern in an Entity Framework .NET application and using it to drive additional behaviours. In this article we will explore how the Unit of Work pattern can be used to improve data consistency and drive additional cross-cutting behaviours in our .NET applications....
more...
May 10
Views: 297
The Internet of Things (IoT) has become a pervasive technology with a significant impact on various industries. IoT refers to the network of interconnected physical devices embedded with sensors, software, and connectivity, enabling them to collect and exchange data. The growth of IoT applications has revolutionized sectors such as healthcare,...
more...
one week ago
Views: 1083
In a previous blog post, I showed you how to use PostgreSQL in C# with Npgsql, Dapper, and Entity Framework Core. But if you’re going to use one of them, it’s probably a good idea to make sure you’re not choosing a library that has really bad performance. Or at...
more...
May 7
Views: 179
C# is a powerful programming language, widely used for software development across various domains. One crucial aspect of application development is dealing with PDFs, whether it's generating PDFs, extracting information from existing PDF documents, or manipulating PDF files. In this article, we'll explore five C# PDF generating libraries that every...
more...
May 6
Views: 111
Clean Architecture in practice. Clean Architecture is a popular approach to building software applications. A Clean Architecture defines clear boundaries between different application layers, resulting in improved maintainability. In addition, Clean Architecture approach aims to keep the business logic independent of any specific external frameworks or libraries, making it easier...
more...
May 6
Views: 133
In this article, you will learn: What is hexagonal architecture (or “ports & adapters” as this architecture is officially called)? What are the advantages of hexagonal architecture over classical layered architecture? What distinguishes hexagonal architecture from “clean architecture” and “onion architecture”? How are hexagonal architecture, microservices, and Domain Driven...
more...
May 6
Views: 221
Introduction As a passionate .NET developer, I find myself continuously seeking opportunities to expand my understanding of the .NET ecosystem. In this, my first article ever, I embark on a journey to explore the intricacies of .NET performance, with a specific focus on two prominent JSON frameworks: Newtonsoft.Json and Microsoft’s...
more...
May 5
Views: 157
Introduction Open Data Protocol (OData) is a standard protocol for building and consuming RESTful APIs. It extends traditional REST-based data access techniques by providing a uniform way to expose, structure, and manipulate data. Originally developed by Microsoft, OData is widely adopted because it standardizes queries and interoperability between different systems...
more...
May 3
Views: 696
Imagine that you ask your development team to enable users to search for a product in an online bookstore by category. You expect a straightforward interface with category links to click on (e.g., fantasy, nonfiction, history, etc.) After two weeks of development, you receive a search bar feature where...
more...
2 weeks ago
Views: 219
Introduction In this article, we are going to discuss How to implement Authentication and Authorization in .NET 8 Web API. This is a continuation of.Net 8 series, so if you are new, Please have a look at my previous articles. Authentication and Authorization represent fundamentally different functions. In this article,...
more...
2 weeks ago
Views: 242
Introduction In this article, we are going to discuss What Entity Framework is and How we can implement it in the .Net 8 project. This is a continuation of part 1, so if you are new to this article, please check my part 1 before proceeding. In this article, we...
more...
2 weeks ago
Views: 232
Introduction Creating a CRUD (Create, Read, Update, Delete) API in .NET 8 with an In-memory collection is a common scenario in web development. In this article, we’ll walk through building a complete .NET 8 Web API with a real-world use case. Prerequisites Visual Studio or Visual Studio Code (with .NET...
more...
Views: 240
2 weeks ago
Views: 550
Long polling is a server-push technique used in web applications to efficiently update clients with new information. Unlike traditional polling, long polling keeps the request open until the server has new data to send. This method is beneficial when you want to reduce the latency for data updates without overloading...
more...
Apr 29
Views: 681
Background tasks are crucial in many software applications, and scheduling them to run periodically or at specific times is a common requirement. In the .NET ecosystem, Quartz.NET provides a robust and flexible framework for scheduling such tasks. Let’s delve into what Quartz.NET is, why it is useful, and how we...
more...
Apr 26
Views: 343
You can’t miss these 50 questions if you are preparing for interviews. Last month I was preparing for the interviews and I have collated all the questions from different companies. Although there were many questions but I have picked top 50 that are asked regularly and are highly important for...
more...
3 weeks ago
Views: 665
Follow me on Twitter, happy to take your suggestions on topics or improvements. Introduction Many third-party feature flagging services are available, or your internal team could develop its own feature flag service. For those who prefer standardization, following the OpenFeature guidelines is also an option. However, none of these solutions...
more...
Apr 22
Views: 539
Feature flags, also known as feature toggles or feature flags, are a powerful technique used in software development to enable or disable specific features or code paths in your application without modifying the code itself. This allows you to release new features gradually, test them with a subset of users,...
more...