Tag: dotnet

blog

Using CancellationTokens in .NET Minimal APIs: Boost Performance and Responsiveness

Introduction: Why Responsiveness Matters in Modern .NET Applications In today’s world of modern software development, creating responsive and high-performing applications isn’t just a luxury it’s a necessity. Whether you’re building REST APIs, web applications, or microservices, chances are you’re working with asynchronous operations. These operations are often long-running and involve expensive tasks like database queries, external […]

Ottorino Bruni 
blog

Getting Started with AI in .NET: A Simple Guide to Microsoft.Extensions.AI

In the ever-evolving landscape of software development, integrating AI capabilities into .NET applications has become a game-changer. As a developer with a passion for exploring new technologies, I’ve delved into the world of Large Language Models (LLMs) and discovered how Microsoft.Extensions.AI can streamline this process. Large Language Models (LLMs) are transforming how developers build intelligent […]

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 Implement JWT Authentication in ASP.NET Core Minimal API

In today’s world of modern web applications, secure authentication is not just a feature – it’s a necessity. Token-based authentication, particularly using JWT (JSON Web Tokens), has become the go-to solution for securing APIs. Before we dive into the implementation, let’s understand why this matters. What Is Token-Based Authentication? Token-based authentication is a security mechanism […]

Ottorino Bruni 
blog

How to Manage Features in .NET and C# with Azure App Configuration: Centralized Feature Flags and Settings

Introduction In my previous article, “How to Turn On Features in .NET and C# Without Redeploying: Exploring Feature Flags and A/B Testing”, I introduced the concept of feature flags and explained their value in modern software development. We explored how they enable dynamic feature control, safer rollouts, and experimentation like A/B testing, all while minimizing […]

Ottorino Bruni 
blog

How to Implement Entity Framework Core Migrations in a .NET Console Application Using C# and VSCode

Introduction to Entity Framework Core Migrations In the previous articles, I discussed how to integrate SQLite with a .NET console application using C# and VSCode, and how to use Dapper for data access. You can find those articles at these links: SQLite with .NET Console Application, Using Dapper and Entity Framework Core in .NET Applications. […]

Ottorino Bruni