Views: 5.7K
Replies: 0
Archived
|
Using Ninject with the Patterns in Action applicationIf I wanted to add Ninject to the Patterns in Action project. Then remove DataAccess. Which layer would I put it in and how? Or do I add Ninject in Presentation layer? Thanks Dennis Tucker, Jun 11, 2012
So I would add ninject to the presentation layer? Add a "NinjectControllerFactory" class to my presentation and add my code?
Jun 28, 2012
I am newbie here, how to print code cause' it deletes greater than and less than sign in the content
Jun 14, 2012
Presentation Layer should not be the place to initialize a dataaccess object. You can private static readonly IAuditDao _auditDao = injector.Get(); before you do that, you should bind all dependencies to it.
Jun 14, 2012
|