Skip to main content
All Categories
129 Articles

.NET

Personal Favorite to build Robust Enterprise Grade Backend Systems.

Page 4

Page 4

Showing 37-48 of 129 articles

Page 4 of 11
Scrutor in .NET – Auto-Register Dependencies for Cleaner and Scalable DI
dotnet .NET Web API Course

Scrutor in .NET – Auto-Register Dependencies for Cleaner and Scalable DI

Scrutor is a lightweight, open-source library that extends .NET’s built-in Dependency Injection with powerful assembly scanning features. In this article, you’ll learn how to use Scrutor to automatically register services by convention—based on interface names, lifetimes, or attributes. We’ll walk through real-world examples like scanning entire assemblies, registering services with custom logic, and cleaning up your DI setup for maintainability and scalability.

8 min read
117.6K views
Keyed Services in .NET – Advanced Dependency Injection Techniques
dotnet .NET Web API Course

Keyed Services in .NET – Advanced Dependency Injection Techniques

Keyed Services in .NET 8 make it easier to work with multiple implementations of the same interface. Instead of writing custom factories or using service locators, you can now register and resolve services by a simple key. This makes your code cleaner, easier to manage, and more flexible. In this article, you’ll learn what Keyed Services are, how to use them in real-world scenarios, and when to apply them in your projects.

7 min read
76.9K views
When to Use Transient, Scoped, or Singleton in .NET Apps - Understanding Service Lifetimes
dotnet .NET Web API Course

When to Use Transient, Scoped, or Singleton in .NET Apps - Understanding Service Lifetimes

Service lifetimes—Transient, Scoped, and Singleton—are a core part of Dependency Injection in .NET. Understanding how they work is critical to designing reliable, performant, and bug-free applications. In this guide, we’ll break down each lifetime, how they behave in ASP.NET Core apps, and when to use them. You’ll see real-world examples, learn the impact of each lifetime on memory and object sharing, and avoid common DI mistakes like capturing Scoped services in Singletons.

11 min read
103.6K views
Dependency Injection in ASP.NET Core Explained
dotnet .NET Web API Course

Dependency Injection in ASP.NET Core Explained

Dependency Injection (DI) is a foundational concept in ASP.NET Core — and mastering it is key to building clean, testable, and maintainable applications. In this in-depth guide, we’ll break down what DI really is, how it works under the hood in .NET, and how to apply it effectively in both Minimal APIs and Controllers. We’ll cover real-world use cases, interface-driven design, common pitfalls, and advanced patterns like factory delegates and conditional service registration.

19 min read
86K views
Understanding Middlewares in ASP.NET Core - Everything you Need to Know!
dotnet .NET Web API Course

Understanding Middlewares in ASP.NET Core - Everything you Need to Know!

Middleware is a core component of the ASP.NET Core request pipeline, responsible for handling requests and responses efficiently. Understanding how middleware works, its execution order, and best practices is essential for building scalable and maintainable Web APIs. In this guide, we’ll explore the fundamentals of middleware, how requests are processed in ASP.NET Core, and how to implement custom middleware to enhance your applications.

14 min read
82.8K views
Amazon DynamoDB Streams for .NET Developers - A Complete Getting Started Guide
dotnet aws

Amazon DynamoDB Streams for .NET Developers - A Complete Getting Started Guide

DynamoDB Streams offer a powerful way to capture real-time changes in your DynamoDB tables, enabling event-driven architectures, auditing, replication, and more. In this guide, I will walk you through everything .NET developers need to know to get started with DynamoDB Streams. By the end of this guide, you’ll have a solid foundation for integrating DynamoDB Streams into your .NET applications, unlocking real-time data processing capabilities to enhance your architecture.

12 min read
119.7K views
Amazon SQS vs SNS - Choosing the Right Messaging Service for Your Architecture
dotnet aws

Amazon SQS vs SNS - Choosing the Right Messaging Service for Your Architecture

Modern distributed systems rely on messaging services like Amazon SQS and SNS. They help you decouple these interconnected components, ensuring each part works independently yet harmoniously. Whether it’s queuing tasks for reliable processing with SQS or broadcasting real-time notifications to multiple subscribers with SNS, these tools play a pivotal role in simplifying complex workflows.

15 min read
88K views
Amazon DynamoDB Batch Operations with .NET - Read, Write & Delete
dotnet aws devops

Amazon DynamoDB Batch Operations with .NET - Read, Write & Delete

Batch operations in Amazon DynamoDB allow developers to efficiently perform multiple read, write, update, and delete actions in a single request, optimizing performance and reducing costs. In this article, we'll explore how to implement batch operations using DynamoDBContext in the AWS .NET SDK. By building a simple .NET web API, you'll gain hands-on experience working with DynamoDB batch operations in a practical context.

13 min read
118.9K views
Amazon RDS for .NET Developers Using EF Core - Complete Guide with CRUD
dotnet aws devops

Amazon RDS for .NET Developers Using EF Core - Complete Guide with CRUD

This Guide on Amazon RDS for .NET Developers covers everything you need to know to integrate RDS into your .NET applications seamlessly. From choosing the right database engine (like PostgreSQL) to setting up instances, implementing EF Core for CRUD operations, and scaling with read replicas, this guide equips you with the knowledge and skills to build robust, scalable solutions.

19 min read
91K views
How to Deploy .NET AWS Lambda with Terraform - A Beginner’s Guide
dotnet aws devops terraform

How to Deploy .NET AWS Lambda with Terraform - A Beginner’s Guide

Serverless applications have become a key component of modern software solutions. In many of the .NET projects I've worked on, AWS Lambda plays a pivotal role in the overall system architecture. With Terraform being one of the most widely used Infrastructure as Code (IaC) tools, mastering how to efficiently deploy .NET Lambda functions to AWS is an essential skill for any developer.

12 min read
113.5K views
Essential AWS Services Every .NET Developer Should Master!
dotnet aws devops

Essential AWS Services Every .NET Developer Should Master!

Let's explore the essential AWS services that every .NET developer should know to stay competitive and deliver robust, cloud-native solutions. We'll dive into compute options like EC2, Lambda, and App Runner, storage solutions, databases, and DevOps tools, focusing on how they integrate seamlessly with .NET technologies. By the end, you'll have a clear roadmap for leveraging AWS effectively in your .NET projects in 2025 and beyond. Let's stay updated!

19 min read
75.4K views
Free weekly newsletter

Stay ahead in .NET

Tutorials Architecture DevOps AI

Once-weekly email. Best insights. No fluff.

Join 8,200+ developers · Delivered every Tuesday