-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresfeature-static-files
Milestone
Description
StaticFileMiddlewareTests should use dynamic ports rather than hardcoding port 12345. For ServerType.Kestrel, the app should bind to dynamic port "0" and query the app to find the assigned port, since this is 100% reliable. For ServerType.WebListener, the app should use GetNextPort() which is less reliable than directly binding to "0", but should be more reliable than a hardcoded port.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresfeature-static-files