Refactoring nightmare Entity Framework query with performance in mind – Part II

I heard that first step to solve a problem is realizing you have one. It took me a while to get there. In the routine of everyday life there is always something more important, more urgent. Investing time in reworking things - especially things you'd like to leave behind you - is never an easy decision. But once you make it, you are already over the hump and things start to fall into place.. Taming the monster The…

Czytaj dalejRefactoring nightmare Entity Framework query with performance in mind – Part II

Refactoring nightmare Entity Framework query with performance in mind – Part I

I think every dev has a code he's not particularly proud of. Sometimes you start with relatively simple code, but as the time passes you keep adding functions and after some time you realize you've created a monster! You feed it as it still works and does its job, but an idea to refactor it just gives you a headache.. You learn to live with it and as you stay out of each other's way, all is fine..…

Czytaj dalejRefactoring nightmare Entity Framework query with performance in mind – Part I