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…
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…
The Reuse/Release Equivalence Principle: A Key to Modular Design
One of the challenges of software development is to create reusable and maintainable code. Reusable code can reduce duplication, improve quality, and save time and resources. Maintainable code is code that is easy to adapt, easy to correct and where those adaptation and change do not break any other part of the software. However, reusing…
Use Case Pattern
The Use Case Pattern is a way of organizing the business logic of an application into a set of use cases. Each use case represents a specific action that a user can perform within the system. For example, in an e-commerce application, a use case might be “Place an Order” or “View Order History”. The…
Single Responsibility Principle (Clean Architecture)
When talking about patterns, almost everyone can name the SOLID pattern (Single Responsability, Open/Close, Liskov Substitution, Interface Segregation and Dependency Inversion). The Single Reponsibility is one of the most important principle for clean code but it’s also very important for clean architecture. Let’s explore this The SRP states that a class should have one, and…