Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
The Database First Approach, an alternative to Code First and Model First, generates model codes from the database. In this example, the IDashboardRepository interfaces with a database to retrieve and manipulate data for a dashboard.

Optimizing EF queries is crucial for improving the performance of your application. By minimizing database roundtrips, reducing redundant data retrieval, and enhancing query execution efficiency, you can achieve significant gains in application speed and resource utilization.

FluentValidation is an open-source .NET library that provides a fluent interface for defining and executing validation rules. It enables developers to express complex validation logic in a clear and readable manner.

Understand the distinctions between RPC and gRPC, and compare gRPC with REST in terms of protocol, data format, streaming, and performance. Discover the benefits of gRPC, including its speed, support for multiple languages, and various communication types. Understand the distinctions between RPC and gRPC, and compare gRPC with REST in terms of protocol, data format, streaming, and performance. Discover the benefits of gRPC, including its speed, support for multiple languages, and various communication types.

Enter Minimal APIs in ASP.NET Core, a lightweight and streamlined approach to building web applications. In this detailed blog, we'll explore the concept of Minimal APIs, understand why they matter, and walk through their implementation in ASP.NET Core.

The advent of records has ushered in a paradigm shift, especially in the realm of Data Transfer Objects (DTOs). These lightweight, immutable structures offer a compelling alternative to traditional classes, simplifying the creation and usage of DTOs.

What is the difference b/w middleware and filters in .NET? Middleware vs Filter in .Net Core

Things to take into consideration when using a static constructor. A static constructor in C# is automatically called to initialize the class before the first instance is created, or any static members are referenced.

Parallel processing has become an essential aspect of modern software development, allowing developers to exploit the power of multi-core processors for improved performance. In C#, two commonly used methods for parallel execution are Parallel.ForEach and List.ForEach. In this blog post, we'll explore the nuances of these two approaches, their differences, and when to choose one over the other

You will learn how to build or create DBContext options manually. In specific scenarios, manually creating Entity Framework Core DbContext options is required. Despite DbContextOptions<TContext> not being designed for direct construction, DbContextOptionsBuilder<TContext> facilitates it.

Use C# .net Web API to track the marketing email open rate by your customer

.NET Core is a versatile and powerful framework that has taken the world of software development by storm. In our comprehensive beginner's guide, we'll unravel the fundamentals of .NET Core, providing you with a solid foundation to kickstart your journey in this dynamic technology. From understanding its architecture to exploring the key components and concepts, this blog will equip you with the essential knowledge you need to embark on your .NET Core adventure. Join us as we demystify this popular framework and set you on the path to becoming a .NET Core pro.

In the world of software development, Test-Driven Development (TDD) stands as a powerful approach to crafting robust, maintainable code. This methodology, particularly in .NET Core, promotes writing tests before writing the actual code. By following this approach, developers ensure that their code meets the intended requirements and remains resilient to changes over time. In this blog, we'll delve into the fundamentals of TDD using XUnit and Moq in a .NET Core environment and showcase its implementation through an illustrative example.

.NET Core is a versatile and powerful framework that has taken the world of software development by storm. In our comprehensive beginner's guide, we'll unravel the fundamentals of .NET Core, providing you with a solid foundation to kickstart your journey in this dynamic technology. From understanding its architecture to exploring the key components and concepts, this blog will equip you with the essential knowledge you need to embark on your .NET Core adventure. Join us as we demystify this popular framework and set you on the path to becoming a .NET Core pro.

.NET 6 is an LTS (Long Tern Support) Version. It will be supported for three years. It is the latest long-term support release. The previous version, .NET Core 3.1 support has finalized in December 2022, and support for .NET 5 already ended in May 2022. This article describes how to upgrade the solution from .NET Core 3.1 to .NET 6.0 with an example of web application project

Asp.Net Core MVC (.Net 6.0) CRUD Operation with multiple tables.

Deployment is a crucial step in the software development lifecycle, and choosing the right deployment strategy can greatly impact the success of your project. In this blog post, we'll explore several deployment strategies, their pros, and cons, helping you make informed decisions for your software deployment.

In this article, we are going to learn how to configure Swagger Ui in Asp.net core Web Application

Creating a minimal API is an excellent way to build lightweight and efficient web services using .NET 6. Minimal APIs provide a clean and straightforward approach to designing APIs with minimal boilerplate code. In this blog post, we will guide you through the process of creating a minimal API using .NET 6.

In any application, data validation is a critical aspect of ensuring data integrity and preventing errors. In .NET Core applications, handling data validation has become more straightforward and expressive with the help of FluentValidation. FluentValidation is a widely used library that allows you to define and apply validation rules in a fluent and readable manner. In this blog post, we'll explore how to use FluentValidation to simplify data validation in your .NET Core projects.

Service Discovery (Consul) in ASP .NET Core API with Ocelot Gateway.

In C#, Action, Func, and Predicate are built-in delegate types that provide a convenient way to work with methods as first-class objects, especially when dealing with functional programming, LINQ, and other scenarios. In this blog post, we will delve into each of these concepts accompanied by illustrative examples.

Date and time are fundamental aspects of many applications, and in C#, managing them has historically involved using the DateTime structure. However, C# 10.0 introduced two new valuable additions: DateOnly and TimeOnly. These types provide a more elegant and precise way to work with date-only and time-only values, respectively. In this blog post, we'll explore how to use DateOnly and TimeOnly in your C# applications.

NET Core allows .NET development on any OS, any CPU and any device. It enables cross-platform apps that can run on Linux, Windows, and macOS. Learn what NET Core is, its advantages over .NET Framework and how it is revolutionizing .NET development.

In the world of programming, constants play a pivotal role in ensuring code readability, maintainability, and reducing redundancy. In C#, two main types of constants, namely const and static readonly, offer distinct advantages and use cases. In this blog post, we will unravel the intricacies of these constants and explore when to use each.
Everything on .NET Core, not only its blogs: the .NET Core page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite a blog post and earn +250 SHARP when it is approved.
Write a blog