platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
253 stars 26 forks source link

Fix bug with BlobStorage in local environment not using KeyedService #597

Closed BlueBasher closed 1 month ago

BlueBasher commented 1 month ago

Summary & Motivation

With the upgrade to a newer version of .NET, a bug was exposed in the PlatformPlatform code, specifically affecting the avatars blob storage setup. The issue surfaced because the BlobStorage account was registered as a normal service rather than a keyed service in the local environment configuration (when not running in Azure). While this was not a problem in the previous .NET version, the upgrade made the bug evident. This PR resolves the issue by registering the BlobStorage account as a keyed service in the local environment, aligning the behavior with the intended configuration and fixing the bug in PlatformPlatform.

Checklist

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud