Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AspireToAzure azd] Deploy a .NET Aspire app to Azure Container Apps - need some updates and unable to create AZD environment #11

Closed
2 of 4 tasks
balachir opened this issue Nov 10, 2023 · 5 comments
Labels
help wanted Good for community contributors to help [up-for-grabs]

Comments

@balachir
Copy link
Contributor

balachir commented Nov 10, 2023

Issue description

Using the latest Aspire bits (VS 17.9 P1 build), we tried running through the Deploy a .NET Aspire app to Azure Container Apps document. Chose 'Azure Developer CLI' option.

Some updates are needed.

Prerequisites

  • We should copy this section from the caching quickstart, which gives both the VS and CLI install options.

Install the Azure Developer CLI

  • This section occurs twice in the document. Below 'Prerequisites', it simply says that you'll learn about Azure Developer CLI. And then below 'Create the template solution' section, there is a link to the actual instructions to get azd. I think just the second Azure Developer CLI section is sufficient, or we should combine the two sections into one.

Create the template solution

  • For the text Enter a Project Name of AspireSample., the project name should be AspireToAzure instead of AspireSample because that's the name we show in the azd screenshots.

Create a new AZD Environment

  • When doing azd init, I don't see the options described in this document. I only got a prompt for the environment name and a bicep file got generated which shows that a new resource group will get created. And that's it. Am I missing something?

image

Generated main.bicep file

image

@IEvangelist
Copy link
Member

The prerequisites issue(s) and the Install the Azure Developer CLI duplicate are both addressed in dotnet/docs-internal#1255 effort.

@IEvangelist IEvangelist transferred this issue from another repository Nov 11, 2023
@IEvangelist IEvangelist self-assigned this Nov 11, 2023
@davidfowl
Copy link
Member

@balachir You need a preview version of azd that supports aspire

@balachir
Copy link
Contributor Author

balachir commented Nov 13, 2023

@balachir You need a preview version of azd that supports aspire

@davidfowl thanks, I got a preview build from Brady. We'll give it another try.

@IEvangelist
Copy link
Member

Hi @balachir - can we close this, I cannot reproduce any of these issues?

@IEvangelist IEvangelist removed their assignment Jan 11, 2024
@IEvangelist IEvangelist added the help wanted Good for community contributors to help [up-for-grabs] label Jan 18, 2024
@alexwolfmsft
Copy link
Contributor

Verified that the Aspire + AZD deployment workflow for ACA is working fine with the latest versions, going to close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Good for community contributors to help [up-for-grabs]
Projects
None yet
Development

No branches or pull requests

4 participants