Category: blog

blog

Track and Monitor Your ASP.NET Core Minimal API with OpenTelemetry

Introduction: Observability Made Easy with OpenTelemetry In modern software development, especially in distributed systems, understanding how your application behaves in real time is crucial. This is where observability comes in. Observability allows you to monitor, analyze, and diagnose the performance of your application transparently, without disrupting its primary operations. Unlike traditional debugging, which can be invasive, observability […]

Ottorino Bruni 
blog

Localization in ASP.NET Core: Make Your Minimal APIs Multilingual

Introduction In today’s world of software development, where applications are built for global audiences, supporting multiple languages is no longer optional, it’s a necessity. Professional and production-grade applications must cater to diverse users, each preferring to interact with software in their own language. While developers often focus on making the front-end multilingual, it’s equally important […]

Ottorino Bruni 
blog

Fluent Assertions Licensing Changes: How to Lock NuGet to Version 7.0.0 for .NET Developers

Introduction Yesterday, the .NET development community was hit with unexpected news Fluent Assertions, the popular library for writing cleaner and more expressive assertions in unit tests, has changed its licensing model starting from version 8.0. This marks a significant shift from the Apache 2.0 open-source license to a new Standard License. With this change, users […]

Ottorino Bruni 
blog

How to Use Response Caching for Faster Results in ASP.NET Core Minimal API

Introduction In modern web applications, performance is a key factor for both user satisfaction and system efficiency. One highly effective technique to enhance performance is response caching. With response caching, browsers or other clients store a copy of a server’s response locally. When the same resource is requested again, the cached version is served instantly. This […]

Ottorino Bruni 
blog

Advanced JWT Authentication in ASP.NET Core Minimal API. Part 2: Refresh Tokens and Client-Side Integration

Introduction In my previous articles, we’ve covered quite a journey through JWT authentication in ASP.NET Core Minimal API. Part 1 introduced the basics using the dotnet user-jwts tool, providing a foundation for securing APIs during development. Part 2 took us deeper into manual token generation and validation, showing how to implement production-ready JWT authentication with full control over the process. However, […]

Ottorino Bruni 
blog

How to Upgrade .NET MAUI & Blazor Hybrid Apps to .NET 9 in Minutes

Introduction As a developer, I recently undertook the task of upgrading my productivity tool, CodeSwissKnife, from .NET MAUI 8 to .NET 9. Through this experience, I discovered valuable insights that I’m excited to share with you. In this article, I’ll guide you step-by-step through the upgrade process, ensuring it feels straightforward and manageable. CodeSwissKnife is […]

Ottorino Bruni 
blog

CodeSwissKnife Beta 3 Is Out – The Ultimate Developer Toolkit, Built by Developers for Developers!

CodeSwissKnife – Focus on Productivity with Secure, Offline Developer Tools CodeSwissKnife is the ultimate developer utility designed to enhance productivity and simplify essential tasks. By bringing together powerful tools in one offline application, it ensures your data remains secure on your own device free from the risks of online services. Key Features: Why CodeSwissKnife? With […]

Ottorino Bruni 
blog

Advanced JWT Authentication in ASP.NET Core Minimal API. Part 1: Token Validation and Manual Generation

Introduction In a previous article, I wrote about How to Implement JWT Authentication in ASP.NET Core Minimal API, where I introduced the basic concept of JWT (JSON Web Tokens) and demonstrated how to implement authentication using the dotnet user-jwts tool. This approach provided a straightforward way to secure APIs during development by automatically handling token generation and validation. […]

Ottorino Bruni