0
In many projects I realize that people tend to pass the Connection string both by dependency injection and optionsBuilder in the overlay of the Onconfiguring method.... What’s the point of using both at the same time?
0
In many projects I realize that people tend to pass the Connection string both by dependency injection and optionsBuilder in the overlay of the Onconfiguring method.... What’s the point of using both at the same time?
Browser other questions tagged c# asp.net-mvc entity-framework asp.net-core
You are not signed in. Login or sign up in order to post.
Qual o sentido de usar ambos ao mesmo tempo?
needless, needless, or one or the other. PreferableDI
leaving settings in theappsettings.json
to make your installation on the server flexible and easy to handle on your DI.– novic
That’s the way I think
– Márcio Sebastião