M
Maxwell2006
Hi,
I am a bit confused about the inline source code compilation (or code beside
model) in ASP.NET 2.0
My understanding was that anything in App_Code folder will be compiled at
the 1st request time.
Today I created a Default.aspx file in VS2005 IDE. The IDE also created the
Default.aspx.cs as well. There is BIN folder and when I run the website,
there is no DLL.
Does that mean that any .CS code beside file will be compiled at the 1st
request time?
If that is true, why there is a special folder called App_Code? We can put
our class libraries within a .CS file at the website root, can we?
Any clarification would be appreciated,
Max
I am a bit confused about the inline source code compilation (or code beside
model) in ASP.NET 2.0
My understanding was that anything in App_Code folder will be compiled at
the 1st request time.
Today I created a Default.aspx file in VS2005 IDE. The IDE also created the
Default.aspx.cs as well. There is BIN folder and when I run the website,
there is no DLL.
Does that mean that any .CS code beside file will be compiled at the 1st
request time?
If that is true, why there is a special folder called App_Code? We can put
our class libraries within a .CS file at the website root, can we?
Any clarification would be appreciated,
Max