Tag: csharp

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 
blog

How to Secure User Secrets on Your Development Environment in ASP.NET Core?

Introduction: Safeguarding Sensitive Data in ASP.NET Core Development When developing applications, we increasingly rely on various services, such as databases and cloud platforms. This reliance necessitates storing connection strings and credentials, which is commonly done in configuration files. However, this approach poses significant risks. Storing sensitive data in configuration files can lead to inadvertent exposure, […]

Ottorino Bruni 
blog

ASP.NET Core Health Checks and Monitoring: Building Resilient Cloud Applications

Introduction to Resilience In today’s world, developing an application with a cloud-first approach has become the standard. This approach ensures that applications are scalable, flexible, and can handle the dynamic demands of modern usage. One of the key aspects often discussed in this context is resilience. But what exactly is resilience? Resilience in software development […]

Ottorino Bruni