-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Mark WebHostBuilder class as obsolete #62785
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
BrennanConroy
merged 22 commits into
main
from
copilot/fix-33c08791-0d71-4418-a169-d65989144212
Jul 31, 2025
Merged
Changes from 17 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
5102b25
Initial plan
Copilot 54f0cdd
Mark WebHostBuilder class as obsolete with placeholder message
Copilot 8c3f586
Update WebHostBuilder usage to HostBuilder pattern in four target files
Copilot 8869208
fixup
BrennanConroy 5407fb0
Address review feedback: Add pragma disables and update to HostBuilde…
Copilot dd80d9c
Add pragma warning suppression for WebHost.cs and remove from WebHost…
Copilot 3f16853
Update TestServerTests.cs and HttpsConfigurationTests.cs to use HostB…
Copilot d028735
test
BrennanConroy 95e6eaa
fix tests
BrennanConroy 194d366
Remove nowarn settings and start converting TestHost tests to HostBui…
Copilot e87e383
Complete conversion of RequestBuilderTests, ClientHandlerTests, and W…
Copilot bd4d52f
Start converting TestHost test files to HostBuilder pattern
Copilot b146f4d
Complete conversion of HttpContextBuilderTests.cs to HostBuilder pattern
Copilot 2f609b9
Partial conversion of TestClientTests.cs and TestServerTests.cs to Ho…
Copilot dfcad52
Complete TestHost test file WebHostBuilder conversion - added pragma …
Copilot 9134e94
startasync
BrennanConroy f6c7ee3
convert
BrennanConroy 161a1b5
Convert 12 more TestServerTests to HostBuilder pattern
Copilot 5279775
testservertests
BrennanConroy ac08998
Update WebHostBuilder obsolete attribute to use ASPDEPR004 diagnostic ID
Copilot d63a4a8
Apply suggestions from code review
BrennanConroy c151d24
Update src/Hosting/TestHost/test/TestClientTests.cs
BrennanConroy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.