-
Notifications
You must be signed in to change notification settings - Fork 3
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
Correct way to run with StructureMap #35
Comments
As long as StructureMap can be used as an IServiceCollection you should be fine. See Build constructor by using something like StructureMap.Microsoft.DependencyInjection |
Seems like the docs could be improved. |
All examples of using StructureMap.Microsoft.DependencyInjection returns an |
And the question then is how do you make it work in a web app? My guess is that if you have a working solution for that, then you should be able to make a PR with either a documentation fix or update of this library to support your use case. |
@petterl how is it going? |
Nice. I did not go any further with this. But used Configuration from
Microsoft instead. It is now quite nice with overrides for environment and
files.
Now I do not work the code in Go anymore but will forward to relevant
person.
On Sat, 13 Jul 2019 at 11:44, Oskar Gewalli ***@***.***> wrote:
@petterl <https://github.com/petterl> how is it going? I noticed that
there is a StructureMap.Microsoft.DependencyInjection
<https://github.com/structuremap/StructureMap.Microsoft.DependencyInjection>
that can be used together with StructureMap.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#35?email_source=notifications&email_token=AAAM7JVRWZ6DLRTAICYRDKLP7GPWNA5CNFSM4GM246YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3OJDA#issuecomment-511108236>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAM7JXLIFOHGCWJ3MGNCTLP7GPWNANCNFSM4GM246YA>
.
--
Petter Sandholdt
|
Looks like they are sunsetting StructureMap in favor of Lamar. I'll need to review the different alternatives for modern .net apps. |
There are preview packages that make it easier to use Isop together with other dependency injection frameworks. |
What is now the correct way to run with structremap in the net core version?
The ObjectFactory method is no longer in the configuration object.
The text was updated successfully, but these errors were encountered: