News for hackers. Stuff that matters.
Re:What Makes .NET Core So Special? by thejosh on Thursday November 08, 2018 @11:49PM (#18412396)
You can use the DI stuff without ASP.Net Core though?
Re:What Makes .NET Core So Special? by ahoka on Friday November 09, 2018 @01:43AM (#18412775)
Yes, you can. If you don't need anything fancy (in that case you are better off with autofac), then you can just add the nuget to your console app and start using it with a few lines of code.
Re:What Makes .NET Core So Special? by merb on Friday November 09, 2018 @05:05AM (#18413449)
to be fair autofac is not really needed in most projects.

you can even write a bunch of lines that will automatically register all your controller dependencies. (of course autofac makes this more simple). but I actually prefer explicit registration (i had the implicit variant on guice and as soon as the project was big, implicit is a mess).

Re:What Makes .NET Core So Special? by joshschreuder on Friday November 09, 2018 @06:28AM (#18413724)
There's also Scrutor (https://github.com/khellang/Scrutor) which makes assembly scanning and registering dependencies really easy too