Category: .NET Nuggets

Welcome to “.Net Nuggets” – your premier destination for discovering a trove of “.NET tips and tricks” that will enrich your development journey. This corner of our blog is dedicated to unraveling the mysteries of .NET, offering you bite-sized, yet profoundly impactful insights and techniques that can revolutionize the way you code. Whether you’re a seasoned veteran looking to refine your skills or a fresh-faced enthusiast eager to learn, our curated content is designed to provide value at every level.

Dive into our ever-growing collection of articles, where each nugget is crafted to not only inform but inspire. From streamlined coding practices to innovative problem-solving strategies, we cover the breadth of .NET’s versatile framework. Our tips are practical, our tricks clever, and our guidance clear-cut – all set to help you navigate the .NET landscape with newfound ease and confidence.

Stay ahead of the curve with “.Net Nuggets,” and let us help you transform your .NET expertise from ordinary to extraordinary!

Dependency Injection in Blazor: Inject All the Things

Dependency Injection in Blazor Components Explained

Still spinning up HttpClient manually in your Blazor components like it’s 2005? It’s time to modernize your approach with Dependency Injection (DI) — a core feature in Blazor that can streamline your code and supercharge testability. Blazor, both Server and WebAssembly, embraces DI out of the box. Services are registered in Program.cs using scoped, singleton, […]