Skip to content

Refactor for .NET 10 CI/CD and pinned Bootstrap CDN assets - #58

Draft
sayedimac with Copilot wants to merge 3 commits into
mainfrom
copilot/refactor-dotnet-add-cicd
Draft

Refactor for .NET 10 CI/CD and pinned Bootstrap CDN assets#58
sayedimac with Copilot wants to merge 3 commits into
mainfrom
copilot/refactor-dotnet-add-cicd

Conversation

Copilot AI commented Aug 20, 2026

Copy link
Copy Markdown

The app was still targeting .NET 6 and using local Bootstrap assets. This update moves the project to .NET 10 and adds a GitHub Actions path that builds/tests on .NET 10, deploys to UAT, then promotes to production via slot swap.

  • .NET 10 upgrade

    • Bumped the app target framework to net10.0.
    • Kept the project aligned with the SDK/CLI flow so framework updates stay explicit.
  • Bootstrap references

    • Replaced local Bootstrap files with pinned CDN assets.
    • Added SRI attributes so the runtime asset source is deterministic and verifiable.
  • GitHub Actions CI/CD

    • Added a new workflow for:
      • restore/build/test/publish on .NET 10
      • UAT deployment using app service name/resource group variables
      • production promotion via slot swap
    • Designed so the app service name can be changed at the top of the workflow.
env:
  DOTNET_VERSION: "10.0.x"
  APP_SERVICE_NAME: ${{ vars.APP_SERVICE_NAME }}
  RESOURCE_GROUP: ${{ vars.RESOURCE_GROUP }}
  UAT_SLOT_NAME: "uat"
  PRODUCTION_SLOT_NAME: "production"

Co-authored-by: sayedimac <25403967+sayedimac@users.noreply.github.com>
path: .

- name: Azure login
uses: azure/login@v2
id-token: write
steps:
- name: Azure login
uses: azure/login@v2
Co-authored-by: sayedimac <25403967+sayedimac@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

path: .

- name: Azure login
uses: azure/login@v2
id-token: write
steps:
- name: Azure login
uses: azure/login@v2
Copilot AI changed the title [WIP] Refactor for dotnet add cicd and reference live bootstrap:latest Refactor for .NET 10 CI/CD and pinned Bootstrap CDN assets Aug 20, 2026
Copilot AI requested a review from sayedimac August 20, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor for dotnet add cicd and reference live bootstrap:latest

3 participants