Skip to content
loading...

re: Wiring up Ninject with ASP.NET Core 2.0 VIEW POST

FULL DISCUSSION
 

public class BaseController : Controller
{
public BaseController()
{
var ctx = HttpContext;
}
}

public class ValuesController: BaseController
{
public ValuesController() : base() {

}
}

HttpContext is null.
Any help is appreciated

code of conduct - report abuse