StructureMap.Microsoft.DependencyInjection icon indicating copy to clipboard operation
StructureMap.Microsoft.DependencyInjection copied to clipboard

StructureMap integration for ASP.NET Core

Results 13 StructureMap.Microsoft.DependencyInjection issues
Sort by recently updated
recently updated
newest added

There are lots of changes in ASP.NET Core 3.0 and breaks StructureMap.Microsoft.DependencyInjection. The new framework dropped the support for configuring third-party DI containers via ConfigureServices, which, returns an IServiceProvider class....

I would like to add extensions methods for the IHostBuilder to make this library work with [Generic Host](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/generic-host?view=aspnetcore-2.1) introduced in ASP.NET Core 2.1. It allows us to run [background tasks...

is this framework supporting DotNetCore 3.1 ?

Sometimes we use concrete classes and `StructureMapServiceProvider.GetInstance()` doesn't resolve instances. But `GetInstance` can resolve it - [Auto Resolving Concrete Types](https://structuremap.github.io/resolving/requesting-a-concrete-type/) Might want to accept changes

The call to .UseStructureMap() expects nothing or a Registry. Either way it creates a brand new container. I would prefer to use an existing container with cross cutting services that...

I have an asp.net core 2.0 application. In `startup` I am calling `services.AddMvc()`; This registers `MvcRouteHandler` as a singleton. `MvcRouteHandler` has two constructors. The greediest one takes an `IActionContextAccessor` which...

Hello, I have put together a couple of test cases to show this issue. I'm seeing some funny behaviour when attempting to use `Microsoft.Extensions.Options;`. This first test case shows adding...

This adds a failing test case to repro issue #43.

When scanning for things in the registry, some types can't be resolved in the controller constructor (in the case of the example IOptions but I don't think it's exclusive to...

Trying to resolve a concrete type with dependencies does not work when I pass the `IServiceProvicer` in as an argument to the Invoke-method. However, if I get the service via...