CSS Media Query for display-mode

This media query property lets you style your web application differently when your app runs as a PWA (Progressive Web App). This lets you hide/show or resize HTML elements when your application is launched in standalone mode. Hide that header or footer when you're in app mode, so your application feels more native. Use case: Make … Continue reading CSS Media Query for display-mode

Evaluating Open Source Dependencies

In the evolving world of open-source software (OSS), it's becoming more common for widely used packages to shift from free offerings to subscription-based models. For software teams, especially senior developers, team leads, and architects, this trend introduces new considerations when evaluating which libraries to adopt. As engineers, our primary responsibility is to balance these decisions … Continue reading Evaluating Open Source Dependencies

Using Code Cleanup Profiles in Visual Studio

In Visual Studio 2022, the Code Cleanup Profiles feature is a great way to automate code formatting and clean-up operations using predefined or custom rules. By using cleanup profiles, you can make all of the changes in one operation and free yourself from updating lots of code files manually. Here's a detailed explanation of how … Continue reading Using Code Cleanup Profiles in Visual Studio

create-guid: Simple CLI Tool for Generating GUIDs

In modern software development, GUIDs (Globally Unique Identifiers) are used everywhere: from identifying database records and correlation tokens to generating unique keys for distributed systems. While System.Guid.NewGuid() is the standard way to generate GUIDs in .NET, there are scenarios where you want a tool that gives you quick and scriptable access to GUIDs from the … Continue reading create-guid: Simple CLI Tool for Generating GUIDs

Announcing the Habit Tracker Beta Release

I have been working on an end-to-end sample application for .NET... from Blazor on the frontend to MinimalApi on the backend. And, I'm ready to have some beta testers using the project - Habit Tracker app (Getting Started page). This is a full application that allows users to define categories and habits that they wish … Continue reading Announcing the Habit Tracker Beta Release

How-To: Use Bootstrap 5.3 Built-in Icons in Blazor

Starting with version 5, Bootstrap introduced a rich set of SVG-based icons—lightweight, scalable, and perfect for modern web applications. Since the default Blazor WebApp templates already include Bootstrap, integrating these icons is a simple way to enhance your UI with clear, consistent visual elements. Using icons effectively can make your Blazor apps more intuitive and … Continue reading How-To: Use Bootstrap 5.3 Built-in Icons in Blazor

Using Scalar with .NET9 WebApi Projects

With the latest release of .NET, you will notice that new WebApi projects no longer integrate with Swagger to provide a documentation web page. In .NET 9, Microsoft made a strategic decision to remove the default inclusion of Swashbuckle.AspNetCore (commonly known as Swagger) from Web API project templates. This shift is primarily due to the … Continue reading Using Scalar with .NET9 WebApi Projects

CSS Accent-color Element

This CSS rule applies the accent color uniformly across the entire webpage for interactive elements like links and buttons. This means you don’t have to style each element individually every time you want to use this color, ensuring consistency throughout your site. body { accent-color: green; }

How-To: Create Blazor Dark-Mode App with Bootstrap 5.3

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

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