I got it work I removed the global.asax file as I don not need and add the NinjectWebCommon.cs removed the references of ninject and added them again from nuget ( Ninject - Ninject.Web) and added my binding in App_Start/NinjectWebCommon.cs
private static void RegisterServices(IKernel kernel)
{
kernel.Bind<IProductRepository>().To<EFProductRepository>();
}
and in the page I used
[Inject]
public IProductRepository Repository { get; set; }
and worked for me .