yet another developer journey

Shelf storage devices labeled "Storage Engineer"

How to use a raw SQL script with Entity Framework migrations?

One of the most complex things to manage in the development of any application, from simple client applications to the most complex enterprise solutions, concerns the management of persistence. In the .NET environment some of this complexity can be managed through the use of migrations implemented internally in Entity Framework. Often this feature is seen as a utility purely for the use of developers to update the database schema. When we think we have arrived at a stable situation we drop all migration and start from a clean situation....

Jul 2, 2022 · Last modified on May 27, 2023 · 4 min · Nicola Biancolini
Confusing road directions

Github pages and the confusing process for enforcing HTTPS

Many of you may know that for some time, now 13 years1, GitHub has offered a service called Pages that allows you to host static sites, which is very convenient for hosting blogs and documentation. That’s why it’s not news that this blog, like many others, is hosted right there. And the reason is not because it’s “cool” but much more concrete and venal. One of the goals I set for myself was to not make it a living expense, so I chose the HUGO + GitHub Pages combo, a choice I would make again today!...

Jun 1, 2022 · Last modified on Jul 4, 2023 · 2 min · Nicola Biancolini
Pastry chef not quite satisfied with freshly made doughnuts

Micro frontends and Blazor Server, the beginning of the journey

Not all donuts come out with a hole, but that doesn’t mean there isn’t good in them. I stumbled upon one of these in an attempt to implement a micro frontends architecture with Blazor Server.

May 22, 2022 · Last modified on May 27, 2023 · 5 min · Nicola Biancolini
Eagle with his gaze turned back on a pole

Monthly recap 0

I’m not a writer, I’ve never been one, and I’ve known this since my school essays. Every time I passed the column and a half it was a challenge. Publishing articles on a regular basis takes up a lot of my time, and not just strictly for writing. So I took inspiration from Troy Hunt and thought that creating a monthly summary to update you on my current status and possible future directions might be a good investment of time....

Apr 29, 2022 · Last modified on Jun 7, 2022 · 1 min · Nicola Biancolini
Vertical on plots of land crossed by an irrigation canal

A new side project

A few years ago, when I was commuting to work by car, there was a tree-lined stretch of country road along a stream. Within this area there was a very narrow chicane at the exit immediately following a slight descent that followed a long straight. Given the presence of the stream and the permanent shade caused by the trees, it was not uncommon that on some winter mornings there was the presence of ice....

Mar 29, 2022 · Last modified on Jun 7, 2022 · 4 min · Nicola Biancolini
Frontal of a frog on a rock

That time I tasted a frog

I started working in remote mode in March 2020, the reason I guess we all know. However, if an extra-terrestrial were to read this post, he can find more information here https://wikipedia.org/wiki/COVID-19. My experience has been the same as that of so many others, a maximum and indiscriminate use of communication platforms and smoking ears at the end of the day. This working mode went on for about a year and a half, 16 months to be precise, until July 2021 when I joined managed/designs....

Feb 18, 2022 · Last modified on Jun 7, 2022 · 4 min · Nicola Biancolini
Photo of a dew-covered spider web stretched over an olive or eucalyptus twig

Develop integrated solutions with Active Directory B2C and Azure Event Grid.

We will see how it’s possible to create a solution that integrates Azure Active Directory B2C to save on Blob Storage dummy data at user registration. Solution overview. The solution is composed as follows: Solution composition read-customer-details-identity-la: represents the API whose purpose is to retrieve the content of the blob from customersstgacc (the storage account) customer-register-tpc: is the topic in which are collected the events of the creation of a new user customer-identity-details-filler-la: it represents the API that is in charge of generating fictitious data that will be saved inside a blob on the customersstgacc contoso-b2c: is the access and identity management service offered by Azure Introduction to Azure Event Grid....

Jan 8, 2022 · Last modified on Jun 7, 2022 · 4 min · Nicola Biancolini
A pug completely wrapped in a fluffy white blanket of which only the muzzle is visible

How to include code coverage in Azure DevOps pipeline?

By code coverage, we mean the action of trying to measure how much of our code has been executed by our tests. This sound like TL;DR Untested code is a broken code. Definitely a strong statement but true in a way, we don’t always manage to get enough coverage. Often this happens because we don’t have time, other times because despite having written tests we are not able to read the metrics....

Jan 2, 2021 · Last modified on May 27, 2023 · 4 min · Nicola Biancolini
Elephant drinking from a receptacle placed behind a building fence

SQL Server, EF Core, JSON

Sometimes we have been forced to work with JSON stored on table columns, it will have happened to you too! In this post, I want to show you how to work with that using EntityFramework Core dotnet / efcore Clearly this is one of many possible ways. We could talk for a long time about the choice to store JSON into RDBMS is a good or bad choice, but the intent of this post isn’t making a rant....

Oct 22, 2020 · Last modified on May 27, 2023 · 2 min · Nicola Biancolini