ASP.NET MVC dependency injection
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
I'm reading a book and the author is discussing DI using Ninject. Now time/work constraint aren't allowing me to keep reading yet. Here is my question. I read that, for using 'deleting' user accounts in an individual login method. Can I use DI to start the context object and pass it when need.
-
I'm reading a book and the author is discussing DI using Ninject. Now time/work constraint aren't allowing me to keep reading yet. Here is my question. I read that, for using 'deleting' user accounts in an individual login method. Can I use DI to start the context object and pass it when need.
Yes.
"Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor