today
Views: 891
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...
2 days ago
Views: 95
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...
3 days ago
Views: 82
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...
3 days ago
Views: 149
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 3
Views: 597
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...
one week ago
Views: 147
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...
one week ago
Views: 164
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...
one week ago
Views: 152
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: 146
one week ago
Views: 460
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: 598
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: 299
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...
2 weeks ago
Views: 576
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: 487
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...
Apr 19
Views: 671
Explore the benefits and risks of using AI-generated code in software development and when and how to leverage it to stay competitive. Artificial intelligence (AI) has shaped numerous industries over the past few years, from automation and minimizing errors to boosting worker productivity. One key field that AI is revolutionizing...
more...
3 weeks ago
Views: 4982
One of the most used databases these days is PostgreSQL (aka Postgres). Its accomplishments include being the most popular DB [among professional developers] according to Stack Overflow survey of 2022, the database in all of the fastest TechEmpower benchmarks, and being the most advanced open source database (self-proclaimed). We’ll talk...
more...
Apr 16
Views: 346
In software engineering, composition plays an important role in object-oriented programming. If you’ve come across other articles or videos I’ve put out about object-oriented programming, you’ll know that I try to push composition over inheritance as much as I can. This is strictly because I have seen overuse of inheritance...
more...
Apr 15
Views: 7251
Scheduling one or more background tasks is almost inevitable when building robust, self-sustaining APIs with .NET. A few packages have been around for years, such as Hangfire and Quartz.NET. ASP.NET Core allows background tasks to be implemented as hosted services. However, you might need something more customizable and lightweight with...
more...
Apr 14
Views: 342
I recently migrated this blog from WordPress to a custom Nuxt site. I moved from WordPress to have more control over the blog and not have to rely on plugins to do everything. It’s worked out really well but there is one plugin I do miss: Smush ☹️ Performance is...
more...
Apr 13
Views: 1105
In this article, let’s learn about how to perform file upload in ASP.NET Core 6. The file for upload can be of any format like image (jpg, BMP, gif, etc), text file, XML file, CSV file, PDF file, etc. We will learn how to design a web page that allows...
more...