I’m a big fan of Entity Framework. It makes working with databases very convenient. I’ve discussed previously how I use Entity Framework to implement the repository pattern. Of course with ease of development sometimes sacrifices performance. In today’s article I’m going to explain my favorite approach to improve the performance of Entity Framework queries that are slow.
Blog
-
Mixing Powershell and Git with powerful shortcut commands
I use GitHub everyday. I don’t like the UI, it’s slow and cumbersome. So instead I use a combination of Powershell and posh-git; it’s the only tools I use. In this article I’m going to show you how to create shortcut commands like merge2master and merge2dev that automate the repeatable tasks of maintaining a development and master branch with GitHub.
-
Git pull rebase recovery
Using git pull –rebase is a great way to avoid those awkward looking commits of Merge branch ‘development’ of in the list of commits. Very difficult to read the actual deltas. Performing a Git rebase helps solve this. However, from time-to-time I’ve received conflicts and could not figure out how to fix the rebase and carry on. Scariest moments of my life. Luckily I’ve been able to recover from this.
-
Dependent DLL is not getting copied to the build output folder in Visual Studio
I was struggling the other day where one of my NuGet packages DLL that was installed in a separate MVC project was not being copied to my bin directory. I have discovered two potentially reasons why this was occurring. Read on for two different potential solutions.
-
Two different versions of the same DLL with C#
Recently I was stuck with the error Try removing one of the references or sign them to enable side-by-side. This is not a common error, but I received it because I was in the very unfortunate situation of requiring to have two different versions of the same DLL installed in my solution. Let’s explore how I worked around this.