Do we need to deploy code behind files while working with ASP.NET 2.0 ?
Whidbey introduce many new features for web programmers but also change the way ASPX files are handle. There is no more "bin" directory where code behind classes compiled into DLL. All web application files including ASPX files and code behind files eventually exists as IL code under application directory in "Temporary ASP.NET files". There are no way to build the application due to the fact that all web application files compile by ASP.NET the first time the WEB application called. while this ability let us build WEB applications where every page can be build with other programming language there is something that bother me.
If all pages compile on demand and I'm creating new page with code behind file, I need to deploy both ASPX and code behind files to the server. Yes it nice to change *.cs file on the server and to see the results when calling the page but is it right to put source file on the server?