ninject
NInject, nHibernate, and auditing in ASP.NET MVC
I am working on an inherited application which makes use of NInject and nHibernate as part of an ASP.NET MVC (C#) application. Currently, I\'m looking at a problem with the auditing of modifications.[详细]
2023-03-28 11:41 分类:问答Ninject - The resource cannot be found
I get error The resource cannot be found. When I try to implement Ninject in my MVC-3 application.The problem appears to be coming from Global.asax during CreateKernel()[详细]
2023-03-27 23:56 分类:问答How to inject services into view/viewmodel using Ninject in MVC3?
I am using MVC3 with Ninject, Dependencies in my controller are resolved with no problem. I have few services like localization, format provider and I want them to be开发者_如何学Go injected into view[详细]
2023-03-27 08:00 分类:问答Manual disposing is not working if using NInject RequestScope
I am using RequestScope of NInject in my application Bind<ITestClass>().To<TestClass>().InRequestScope();[详细]
2023-03-27 07:46 分类:问答Multi-step database transaction split across multiple HTTP requests
I have used TransactionScope in the past with desktop client applications to roll back an incomplete multi-step transaction.That approach would seem unlikely to work in an Web application.[详细]
2023-03-27 07:45 分类:问答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 分类:问答How should you use UnitofWork pattern on my asp.net-mvc site (using nhibernate and ninject)
i have followed the pattern on this site to hook up ninject and nhibernate to my asp.net-mvc3 site. Here is the code in my global.aspx.cs:[详细]
2023-03-26 03:44 分类:问答Do I really add this line for each class in my model using ninject and NHibernate?
I am using NHibernate and ninject in ASP.Net MVC, using this page as a guide.One thing I think is weird is that, in this code (half way down the page)[详细]
2023-03-26 02:13 分类:问答Ninject InRequestScope missing
Have a couple of questions regarding the latest version (2.2.1.4) of ninject. Was trying to Bind a Linq2sql DataContext to a concrete implementation InRequestScope (in a class library project)[详细]
2023-03-25 19:59 分类:问答Dependency Injection: How to inject when using a multi-project solution
hope this question is not all too stupid, I\'m trying to get a hold of more advanced programming principles and was thus trying to get used to Dependency Injection using Ninject.[详细]
2023-03-25 14:20 分类:问答