ninject.web.mvc
Ninject MVC Controller from external assembly
I have some controllers in an external assembly, such as: namespace SomeExternalAssembly.Controllers { public class SomeExternalController : Controller[详细]
2023-04-09 02:52 分类:问答Asp Mvc 3 with NinjectHttpApplication and MEF
I am using Ninject as my MVC contr开发者_高级运维oller factory, but I also load in certain routes and controllers via MEF, these controllers need to be able to register themselves with Ninject:[详细]
2023-04-08 23:50 分类:问答Using Ninject in a Custom Authorize Attributes
I\'m using Ninject to Inject m开发者_开发百科y dependency in my Custom Authorize Attribute: public class ValidatePermissionAttribute : AuthorizeAttribute, IAuthorizationFilter[详细]
2023-04-06 03:48 分类:问答404 with ASP.net MVC3 and ninject.web.mvc
I have an MVC3 application that works in Visual Studio, but when published to the web server returns a 404 on Requested URL: /App/Account/LogOn.The problem is I never created an Account controller or[详细]
2023-04-04 15:59 分类:问答Ninject - dynamically specifying a connection string based on a sub domain
I\'m trying to specify a connection string dynamically based of the url using ninject. I\'m using the ninject.mvc nuget package that uses the webActivator.[详细]
2023-03-27 02:07 分类:问答Ninject register per request
My ASP.NET MVC 3 application uses Ninject and Ninject ASP.NET MVC 3 integration. I have overloaded CreateKernel method.[详细]
2023-03-22 10:10 分类:问答Getting ninject / ninject.commons / ninject.web.mvc working with Mono 2.10.x and ASP.NET MVC3
Currently working on a project that is being developed in VS2010. I\'m running Windows in a VM, where I\'ve done most .NET dev, but I\'m now working on a new project that is ASP.NET MVC3 based so I th[详细]
2023-02-27 03:28 分类:问答NInject and MVC 3 - Should I use DependencyResolver instead of [Inject] attribute?
Recently I moved to MVC 3 and Ninject 2. In most of the code, I use constructor injection, but there are some places, where I had to use Inject attribute. Ninject 2 registers its own IDepencyResolver[详细]
2023-02-11 16:14 分类:问答