I am updating some NuGet packages to support .NET 10 and had to refresh my memory on how to multi-target NuGet packages that support multiple target frameworks. In my case, I am adding support for .NET 9 and .NET 10, but these steps are applicable to other .NET versions. I just decided to write it … Continue reading Multi-Targeting NuGet Packages
Tag: NuGet
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
“NuGet Why” Command: Understanding Dependency Graphs in .NET Projects
Introduction Managing dependencies in .NET projects can sometimes be a challenging task, especially when trying to understand how various packages interrelate in your solution. Enter the dotnet nuget why command—a powerful tool introduced in the .NET 8.0.4xx SDK and later versions. This command allows you to visualize and analyze the dependency graph for a specific … Continue reading “NuGet Why” Command: Understanding Dependency Graphs in .NET Projects
Lesson 3.4: Random Dice Roller
Many game systems have a way of producing randomized results. Be it selecting a random number in some range (min-max), flipping coins, or rolling dice. For RPGs, rolling dice is a seminal concept -- you've seen it in all the RPGs that you've likely played. It is burned into the genre by the popularity of … Continue reading Lesson 3.4: Random Dice Roller
Lesson 1.5: Using Blazorise Component Library
Components are the basic unit of development in Blazor. A component is a self-contained chunk of user interface (UI), such as a page, dialog, or form. A component includes HTML markup and the processing logic required to inject data or respond to UI events. Components are flexible and lightweight. They can be nested, reused, and … Continue reading Lesson 1.5: Using Blazorise Component Library