The most misunderstood design pattern – Object Pool

Have you ever heard about Object Pooling? If you are a software developer then probably you have. It is usually described as a design pattern that allows you to decrease … Continue reading “The most misunderstood design pattern – Object Pool”

Magic Strings – No More!

How many times have you had to work with some Legacy code? Was it readable? Silly question… But what was the main problem? If the code was written in an … Continue reading “Magic Strings – No More!”

ORMs – Love them or hate them?

For many reasons we have grown to love our ORMs. We enjoy the simplicity of Entity Framework, the way it separates us from the old much unappreciated world of stored procedures … Continue reading “ORMs – Love them or hate them?”

Clean Code – Is my code always readable?

Did you ever have to go back to a fragment of code that you wrote a month or year ago? How did it feel? Was it easy or did you … Continue reading “Clean Code – Is my code always readable?”

Durandal — your new favourite client-side framework

So you were researching JavaScript frameworks to host your new single page application? Was angular too much or perhaps you don’t have time to learn its relatively complex structure? If … Continue reading “Durandal — your new favourite client-side framework”

6 more things C# developers should (not) do

For all wondering what are the things a C# developer should and should not do. As the continuation of my previous post 8 Most common mistakes C# developers make I … Continue reading “6 more things C# developers should (not) do”

Let the Power of Shell be with you! A Powershell review

Today we live in the era of graphical user interfaces. Click here, click there – everything is done by users’ clicks. If you are a developer you are probably familiar … Continue reading “Let the Power of Shell be with you! A Powershell review”

Entity Framework Invalid Operation Exception – a bug or developer’s bad design?

One day one team had some strange problem while adding certain entities to the database through Entity Framework. Each time, they got an exception telling that, “The changes to the … Continue reading “Entity Framework Invalid Operation Exception – a bug or developer’s bad design?”

MVC3 Forms Authentication using strongly typed User Roles

We often need to authenticate users and, depending on their roles, give them access to specific areas. MVC3 gives you a such possibility by means of RolesAdapter. But using RolesAdapter … Continue reading “MVC3 Forms Authentication using strongly typed User Roles”

ASP.Net MVC – issue with Ajax.ActionLink

Yesterday, I was cursing at my new ASP.Net MVC project. I was trying to use Ajax.ActionLink to refresh the part of the page which uses Ajax. Well, it should be … Continue reading “ASP.Net MVC – issue with Ajax.ActionLink”