November 2008 - Posts

11
Comments

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: ,
21
Comments

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...
16
Comments

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: , ,
4
Comments

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: ,
5
Comments

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...
9
Comments

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