Skip to main content
codewithmukesh
All Categories
130 Articles

.NET

Personal Favorite to build Robust Enterprise Grade Backend Systems.

Page 6

Page 6

Showing 61-72 of 130 articles

Page 6 of 11
Serverless Image Processing with .NET on AWS using S3, SQS, and Lambda
dotnet

Serverless Image Processing with .NET on AWS using S3, SQS, and Lambda

Learn how to build a fully serverless, production-ready image processing pipeline on AWS using .NET. This guide walks through uploading images via a minimal .NET 9 Web API, triggering S3 event notifications to an SQS queue, and processing those events in a Lambda function using ImageSharp. You'll learn how to resize images into optimized thumbnails, upload them to an output S3 bucket, and monitor the workflow using CloudWatch. The architecture is event-driven, scalable, and cost-efficient - ideal for modern applications handling user-generated content.

21 min read
68.8K views
Scrutor in .NET – Auto-Register Dependencies for Cleaner and Scalable DI
dotnet

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.

9 min read
113.8K views
Keyed Services in .NET – Advanced Dependency Injection Techniques
dotnet

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
85.6K views
When to Use Transient, Scoped, or Singleton in .NET Apps - Understanding Service Lifetimes
dotnet

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.

12 min read
106.6K views
Dependency Injection in ASP.NET Core Explained
dotnet

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
116.7K views
Amazon DynamoDB Streams for .NET Developers - A Complete Getting Started Guide
dotnet

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
67.7K views
Amazon SQS vs SNS - Choosing the Right Messaging Service for Your Architecture
dotnet

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
114.3K views
Amazon DynamoDB Batch Operations with .NET - Read, Write & Delete
dotnet

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
108K views
Amazon RDS for .NET Developers Using EF Core - Complete Guide with CRUD
dotnet

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
113.2K views
Essential AWS Services Every .NET Developer Should Master!
dotnet

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!

20 min read
112.8K views
Newsletter

stay ahead in .NET

One email every Tuesday at 7 PM IST. One topic, deep. The week's articles. No filler.

Tutorials Architecture DevOps AI
Join 8,429 developers · Delivered every Tuesday
Privacy notice 30s read

Cookies, but only the useful ones.

I use cookies to understand which articles get read and which CTAs actually work. No third-party advertising trackers, ever. Read the privacy policy →