-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Add clarification that hosting APIs require framework-dependent deployments #49595
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
Merged
+3
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…oyments Co-authored-by: agocke <[email protected]>
Copilot
AI
changed the title
[WIP] Add clarification on hosting APIs usage in netcore-hosting docs
Add clarification that hosting APIs require framework-dependent deployments
Nov 3, 2025
Copilot finished work on behalf of
agocke
November 3, 2025 20:06
agocke
reviewed
Nov 3, 2025
Co-authored-by: agocke <[email protected]>
Copilot finished work on behalf of
agocke
November 3, 2025 21:56
Clarify deployment model information for nethost and hostfxr APIs.
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds an important note to clarify that the nethost and hostfxr hosting APIs only support framework-dependent deployments and don't work with self-contained deployments.
Key Changes
- Added an IMPORTANT callout box explaining hosting API deployment model limitations.
- Provided guidance to use framework-dependent deployments for compatibility with native hosting APIs.
Co-authored-by: Copilot <[email protected]>
elinor-fung
approved these changes
Nov 8, 2025
gewarren
approved these changes
Nov 10, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
nethostandhostfxrhosting APIs don't support self-contained deployments, but this limitation wasn't documented.Changes
The note appears immediately after the introductory paragraph in the "Hosting APIs" section, ensuring readers understand this constraint before implementing a custom host.
This pull request was created as a result of the following prompt from Copilot chat.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Internal previews