-
Recent Posts
Tweets
- Always good to check up on how Cortana's doing. https://t.co/Xnu3nvKr9e 2 weeks ago
- I've just realised I've been avoiding listening to Django Django (the band) due to a negative association in my hea… twitter.com/i/web/status/1… 3 weeks ago
- A lot of enterprises (a third of those I've worked in) configure "SSL inspection", meaning they decrypt all HTTPS t… twitter.com/i/web/status/1… 3 weeks ago
- Amazon need to employ some AI to get rid of non-answers like this. https://t.co/hIu9LKK5HV 1 month ago
- Valentines sorted https://t.co/qo4iu84Lni 2 months ago
Archives
- March 2021
- January 2021
- September 2014
- June 2014
- January 2014
- May 2012
- January 2012
- November 2011
- September 2011
- June 2011
- March 2011
- August 2010
- July 2010
- April 2010
- November 2009
- October 2009
- September 2009
- August 2009
- March 2009
- February 2009
- July 2008
- May 2008
- March 2008
- February 2008
- January 2008
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- February 2007
- January 2007
- November 2006
- October 2006
- August 2006
- July 2006
- March 2006
- January 2006
- September 2005
- June 2005
- May 2005
- April 2005
Categories
Meta
Tag Archives: Autofac
Referencing a .NET assembly in a compile time safe manner
If you need to provide a System.Reflection.Assembly instance to an API [1], there are several mechanisms for doing so. They roughly split into two camps: Run-time assembly loading Assemblies known at compile time The run-time assembly loading includes scenarios such … Continue reading
Posted in Computers and Internet
Tagged .NET, ASP.NET MVC, ASP.NET WebApi, Assembly Loading, Autofac, C#, System.Reflection.Assembly
Leave a comment
Tightening Injected Dependencies on Entity Framework
Dependency injection as a pattern provides a lot of useful nudges to get you to produce easily readable and maintainable code. One way in which it does this is to make dependencies explicit so you can see exactly what services a … Continue reading
Posted in Computers and Internet, laZook
Tagged .NET, Autofac, Code First, DbContext, Entity Framework, IDbSet, laZook, Unit of Work
1 Comment