I am using Microsoft DI with Sitecore 8.2 Update 3. I have registered my Glass Items like this:
serviceCollection.AddTransient<ISitecoreContext>(provider => new SitecoreContext());
serviceCollection.AddTransient<IGlassHtml>(provider => new GlassHtml(serviceProvider.GetService<ISitecoreContext>()));
serviceCollection.AddTransient<ICustomSitecoreContext>(provider => new CustomSitecoreContext(serviceProvider.GetService<IGlassHtml>()));
serviceCollection.AddScoped<ISitecoreService>(provider => new SitecoreService(Sitecore.Context.Database));
Most of these things are resolving. But, when I use the CustomSitecoreContext, the parameter GlassHTML is null. I can see on showservicesconfig.aspx that IGlassHtml is registered. Im thinking its maybe not registered in time to use it this way?