Discover how .NET 10 lets you run C# scripts without a project. Use NuGet, SDKs, and shebangs—all in a single .cs file!
Revolutionize Your Workflow with .NET 10’s New Script Mode

Unlocking the Power of .NET – Empowering Developers, One Byte at a Time!
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!
Discover how .NET 10 lets you run C# scripts without a project. Use NuGet, SDKs, and shebangs—all in a single .cs file!
Discover when to use AsNoTracking in EF Core to boost performance, avoid pitfalls, and master DbContext lifetime management.
Discover why readonly structs in C# are vital for immutability, performance, and safer code. Perfect for performance-critical applications.
Discover when .NET Minimal APIs are a time-saver and when they turn into a maintenance headache. Learn their best use cases.
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, […]
Discover the crucial differences between IEnumerable and IQueryable in C#. Learn when to switch and why it matters for LINQ and EF.