I’ve been using and writing about the Spectre.Console project to easily build console applications for a long time now. Read about building Spectre.Console apps here. As I’ve been working with this library, I have duplicated code in various projects that should really be shared… like the ITypeRegistrar and ITypeResolver for different Dependency Injection (DI) frameworks. … Continue reading Announcing Spectre.Console.Extensions Project
This article has great examples of using the CSS Isolation feature in on Blazor components. Being able to package up CSS closer to the actual component definitely makes it easier to layout your component the way you want without a huge css file in your project. It also helps with reuse because the CSS for … Continue reading CSS Isolation in Blazor Components
I was working on GitHub on a new project and wanted to build and locally publish some NuGet packages in that repository. While doing a bunch of searching on the web, I found this article by Andrew Craven extremely useful: A NuGet package workflow using GitHub Actions!
I had my machine upgraded to Windows 11. There are some cool changes in the new version, but one I definitely didn’t like was the center-pinned taskbar. Luckily, I found this helpful article about how to move the taskbar back to the left corner: https://screenrant.com/windows-11-move-taskbar-left-how-tutorial/.
Blazor components and pages can have normal HTML hyperlinks and navigation driven in code. Both forms allow users to move between pages. Blazor has the NavigationManager which allows our code to perform URL navigations. And, bUnit provides a mock NavigationManager to allow test code to request a navigation without actually performing it. Under our test … Continue reading How-To: Verify Blazor Navigation in bUnit
Follow My Blog
Get new content delivered directly to your inbox.