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…
Category: .NET
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…
Safely store secrets during development
When developing an application, we sometimes need to call an api or connect to a database and for this, we use passwords or keys to connect. If we put them in the appsettings, there’s always the danger of forgetting about them and commit them to source control which can then cause a security flaw. To…
Working with Legacy databases
It does not happen everyday that as a developer we start working on a greenfield project. On many occasions, we have maintenance work to do on existing projects or we are rewriting an old application into microservices. What happens during these brownfield projects is that we have to cope with an existing database that is…
Blazor : convince your CTO (or whomever takes the technical decisions)
When there is something new on the market, we developers want to work with it. There might be several reasons for that, but not always the shortcut decision makers think we favour, which is wanting to try the new shiny thing. Most of the time, we want to work with the new stuff because it…
Blazor : server-side or Web assembly
Blazor is amazing. But if you are wondering which of Web Assembly of Server-Side would suit your project, here’s an attempt to explain and help
Feature flags using Azure feature
Feature flags are very useful when you develop an application and while you don’t want users to use the feature that isn’t really ready, you don’t want to stay on a side branch for too long as merging and rebasing from the main branch can become quite the chore. Enter feature flags. So how do…
How to blazorify an existing mvc app
Blazor is awesome. If you don’t know what it is, you can check it out here but to summarize, it’s a framework that allows .net code to run in your browser using the power of Web Assembly. I’ve found a lot of tutorials using the official blazor templates but only hints on how exactly using Blazor…