Notes from the workbench
everything I'm learning about modern .NET.
Tutorials, deep-dives, and field notes on .NET, ASP.NET Core, EF Core, AWS, Docker, and the architecture that holds up in production. Written when I've shipped something or learned something worth sharing.
143 articles · browse by category
page 8
85–96 of 143-
dotnet terraform +1Automate AWS Infrastructure Provisioning with Terraform - Beginner's Guide for .NET Developers
Terraform is a powerful tool for automating infrastructure deployment and management across multiple cloud providers. Whether you are new to infrastructure as code or looking to deepen your Terraform expertise, this guide will provide you with the knowledge and skills necessary to effectively manage infrastructure in your projects, regardless of the technology stack you work with.
Aug 27, 2024 · 18 min read → -
dotnetResponse Caching with MediatR in ASP.NET Core - Powerful Pipeline Behavior
In this article, we are going to implement Response Caching with MediatR in ASP.NET Core using its awesome Pipeline Behaviours. I have written a couple of articles about MediatR and why it's one of the MUST USE libraries for .NET Developers.
Jun 24, 2024 · 9 min read → -
dotnet awsAWS Message Processing Framework for .NET - Simplifying AWS Based Messaging Applications in .NET
The AWS Message Processing Framework for .NET is a wrapper over the AWS Messaging Services like Amazon SNS, SQS, and Event Bridge that helps reduce a significant amount of boilerplate code needed to interact with these AWS Services, further simplifying the development of messaging in .NET applications. In this article, we will explore this framework, and build sample applications that would use SQS, and SNS.
May 29, 2024 · 7 min read → -
dotnetValidation with MediatR Pipeline and FluentValidation
Learn how to use MediatR Pipeline Behavior to implement Validations with FluentValidation in ASP.NET Core applications. This pattern is extremely powerful when clubbed with IExceptionHandler, and can help you build super clean solutions with an elegant way to handle Validations!
May 20, 2024 · 12 min read → -
dotnet awsPagination in Amazon DynamoDB with .NET - Improve your API Performance!
Amazon DynamoDB is the go-to serverless NoSQL Solution from AWS and is very sought-after for building serverless applications on the cloud. Pagination is one feature that helps massively improve your application response times in case you have large volumes of data stored in your database. In this article, we will learn about implementing pagination in Amazon DynamoDB with the .NET AWS SDK!
May 9, 2024 · 10 min read → -
dotnet awsHandling Concurrency in Amazon DynamoDB with Optimistic Locking - Detailed Guide
Multi-thread programming is essential to building high-performance applications, especially those expected to scale. This article will teach us about handling concurrency in Amazon DynamoDB with Optimistic Locking. When multiple threads try to access/modify the same record in DynamoDB, there can be data inconsistencies and conflicts. To combat this, we will implement optimistic locking to ensure your data is not lost or overridden.
Mar 27, 2024 · 12 min read → -
dotnet awsAutomated AWS IAM Access Key Rotation with .NET, AWS Lambda, SNS, and EventBridge Scheduler
Let's build an automated AWS IAM Access Key Rotation Lambda using AWS Lambda, SNS Notifications, and Amazon EventBridge Schedulers. We will be writing the entire AWS Lambda code in C#.
Feb 19, 2024 · 11 min read → -
dotnet awsSchedule AWS Lambda With Amazon EventBridge Scheduler - Powerful Serverless Scheduling!
Let's learn how to Schedule AWS Lambda with Amazon EventBridge Scheduler using rate and cron expressions. This is part of my ongoing .NET on AWS series, where we explore and learn about various AWS Services that can benefit you, as a .NET Developer. This is yet another piece of article where we learn about the serverless scheduler that Amazon offers. In simple words, Amazon EventBridge Scheduler helps you build event-driven applications, schedule tasks within the AWS ecosystem, and more.
Feb 16, 2024 · 10 min read → -
dotnet awsIntegrating Generative AI in .NET with Amazon BedRock - Super Charge your API with AI
GenAI, short for Generative AI, is at the forefront of technological evolution, representing a groundbreaking paradigm in artificial intelligence. In this article, we are going to deep dive into this exact topic by integrating Generative AI in .NET with Amazon BedRock. Together, we will explore and build a .NET application that can generate AI chats and even images using the seamless integration with Amazon BedRock and its GenAI foundational models.
Jan 15, 2024 · 11 min read → -
dotnet awsSecrets in ASP.NET Core with AWS Secrets Manager – Super Simple & Secure
Let's discuss securing Confidential Data and Secrets in ASP.NET Core with AWS Secrets Manager. We will also walk through various aspects and concepts of Secrets Management in your ASP.NET Core Application
Dec 24, 2023 · 12 min read → -
dotnet awsImage Recognition in .NET with Amazon Rekognition - Super Accurate Recognition + Blur!
In this article, we will learn about Image Recognition in .NET with Amazon Rekognition! We will go through some concepts around this service and build an ASP.NET Core Web API that can recognize people/objects from images, blur out faces for privacy concerns, and do some additional operations. I will also walk you through other APIs offered, like Facial Analysis, Label Detection, Image Moderation, and so on.
Sep 23, 2023 · 13 min read → -
dotnet awsDeploying ASP.NET Core WebAPI to AWS App Runner - Super Fast Deployments via ECR and GitHub
In this article, we are going to explore yet another deployment option from AWS, which is about Deploying ASP.NET Core WebAPI to AWS App Runner, the latest Container based Compute Service from AWS.
Aug 20, 2023 · 13 min read →