Skip to content

Add support for endpoints defined in Kestrel config#4205

Merged
davidfowl merged 16 commits intomicrosoft:mainfrom
davidebbo:kestrel-config
Jun 3, 2024
Merged

Add support for endpoints defined in Kestrel config#4205
davidfowl merged 16 commits intomicrosoft:mainfrom
davidebbo:kestrel-config

Conversation

@davidebbo
Copy link
Copy Markdown
Contributor

@davidebbo davidebbo commented May 16, 2024

Allow endpoints to be defined in the Kestrel config as an alternative to the profile. As is the case at runtime, Kestrel config endpoints override profile endpoints.

Fixes #3456

Microsoft Reviewers: Open in CodeFlow

@ghost ghost added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label May 16, 2024
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label May 16, 2024
Comment thread src/Aspire.Hosting/ProjectResourceBuilderExtensions.cs Outdated
Comment thread playground/TestShop/BasketService/appsettings.json Outdated
Comment thread src/Aspire.Hosting/ProjectResourceBuilderExtensions.cs Outdated
Comment thread src/Aspire.Hosting/IProjectMetadata.cs Outdated
Comment thread src/Aspire.Hosting/ProjectResourceBuilderExtensions.cs
Comment thread src/Aspire.Hosting/ProjectResourceBuilderExtensions.cs
@davidebbo davidebbo changed the title DO NOT MERGE: Initial support for Kestrel endpoints Add support for endpoints defined in Kestrel config May 20, 2024
@davidebbo davidebbo force-pushed the kestrel-config branch 2 times, most recently from 0eb6280 to 54c2305 Compare May 22, 2024 09:21
@davidfowl davidfowl merged commit 86dadcb into microsoft:main Jun 3, 2024
@davidfowl
Copy link
Copy Markdown
Contributor

Thanks @davidebbo !

@fergalmoran
Copy link
Copy Markdown

So, as the person who originally raised this..
Where are we on getting this into bits we can play with?

@davidebbo
Copy link
Copy Markdown
Contributor Author

The change is in, but I don't know when it'll make it in some official build, @davidfowl are there daily builds people can get?

@fergalmoran or you could just build the repo and try it there, if only to verify that it works as you expect.

@davidfowl
Copy link
Copy Markdown
Contributor

Docs here on using the daily builds https://github.com/dotnet/aspire/blob/main/docs/using-latest-daily.md

@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Turn Kestrel configuration for project resources into endpoints

3 participants