November 2008 - Posts


What role does the User Control has in the ASP.Net MVC? by Fredrik N

Several developers have asked me about the use of User Controls within the ASP.Net MVC, so I decided to write down what I think about it. A User Control is a piece of the User Interface which is sometimes created to be reused on several of Web Forms,...
Filed under: ,

What to do if computers didn't exists? by Fredrik N

If there wasn't any computers in the world, what should I do right now? It's not an easy question to answer. When I was about 6 years old, I was dreaming about being a farmer, have three kids at the age of 20. At the age of 20, I was working with a Business...

Why doesn't some of you write unit test? by Fredrik N

I have educated over 1000 developers the last 1 1/2 year and about 5% of them raise their hands when I ask them if they writes test, like unit test or if they use Test Driven Development (TDD). 5%! That is not much. When I asked them why they didn't write...
Filed under: , ,

Using Web Services in a 3-tier architecture by Fredrik N

During the age of the Windows DNA, most of us developers used COM/COM+ and a 3-tier architecture. Where we separate concerns by placing the views to present data into a layer called PL (Presentation Layer), we add all business logic into one single layer...
Filed under: ,

Don't return List<T> from a public member! by Fredrik N

A friend of mine had a question about IList<T> and List<T>. He had noticed that some developers are returning IList<T> from methods, for example: public IList<Customer> GetCustomers() { //... return customers; } So he wonder why...

Bring LINQ to SQL down by Fredrik N

There is a discussion on the net about LINQ to SQL and if it should be removed in the future. My collogue and friend Patrik Löwendahl wrote a post about what he think, you can read about it here . I don't care if LINQ to SQL will be removed, honestly...
More Posts