The war of the var keyword continues

I don't know how many times I have read articles about the var keyword, and how "dangures" it is to the readability of your code. Yesterday Steve Wellens wrote about how misused the keyword is. I have to say that I couldn't disagree more. First of all his example isn't a real world exampl ...

Why code blocks in the UI is a good thing

A very common argument against the asp.net mvc framework is that people don't want to use server side code in the same place as you have the html code. Some say it makes the code unreadable or that it is a step backwards in development and closer to asp 3. In my opinion, this is a very thin argument ...

A application isnt stronger then its weakest layer

When you want to increse the preformance of one of your web applications, what is the first thing you look at? For many developers, the answer is the data access. How can I write this query in a more sufficiant way, so that I can get preformance gain? In my expreiance, we tend to think that this is ...

How and why to write testable code

In my personal experiance, highly testable code often equals good code. My deffinition of good code is that it should be loosly coupled layers, follow basic object oriented principals, small methods, good readability and it shouldn´t have much code duplication. I find, that if you think about ...

Javascript in my usercontrols at the bottom please

So the other day I sat down to optimize my latest part of a page that I been working on and I realized that I had some javascript in a usercontrol. In the javascript I called .net functions like ResolveUrl and i didn't want the cost of yet another request with the thoughts of all my jquery plugins. ...

<< [1] >>