/Glimpse.StructureMap

Adds StructureMap tab to Glimpse. Allows viewing all bound interfaces to implementations as well as current settings in the default container just by dropping the assembly into your project.

Primary LanguageJavaScriptOtherNOASSERTION

Glimpse 1.2.x for StructureMap 2.6.x>

Description

This is a simple Glimpse plugin to show StructureMap bound interfaces to implementations as well as current settings in the default container just by dropping the assembly into your project.

Usage

Either build the project and reference the Glimpse.StructureMap.dll in your Glimpse-enabled project or execute Install-Package GlimpseStructureMap in the Package Manager Console to install the NuGet package.

To enable the plugin, you have to call the ActivateGlimpseStructureMap() extension method on your IContainer.

Example

The Glimpse.StructureMap.Mvc3Sample ASP.NET MVC application simply shows a basic default StructureMap configuration. The HomeController has a dependency on IFooBar and FooBar implements IFooBar interface. StructureMap auto scan will create a configuration mapping for IFooBar with a concrete type of FooBar. StructureMap will inject the concrete implementation of IFooBar as FooBar resulting in the View displaying 'Snickers'.

Support

Create an issue here on GitHub, send me a message or fork the project and send me a pull request.

Open Source License

Glimpse for StructureMap is free software distributed under the Apache License 2.0.