platformplatform / PlatformPlatform

🚀 Pre-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
226 stars 24 forks source link

Ensure consistent line endings and simplify SQL Server retry logic #479

Closed tjementum closed 2 months ago

tjementum commented 2 months ago

Summary & Motivation

Ensure that C# files always use CRLF line endings for consistency across Windows and Mac environments.

Clean up code with minor adjustments primarily in the Developer CLI.

Wait for up to 10 seconds when generating index.html to ensure availability when the SPA is starting. This prevents failures when the API reads the file during startup.

Simplify retry logic for handling when SQL Server is still starting on localhost. This change passes error codes to the SQL execution strategy, eliminating the need for try/catch blocks.

Configure Rider and ReSharper to clean up code when saving, ensuring files are always formatted correctly.

Upgrade JetBrains .NET tools to the latest version by updating dotnet-tools.json, aligning with the latest Rider and ReSharper versions.

Fix warning when running bash script on a new Azure subscription without the Microsoft.ContainerService provider registered, addressing a minor issue during PlatformPlatform setup on a new Azure subscription.

Checklist

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud