Free .NET Web API Course

142+ Articles

Blog

Deep dives into .NET, AWS, Docker & Modern Architecture

Page 3

Showing 25-36 of 142 articles

Page 3 of 12
ProblemDetails in ASP.NET Core – Standardizing API Error Responses
dotnet .NET Web API Course

ProblemDetails in ASP.NET Core – Standardizing API Error Responses

Learn how to use ProblemDetails in ASP.NET Core to standardize error responses in your Web APIs. Understand default behavior, customization, exception handling, and best practices for building consistent, developer-friendly APIs.

10 min read
41.5K views
How to Upload Large Files in ASP.NET Core Using S3 Multipart Upload and Presigned URLs
dotnet aws

How to Upload Large Files in ASP.NET Core Using S3 Multipart Upload and Presigned URLs

Learn how to efficiently upload large files in ASP.NET Core using Amazon S3's multipart upload feature and pre-signed URLs. This hands-on guide walks you through building a scalable, client-driven upload workflow using a .NET 9 Web API and a Blazor WebAssembly frontend. You'll learn how to generate pre-signed URLs, handle file chunking, perform parallel uploads, and finalize the upload with minimal server load. Ideal for developers looking to offload file handling to S3 while maintaining full control from a .NET-based stack.

15 min read
84.5K views
AWS Step Functions with Lambda for .NET Workflows
dotnet aws

AWS Step Functions with Lambda for .NET Workflows

Learn how to build scalable, fault-tolerant serverless workflows using AWS Step Functions and .NET Lambda functions. This guide is tailored for .NET developers who want to move beyond simple Lambda functions and orchestrate complex workflows with retries, parallel executions, and state management. We’ll cover the basics of Step Functions, how they integrate with .NET Lambda projects, real-world architecture examples, setup instructions, error handling, and when to avoid using them.

16 min read
107.5K views
Filters in ASP.NET Core - Everything you Need to Know!
dotnet .NET Web API Course

Filters 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.

17 min read
96.5K views
Serverless Image Processing with .NET on AWS using S3, SQS, and Lambda
dotnet aws

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
77.5K views
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
102.7K 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
90.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
65.2K 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
115.1K 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
78.1K views

.NET + AI: Build Smarter, Ship Faster

Join 8,000+ developers learning to leverage AI for faster .NET development, smarter architectures, and real-world productivity gains.

AI + .NET tips
Productivity hacks
100% free
No spam, unsubscribe anytime