If you’re developing Azure Functions, it may happen that you encounter this error : That often means that there’s an issue with your local.settings.json file. There are different ways that people might use to circumvent this error but I found for me that doing the following works everytime I have this error. That should do…
Month: May 2024
Understanding Blazor Component Parameters
Understanding Parameters Parameters in Blazor are used to pass data from a parent component to a child component. They are defined using public properties on a component and decorated with the [Parameter] attribute. Non-Complex Objects Non-complex objects such as integers, strings, and booleans can be passed as parameters. Here’s an example: In this example, the…
Error NETSDK1082 in Maui Blazor Hybrid App
If you ever encountered this error in your Maui Blazor hybrid App, this is probably due to authentication.It took me a while to find it out (more than I care to admit) mainly because I had serial issues with workload packages that I thought at first that it came from there. For me, it came…
Understanding @inject in Blazor Components
Blazor, Microsoft’s framework for building interactive client-side web UI with .NET, offers a robust solution for dependency injection (DI) in the form of the @inject directive. This powerful feature allows developers to inject services directly into their components, promoting a clean and modular architecture. What is Dependency Injection? Dependency Injection (DI) is a design pattern that allows…
Learning languages
I often stumble upon debates online on Twitter (X, but I’m still not used to that new name) or reddit about what language should one learn or what language is the best. While these discussions have their merits, they are often conducted on partisan grounds and seldom do they give a satisfactory outcome. I understand…
Weird issues with Maui Blazor Hybrid app
Configuration Steps When you try building a Maui Blazor Hybrid Solution, in .NET 8, you might encounter a peculiar issue : Cannot deploy the solution, please select deploy in the Configuration Manager And if you click OK afterwards, you can see in the error list that it complains about a .ttf file. In my case…
Tips for Remote Work
In the wake of the global pandemic, remote work has become the new norm for many. It offers flexibility and can improve work-life balance, but it also comes with its own set of challenges. Here are some tips to help you navigate the world of remote work effectively. 1. Set Up a Dedicated Workspace Having…