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

Add a singleton IHttpRuntime to abstract runtime data #185

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

twsouthwick
Copy link
Member

Currently, anything that relies on HttpRuntime ends up relying on static data that is initialized differently depending on if you're on IIS or not. This change introduces an abstraction so things that require HttpRuntime can build on it in a testable way.

@twsouthwick twsouthwick force-pushed the tasou/make-runtime-testable branch from d158868 to 355a340 Compare August 30, 2022 18:11
Currently, anything that relies on HttpRuntime ends up relying on static data that is initialized differently depending on if you're on IIS or not. This change introduces an abstraction so things that require HttpRuntime can build on it in a testable way.
@twsouthwick twsouthwick merged commit 8ba1696 into main Aug 30, 2022
@twsouthwick twsouthwick deleted the tasou/make-runtime-testable branch August 30, 2022 23:07
CZEMacLeod pushed a commit to CZEMacLeod/systemweb-adapters that referenced this pull request Sep 5, 2022
Currently, anything that relies on HttpRuntime ends up relying on static data that is initialized differently depending on if you're on IIS or not. This change introduces an abstraction so things that require HttpRuntime can build on it in a testable way.
CZEMacLeod added a commit to CZEMacLeod/systemweb-adapters that referenced this pull request Sep 5, 2022
CZEMacLeod added a commit to CZEMacLeod/systemweb-adapters that referenced this pull request Sep 5, 2022
CZEMacLeod added a commit to CZEMacLeod/systemweb-adapters that referenced this pull request Sep 5, 2022
CZEMacLeod added a commit to CZEMacLeod/systemweb-adapters that referenced this pull request Sep 7, 2022
CZEMacLeod added a commit to CZEMacLeod/systemweb-adapters that referenced this pull request Sep 7, 2022
CZEMacLeod added a commit to CZEMacLeod/systemweb-adapters that referenced this pull request Sep 7, 2022
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.

4 participants