Hi All,
I have used DNN service framework, I put all my business logic in MVC application .
I have problem when i am using Ninject code architecture.
I think the problem is due to Global.asax.cs does not get call and in MVC app
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
//RegisterGlobalFilters(GlobalFilters.Filters);
RegisterRoutes(RouteTable.Routes);
ControllerBuilder.Current.SetControllerFactory(new NinjectControllerFactory());
}
Code in Global.asax.cs
I also put this code in route.cs where i am doing routing for service framework.
I also tried to put this code in at Global.asax file of DNN site, but still the me code is not called.
If i used simple controller without using Ninject code architecture, then it works fine.
Can anybody please suggest me where i have to put this code.
Many-Many thanks to you in advance.
Best Regards,
Praveen