Many web applications today support dark-mode display because users (and especially developers) enough the benefit of reading content with a dark background. Blazor apps that are built with Bootstrap 5.3 can easily support dark mode in their applications. In this article, we will only focus on defaulting the application to dark-model... a future article will … Continue reading How-To: Create Blazor Dark-Mode App with Bootstrap 5.3
Month: November 2024
Central Package Management with NuGet
Managing dependencies across multiple projects can get unwieldy, especially as the project count grows. NuGet's Central Package Management (CPM) feature aims to simplify this by letting developers define package versions in a single location. With CPM, you avoid the redundancy of specifying package versions in each project individually. Here, we’ll explore how to set up … Continue reading Central Package Management with NuGet
Secure Minimal APIs with API Key Authentication
If you’re building a .NET 8 application and want robust security, you might assume it requires a lot of complex authentication setup. But here’s the good news: you can implement API key authentication with just a few lines of code. With this straightforward approach, you can secure your services against unauthorized access quickly and easily. … Continue reading Secure Minimal APIs with API Key Authentication