I bet you choose File->New->WebSite (then choose a web site template) instead of File->New->Project (then choose a web site template)?
The first one does not create a DLL... code behind is compiled at run time....
Second one will create a DLL...
NB: Same behavior as prior version (2008)