-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Is there a way to parameterize and pass an instance of Startup rather than just the type? #831
Comments
This issue was moved to aspnet/Hosting#333 |
ryanbrandenburg
pushed a commit
that referenced
this issue
Nov 16, 2018
ryanbrandenburg
pushed a commit
that referenced
this issue
Nov 16, 2018
natemcmaster
pushed a commit
that referenced
this issue
Nov 20, 2018
…e in Common [Fixes #831] Fix startup exception page to handle flattened exceptions
ghost
locked as resolved and limited conversation to collaborators
Dec 4, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The intention is to avoid creating a separate TestStartUp class rather - rather inject an instance of Configuration
Sample start up below,
In the above implementation, if only
TestServer.CreateBuilder().UseStartup(instanceOfStartup)
is permitted
I can do this,
Advantage: I dont have to maintain multiple startup class.
Does it make sense?
The text was updated successfully, but these errors were encountered: