Is it just me, or is ASP.NET 2.0 completely incompatible with the code-behind model in ASP.NET 1.x? From what I've been able to tell, if you want to convert an ASP.NET 1.x NET application that uses code-behind, you have to refactor all of the pages to use code-beside before it will run.
I remember reading during pre-Beta days for ASP.NET 2.0 that the following 3 models would be supported in 2.0:
1. Code-Inside (<script runat="server"> within your ASPX)
2. Code-Behind (ASPX inherits from code-behind as it does in 1.x)
3. Code-Beside (ASPX and code-beside utilize partial classes to act as the same class, inherting from System.Web.UI.Page)
From what I can tell, code-behind is completely gone now. Can someone prove me wrong?
Share: TwitterLinkedIn