Skip to content
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

update iis library to netcore #1342

Merged
merged 1 commit into from
Sep 22, 2024
Merged

update iis library to netcore #1342

merged 1 commit into from
Sep 22, 2024

Conversation

zentron
Copy link
Contributor

@zentron zentron commented Sep 12, 2024

No description provided.

? WebServerSupport.Legacy()
: WebServerSupport.AutoDetect();

#if IIS_SUPPORT
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part of code will change once #1343 merges to change how we deal with this legacy IIS6 class

{
using (var serverManager = ServerManager.OpenRemote(Localhost))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method appears to fail in NetCore
dotnet/core#2691
That's fine really since we are only interacting with the localhost anyway so we dont need to use OpenRemote

@zentron zentron marked this pull request as ready for review September 12, 2024 23:53
Copy link
Contributor

@APErebus APErebus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zentron zentron merged commit 590fc6f into main Sep 22, 2024
44 checks passed
@zentron zentron deleted the robe/iis-netcore branch September 22, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants