Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
balte22917y@devs I mean.. it's not an IDE really, so maybe it doesn't belong in this post at all ;p
-
balte22917y@Lahsen2016 nice! latexworkshop for Vs code uses latexmk to build the final PDF but they use something else for previews I think.
-
dnsProbe3937y@khateeb321 why arent you using any DI framework instead of pushing new everywhere. Just curious.
-
dnsProbe3937y@khateeb321
So by DI I meant, Dependency Injection frameworks like StructureMap, Unity or Castle Windsor.
As I see in the screenshot you shared, you are creating repository objects with new keyword in the controller and you have already written you repositories against an interface. This is where, instead of creating those object manually you can handover this job to a DI container.
Then parameterzing the constructor controller like ChangeRequestController(ICRGeneralInformationRepository repository), the DI will automatically inject the instance of your repository in the constructor.
http://structuremap.github.io/
Let me know if this makes sense :) -
@hipervee OMG!
I love devRant!
Thank you for sharing your knowledge. Means a lot, I'll look into it :)
Related Rants
Current state of my IDE, share yours :)
undefined
vs
ide
c#
angularjs
.net