Blazor JavaScript Isolation, Modules, and Dynamic C#
.NET 5 is here, and with the release comes a barrel of Blazor improvements. One of the upgrades Blazorinos should be most excited about is JavaScript isolation and object references within .NET.
A collection of 112 posts
.NET 5 is here, and with the release comes a barrel of Blazor improvements. One of the upgrades Blazorinos should be most excited about is JavaScript isolation and object references within .NET.
Dependency injection (DI) isn’t a new concept in the .NET space, but the ASP.NET team made it a mainstream feature of ASP.NET Core. ASP.NET Core ships with a default service location mechanism that may behave differently than the previous inversion...
No matter how you choose to pronounce it, GIFs are a fantastic technology of our modern age. A correctly selected GIF can bring laughter, joy, and even comfort to both sender and recipient alike.
Let’s say we’re building a brand new HTTP API that supports webhooks, and we want the best for our ASP.NET consumers. We should document elements like endpoints, payloads, authentication, and responses our API expects from consumers. Documentation can be overwhelming...
The web development community has come a long way since the early days of the web. Building interactive web experiences can leave many developers in a state of paralysis. What web framework should we use? What transpiler should create my...
Hey folks, this is a short but crucial blog post for anyone writing custom middleware for ASP.NET. In this post, we’ll see how we can correctly add headers to an HTTP response and avoid the dreaded System.InvalidOperationException error.
Have you ever wanted to enrich HTML server-side before reaching the client? Of course, you have! The idea of declaring behavior and then having the tedious parts handled by a framework is what most developers want.
I recently worked on a proof of concept library that involves access to the web request at the HttpContext level. The library I’m building needs to register endpoints, and these endpoints need to process basic query string parameters. Fundamental stuff,...
On the spectrum of “chill” languages, JavaScript is on the higher end of permissible syntax. The ability to patch together a disparate group of values and treat them as one collection can help developers “get stuff done”. C# and .NET...
In the last post, we explored a jumpstart guide to working with a user’s request culture. While localization works out of the box, there seems to be a caveat when it comes to remembering the culture a user prefers.