recommendation for adding the class file
-
u r attempting to add a class to asp.net application , for a class to be generally consumable to ur site , it should be placed inside the app_code folder , would u like to place the class in the app_code folder Why it is recommended?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
-
u r attempting to add a class to asp.net application , for a class to be generally consumable to ur site , it should be placed inside the app_code folder , would u like to place the class in the app_code folder Why it is recommended?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
-
u r attempting to add a class to asp.net application , for a class to be generally consumable to ur site , it should be placed inside the app_code folder , would u like to place the class in the app_code folder Why it is recommended?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
It is not compulsory to put class file in app_code folder. You can put it anywhere in your project but it is better you put it in app_code foler because its easy for you to access thls file in project. if you put class file outisde the folder and when u r trying to access it in codebehind it throw error "Compilation error as it no longer recognize ur class in CodeBehind" Hope this help..
People Laugh on me Because i am Different but i Laugh on them Because they all are same.
-
u r attempting to add a class to asp.net application , for a class to be generally consumable to ur site , it should be placed inside the app_code folder , would u like to place the class in the app_code folder Why it is recommended?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
Sonia Gupta wrote:
would u like to place the class in the app_code folder
I used to create separate projects for keeping my classes and refer that projects dll in ASP.NET application. I used to keep classes inside
app_code
folder too as it's a recommended practice since .NET 2.0. There are many advantages for keeping class in app_code, few of them are 1 - All pages in your application can access the classes in app_code 2 - All the classes in app_code are compiled into a single assembly.All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
u r attempting to add a class to asp.net application , for a class to be generally consumable to ur site , it should be placed inside the app_code folder , would u like to place the class in the app_code folder Why it is recommended?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
Check out this: http://www.dotnetjunkies.ddj.com/QuickStartv20/aspnet/doc/pages/code.aspx[^]
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson