Using C# await against JS Promises in Blazor
A technical guide on how to use C#'s await keyword to interoperate with JavaScript Promises within a Blazor application.
A technical guide on how to use C#'s await keyword to interoperate with JavaScript Promises within a Blazor application.
Explains how to use JavaScript Interop in Blazor to call JavaScript from C# and C# from JavaScript, enabling DOM manipulation.
Explains the key lifecycle methods in Blazor components, including OnInitialized, OnParametersSet, and OnAfterRender, with code examples.
A guide to the four styles of creating components in Blazor: inline, code-behind with base class, code-behind with partial class, and class-only.
An introduction to Blazor, a .NET web framework that runs C# in the browser via WebAssembly, and why it's a game-changer for .NET developers.
A guide to creating view-models in MVVM applications that automatically handle UI thread dispatching, making them independent of specific dispatcher implementations.
A guide to writing unit tests in ASP.NET Core to automatically verify that security attributes like AuthorizeAttribute are applied to controllers and actions.
Tips for enhancing ASP.NET Core configuration using C# features like property initializers and IOptions patterns.
A historical and technical look at how generics were added to the .NET Framework and C# language, driven by Microsoft Research.
A tutorial on connecting an ASP.NET MVC application to Azure Cosmos DB, covering setup, configuration, and basic CRUD operations.
Explains three methods for unit testing C# code that uses HttpClient, including wrapping it with an interface for mocking.
Compares assignment operations and parameter passing in C (copying) vs. CPython (binding), focusing on mutable/immutable data.
An overview of C/C++ libraries for scientific computing, including the GNU Scientific Library (GSL), Blitz++, and the Ch interpreter.
A software engineer reflects on graduating, starting a career in game development, transitioning to consulting, and setting goals for learning new tech.
Explains the compilation process in C versus the compilation and interpretation process in CPython, with practical examples.
A .NET developer's 2017 blog retrospective, analyzing traffic stats, top posts about CLR internals, and the impact of Hacker News.
A blog post celebrating C# history, popularity, and Microsoft's modern learning resources like in-browser tutorials and documentation.
A developer's experience using xUnit Roslyn Analyzers to improve unit test quality and fix warnings during a Visual Studio upgrade.
Explores a C# code pattern using nested generics that causes exponential compilation time, effectively creating a Denial-of-Service attack on the compiler.
Explores Blazor, an experimental framework for running .NET applications in the browser via WebAssembly, using the DotNetAnywhere runtime.