skip to content
Relatively General .NET

Permission to pay your money, please!

by Oren Eini

posted on: March 25, 2024

I’m trying to pay a SaaS bill online, and I run into the following issue. I have insufficient permissions to pay the invoice on the account. No insufficient funds, which is something that you’ll routinely run into when dealing with payment processing. But insufficient permissions!   Is… paying something an act that requires permissions? That something that happens? Can I get more vulnerabilities like that? When I get people to drive-by pay for my bills? I can’t think of a scenario where you are prevented from paying to the provider. That is… weird. And now I’m in this “nice” position where I have to chase after the provider to give them money, because otherwise they’ll close the account.

Convert DateTime to user's time zone with Blazor in .NET 8

by Gérald Barré

posted on: March 25, 2024

This post is an update of the original post Convert DateTime to user's time zone with server-side Blazor to take advantage of new .NET 8 features. It is inspired by the following pull request in dotnet/aspireWhen you display DateTime data to a user, you may want to convert the value to the user's t

Generate OpenAPI specification at build time from the code in ASP.NET Core

by Gérald Barré

posted on: March 18, 2024

The OpenAPI specification is a powerful tool to describe and document APIs. It is a standard that allows you to define the structure of your API, including the endpoints, the request and response models, and the security requirements. The OpenAPI specification is a JSON or YAML file that can be use