S
Scott M.
Scenario:
ASP .NET 2.0 Web "Site"
All but one page is written using inline VB .NET code.
One page is written using VB .NET code-behind.
MSBuild options are set at the default (allow pages to be updateable)
When I "publish" the site and take a look at the precompiled folder that is
generated by this process, I see a /bin folder has been created with one
file in it "App_Web_pccpykfu.dll".
I also see a new file: "PrecompiledApp.config" in the site root.
When I open up one of the .aspx files, I still see my VB .NET source code.
I did a little snooping in the MSDN help and found this:
(From:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_vwdcon/html/c8048c31-012b-4718-b8ac-06a2dd41c137.htm)
"For precompiled sites that can be updated, the code in single-file pages is
not compiled into an assembly, but is instead deployed as source code."
So, here are my questions:
What is this "App_Web_pccpykfu.dll" file in my \bin folder?
What is the "PrecompiledApp.config" file in the site root?
Because I still see my source code in the inline .aspx files and because of
the snippet above I found in the help, does it mean that inline .aspx pages
set to be updateable will not actually be precompiled at all (since I don't
see any assemblies for the web pages - I was expecting one per page)?
Thanks,
Scott
ASP .NET 2.0 Web "Site"
All but one page is written using inline VB .NET code.
One page is written using VB .NET code-behind.
MSBuild options are set at the default (allow pages to be updateable)
When I "publish" the site and take a look at the precompiled folder that is
generated by this process, I see a /bin folder has been created with one
file in it "App_Web_pccpykfu.dll".
I also see a new file: "PrecompiledApp.config" in the site root.
When I open up one of the .aspx files, I still see my VB .NET source code.
I did a little snooping in the MSDN help and found this:
(From:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_vwdcon/html/c8048c31-012b-4718-b8ac-06a2dd41c137.htm)
"For precompiled sites that can be updated, the code in single-file pages is
not compiled into an assembly, but is instead deployed as source code."
So, here are my questions:
What is this "App_Web_pccpykfu.dll" file in my \bin folder?
What is the "PrecompiledApp.config" file in the site root?
Because I still see my source code in the inline .aspx files and because of
the snippet above I found in the help, does it mean that inline .aspx pages
set to be updateable will not actually be precompiled at all (since I don't
see any assemblies for the web pages - I was expecting one per page)?
Thanks,
Scott