ASP.NET 2.0 Namespaces

posted on 01/12/06 at 10:01:51 pm by Joel Ross

Frank?La Vigne is asking for other's experiences with ASP.NET 2.0 and namespaces. He's noticed that by default, namespaces aren't used in ASP.NET 2.0 pages, and wonders if it's a bug.

I don't think it is. In my opinion, it's an omission, but it's not a bug. With the default compilation model, namespaces for web forms aren't really needed - each is it's own assembly, and don't know anything about each other (and can't reference each other), so therefore, it's namespace isn't needed.

Personally, I added namespaces back in, because I think that's how it should be.

One last thing. Frank asked for feedback on this, which I find a little ironic. He has comments turned off, so it's kind of hard to provide feedback. I know comment spam is a problem, but if you want feedback, give people an easy way to give it!

Technorati Tags: | |

Categories: ASP.NET