-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AccountController set up guide #37
Comments
The default ASP.NET template that gets pre-installed with VS2012 and VS2013 are about the worst templates you can imagine. It lures developers into a ton of bad practices. The easiest way to get your application working is to remove the overloaded constructor of the You can find a more detailed discussion about this here. |
@dotnetjunkie Thank you so much (x1000). The link is really really helpful. How about VS2015RC template? |
Unfortunately I'm not familiar with the VS2015RC template, so I can't feedback on that. Neither can I point at any authentication source for you. I would say that you should stick to the good practices. I would say this basically means: stick to the SOLID principles (which is hard enough to do). A good book that teaches the SOLID principles is Robert Martin's Agile Principles and Patterns and after that, you should read Mark Seemann's Dependency Injection in .NET. You might also find some articles of myself interesting, such as this one and this one. |
@dotnetjunkie Words can't describe how thankful I am 👍 |
When using ASP.NET vNext with Visual Studio 2015, also take a look at this thread about integrating Simple Injector with vNext. |
Hello,
I am quite new about IoC and simpleInjector.
I am following the document and I just installed SimpleInjector.Integration.WebApi.WebHost.QuickStart package.(vs2013, asp.net mvc5, web api.2.2, individual identification)
I cannot get over the AccountController injection.
Could I get a step by step guide to set up AccountController using SimpleInjector?
I google it heaps but really hard to find a guide.
Sincerely,
The text was updated successfully, but these errors were encountered: