Hosted services are a powerful .NET feature, providing a robust mechanism for executing long-running background tasks in different types of applications. Given the flexible nature of .NET, such applications could be running on client devices, on-premise servers, or the cloud, depending on the particular use case. When it comes to ASP.NET Core, hosted services are…
Tag: ASP.NET Core
When developing ASP.NET Core web applications, it is common to interact with JWTs (JSON Web Tokens). Quite often you will want to validate JWTs and possibly even generate your own JWTs to secure API endpoints. However, it’s not always plain sailing when it comes to software development. After updating certain Microsoft NuGet packages to newer…
InAPIs
If you’ve been keeping up to date with what’s new in the .NET ecosystem over the last year or two, you’ll probably already be aware of the Minimal APIs feature that debuted in ASP.NET 6.0 back in 2021. However, since Minimal APIs are still a relatively new concept, perhaps you haven’t considered using them in…
InWeb
You’ve had enough. Yes, you’ve finally decided that this is the last time you’ll use a Console.WriteLine method call to troubleshoot one of your Blazor WebAssembly components because you can’t get any debug breakpoints to hit! Debugging is an essential part of software development and when it doesn’t work, it can be frustrating. This is…
InWeb
For better or worse emojis have become part of our everyday life, we use them to communicate our emotions and as a quick way to acknowledge our approval or disapproval as the case may be! 👍 Recently I came across what seemed to be a rather odd issue where an emoji was being used within…
InWeb
As a Blazor developer, it is essential to have a solid understanding of the lifecycle events that take place from the moment a Blazor component is created until it is eventually torn down. By gaining an understanding of the Blazor component lifecycle, you will be able to make your components more efficient and reduce the…
InWeb
If you’ve been working with Blazor for any length of time, it probably won’t be very long before you encounter the “yellow bar of death” which is displayed at the bottom of the browser window any time an unhandled exception occurs. Whenever this exception bar appears for Blazor Server apps, a page refresh is required…
InWeb
Data binding is a core feature of practically all front-end SPA (Single-page application) frameworks, including Blazor. Blazor provides lots of useful data-binding features that are enabled by using specific Razor syntax within components. In this article, I will cover the fundamental concepts of data binding with Blazor. After reading the article, you will understand the…
InWeb
Components are the fundamental building blocks used to develop interactive web applications with Blazor. At their most basic level, they are reusable UI (User Interface) segments that can be composed together to create complex layouts, usually containing code that enables dynamic behaviour. Blazor components (also known as Razor components) are one of the first things…