I’ve just started to learn about Asp.Net 3.5 compilation model, but most articles mostly talk about Asp.Net 2.0 compilation model and how it differs from previous versions of ASP.NET compilation model. So I wasn’t able to find any article explaining if there are any differences between ASP.NET 2.0 and ASP.NET 3.5 compilation models. Thus:
A) do CodeBehind,Src, CodeFile and Inherits attributes act exactly the same in both ASP.NET 2.0 and ASP.NET 3.5?
B) where do Asp.Net 2.0 and Asp.Net 3.5 compilation models differ?
A) Yes.
B) The 3.5 compiler has some additional cleverness built in to handle things like Extension Methods, but there’s no real difference between the process of compiling a 2.0 Web Application and a 3.5 Web Application, nor is there any difference with running a 2.0 web site project on a 3.5 server – if you take a look in IIS, the version of ASP.NET it thinks it’s running on is 2.0.