You don't have compile code-beside class manually as you had to with in v1.1
with VS.NET 2003 & code-behind class (worked in v1.1 with using Src
attribute in Page directive instead of VS's default Inherits). You make c
ahnge to the class, and the change is reflected automatically.
Another thing being that in old model dynamically generated class derived
from the code-behind class, but with the new model they are one and the same
class. This means that you don't have to have separate declarations for
code-behind members (controls) like with the old model. Also because it is
now only one class, private members are visible from dynamically generated
class to code-beside and vice versa.
There are also pre-compilation features and a few other things that are of
interest.
Have you seen these articles for the idea of this new model?
ASP.NET 2.0 Internals
http://msdn.microsoft.com/asp.net/wh.../internals.asp
Update on changes for Beta 2
http://msdn.microsoft.com/asp.net/wh...ta2update.aspx
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
<no********@yahoo.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Can anyone @ MS help us understand why this change was made?
What value does it add?
(It just seems like an unnecessary semantic change to me)
Thanks!