TNS #005: Easy Distributed Messaging With MassTransit
Read time: 5 minutesToday I’ll show you how to quickly get your microservices to talk to each other using the MassTransit distributed application framework.As your system grows you will inevitably end...
View ArticleTNS #006: How To Secure An ASP.NET Core API
Read time: 5 minutesToday I’ll show you how to secure your ASP.NET Core API in a few simple steps.Having a secure API is a must these days. You just can’t go to production without this.But knowing the...
View ArticleTNS #007: Docker Tutorial For .NET Developers
Read time: 5 minutesToday you’ll learn how to use Docker to deploy your .NET apps.Docker is incredibly useful for .NET developers, but it can be a bit overwhelming at first.However, once you start...
View ArticleTNS #008: How To Move From A Monolith To Microservices
Read time: 5 minutesToday I’ll go over one way to move from a monolith to microservices.Many folks are eager to start reaping the benefits of microservices, usually after being stuck with a painful...
View ArticleTNS #009: Don’t Unit Test Your ASP.NET Core API
Read time: 6 minutesToday I’ll show how to write integration tests for an ASP.NET Core API, step by step.Integration tests are the best way to test an API, because they allow us to test the API in the...
View ArticleTNS #010: Sharing Libraries With NuGet And Azure Artifacts
Read time: 5 minutesToday I’ll show you how to share your reusable libraries with NuGet and Azure Artifacts.As your team grows and you start finding repeated code across different repos and projects,...
View ArticleTNS #011: How To Create Middleware Components
Read time: 4 minutesToday I’ll show you how to use middleware in ASP.NET Core to perform additional work before and after your application handles incoming requests.There are many tasks that are not...
View ArticleTNS #012: Should You Write Unit Tests?
Read time: 5 minutesToday I’ll try to answer this common question: Should you write unit tests?Unit tests are the cheapest and most reliable type of automated tests, and they can be a game changer for...
View ArticleTNS #013: The Problem With Dependencies And Unit Testing
Read time: 5 minutesToday I’ll go over the problem with trying to unit test classes that have dependencies.A well-designed class should not try to do everything by itself. Instead, it should delegate...
View ArticleTNS #014: What Should I Unit Test?
Read time: 4 minutesI recently asked my newsletter subscribers what they struggle the most with when it comes to unit testing.And one of the most common answers was: What should I unit test?Knowing...
View ArticleTNS #015: Speed Up Your Development Process With TDD
Read time: 4 minutesToday I’ll show you how Test Driven Development (TDD) can help you speed up your development process.TDD is a very different approach to software development, and it can be a bit...
View ArticleTNS #016: Global Error Handling in ASP.NET Core APIs
Read time: 5 minutesToday I’ll show you how to implement a global exception handler in your ASP.NET Core APIs.This is a common and essential technique that will help you provide a better experience to...
View ArticleSimple Identity Management For Your Client Apps With ASP.NET Core Identity
Read time: 4 minutesToday I’ll show you how to enable Login and Registration in your ASP.NET Core API using the new Identity endpoints introduced in ASP.NET Core 8.0.Most apps will need to register and...
View ArticleDealing With Blazor Prerendering
Read time: 4 minutesToday I want to talk about Blazor prerendering and how to deal with it when you have a Blazor WASM app that talks to your backend API.Prerendering is a great feature that can make...
View ArticleGo Passwordless With Azure Managed Identities
Read time: 4 minutesToday I’ll show you how to go passwordless with Azure Managed Identities, so that you can stop using connection strings and other secrets in your ASP.NET Core APIs.I probably don’t...
View ArticleBuilding a CI/CD Pipeline With Azure DevOps
Read time: 5 minutesToday I want to talk about a topic that is very dear to my heart: CI/CD pipelines.I’ve been building them for years, and I can tell you that they are a game-changer for any software...
View ArticleDeploying ASP.NET Core Apps To Azure Kubernetes Service
Read time: 5 minutesToday I want to show you how to deploy your ASP.NET Core applications to Azure Kubernetes Service (AKS).Kubernetes is the fundamental building block of cloud-native development, and...
View ArticleGetting Started With Entity Framework Core
Read time: 3 minutesToday you will learn how to quickly add database support to an ASP.NET Core API via Entity Framework Core.A database is a crucial part of most applications. It’s where you store...
View ArticleVersioning ASP.NET Core APIs
Read time: 4 minutesToday I’ll dive into a topic that is often overlooked by developers when building APIs: versioning.Versioning is a critical aspect of API design, as it allows you to make changes to...
View ArticleGoing Cloud Native With .NET Aspire
Read time: 6 minutesToday I’ll dive into the world of cloud-native development using .NET Aspire.Cloud-native applications are a hot topic these days given their unique ability to take full advantage...
View Article