in ASP Net 4 with Ninject in order to map interfaces to default classes (i.e IMyClass to MyClass) I could do the following:
kernel.Bind(x =>
{
x.FromAssemblyContaining<ILibraryMarker>()
.SelectAllClasses()
.BindDefaultInterface();
});
I cannot figure out how to do this in ASP NET vNext, since it has its own IoC.
Any ideas?