Azure / data-api-builder

Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
https://aka.ms/dab/docs
MIT License
785 stars 142 forks source link

[Known Issue]: https://localhost:5001 not in Console Logs after `dab start` #2237

Open JerryNixon opened 1 month ago

JerryNixon commented 1 month ago

What happened?

When using .NET 8 and Data API builder v1.1+ CLI, the Console Logs do not present the HTTPS URL.

Workaround

In your .env file, add the following line:

ASPNETCORE_URLS="http://localhost:5000;https://localhost:5001"

References

  1. https://learn.microsoft.com/en-us/dotnet/core/compatibility/containers/8.0/aspnet-port
  2. https://learn.microsoft.com/en-us/azure/data-api-builder/how-to-use-environments#create-environment-variables-file

Version

1.1+

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

REST, GraphQL

Relevant log output

No response

Code of Conduct

seantleonard commented 2 weeks ago

The corrected breaking change article is for .net7: https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/7.0/https-binding-kestrel