Ninject.Extensions.Glimpse

Created: 2011-07-10 19:32
Updated: 2018-02-17 06:27
License: mit
c#

Readme.md

Glimpse 1.2.x Plugin for Ninject v3.x

What is Glimpse and Ninject?

Glimpse is an awesome open source Firebug for ASP.NET: http://getglimpse.com/

Ninject is an awesome open source dependency injector for .NET: http://ninject.org/

What is this?

This Glimpse Plugin gives you a clearer view of your Ninject Modules, bindings and settings.

Quick start

Simply drag and drop Ninject.Extensions.Glimpse.dll into your bin directory. It should automatically locate your Ninject container instance if it supports automatic extension loading.

Manual Wireup

If you have ninject extension loading off, you'll need to manually add the Glimpse module to your new StandardKernel() creation call:

private static IKernel CreateKernel()
{
	var kernel = new StandardKernel(new GetNinjectInstanceForGlimpseModule());
	
	// Other Registration ommitted
		
	return kernel;
}

OR

private static void RegisterServices(IKernel kernel)
{
	// Load Specific Modules
	kernel.Load(new GetNinjectInstanceForGlimpseModule());
}       
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more