I'm still trying to discover all about the new ASP.NET 2.0 project
model. The fact that you don't need IIS, not even a Web Project makes
development so much faster and easier. There is no web project
actually, any folder can be a Web Site. This doesn't mean you should
grab your whole application and throw it inside the
App_Code folder. Application layers should still be on their own class library projects and assemblies as necessary.
I've found some interesting posts on the matter from
Scott Allen where he explains that
contrary to be worse than in ASP.NET 1.x, the new compilation model is actually better. This relates to my post about the
ASP.NET 2.0 simplified code-behind model
and my question about why do you need an Inherits attribute on the
@Page declaration. As a matter of fact, you probably don't need it, it
should be named something else, like PartialClassName. As Scott
explains, the compilation model now takes both parts, aspx page and
code-behind and merge them into one assembly under the same Class name.
There is no inheritance going on there at least as I can see.
In
another post he mades a point related to the
ASP.NET Web Site Precompilation about how in some cases you would need to specify a @Reference directive to make things work. Take note.
So far, I'm enjoying this stuff.