Azure / reliable-web-app-pattern-dotnet

The Reliable Web App Pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for .NET.
https://aka.ms/eap/rwa/dotnet/doc
MIT License
361 stars 115 forks source link

Click the web service endpoint, page not found. #282

Closed zedy-wj closed 1 year ago

zedy-wj commented 1 year ago

Describe the issue: After azd deploy, click the endpoint of service web, you will get the error below: image

Repro Steps:

  1. azd init -t
  2. azd package
  3. azd provision
  4. Run command azd deploy, error below occurs, as one more empty resource group created when running the command azd provision. image
  5. After specifying the resource group, run command azd deploy, click the endpoint of service web, you will get the error below: image

Environment: OS: Windows Azd version: azd version 0.7.0-beta.2-pr.2672227 (commit dec4eb2c9f5932d3bd41f7e66b41c775c050ad48)

Expected behavior: After deployment, the page can be opened normally.

@rajeshkamal5050, @KSchlobohm for notification.

KSchlobohm commented 1 year ago

@rajeshkamal5050 we're tracking this issue for the requirement of having to set an AZURE_RESOURCE_GROUP environment variable when deploying

Also, when we deploy we'll want the same code to go to multiple resource groups so we would have to set this resource group twice.

KSchlobohm commented 1 year ago

We can generate a default index html experience for the API to direct the experience to the right place. We can also adjust the SERVICES_WEB_ENDPOINT to use the front door URI. This should pair with #315

KSchlobohm commented 1 year ago

migrated to 1852507