deploy-to-azure
Deploy the BookStore application to Azure using Aspire and azd. Use this to ship the application to production.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Deploy the application stack to Azure Container Apps using the Azure Developer CLI (azd).
Deployment Steps
-
Environment Check
- Verify the
.azuredirectory exists. - If missing, run
azd init(with--no-promptif possible, or ask user) to initialize the environment. - Run
/doctorto verify prerequisites.
- Verify the
-
Authentication
- Run
azd auth loginto ensure the session is active. -
Tip: If the user says they are already logged in, you can verify with
azd auth show-status(if available) or proceed.
- Run
// turbo 3. Deploy
- Run
azd upto provision resources and deploy the code. - This command may take several minutes.
- Be ready to handle prompts if
SafeToAutoRunis not enabled.
-
Verify Deployment
- Upon success, run
azd showto retrieve the public endpoints. - Display the
webfrontendURL to the user so they can access their deployed app.
- Upon success, run
Related Skills
Prerequisites:
-
/doctor- Verify your environment has .NET SDK, Docker, and azd installed -
/verify-feature- Ensure build and tests pass before deployment
Alternatives:
-
/deploy-kubernetes- For Kubernetes deployment (AKS, EKS, GKE)
Recovery:
-
/rollback-deployment- If deployment fails or causes issues
See Also:
- aspire-deployment-guide - Azure Container Apps deployment
- aspire-guide - Aspire orchestration overview
- AppHost AGENTS.md - Aspire orchestration configuration
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!