Hello friends ,
many time one question comes in my mind ,what is the Difference between App_Code and App_Data.
and for the same I googled a lot and finally summarized this information in a very simple words.
Please check the below difference ..
Difference between App_Code and App_Data
App_Code
------
This will be used to hold the .cs files within a application.
These cs files will be available for the entire application.This folder can contain any number of files.
They may be .vb or .cs files.The files available in the folder will be compiled in to dlls dynamically.
U can have the file belong to a single programming language like either .vb or .cs.If u want to have more then u have to
configure the web.config file.
This is similaar to the bin folder except this can hold the source code.This folder can contain subfolders also.
Although this can contain many folders all teh files inside this folder will be compiled as a singleassembly.
App_Data
--------
This folder will be used for adding the databases to the application.The database files like .mdf,.mdb,xml files can
also be added to this folder.This way the database files can be added to the website.
I try my best to explain in a very simple manner.
If you have any issue ,please let me know.
Till the time
Enjoy the day with Lots of smile and Happiness.....
many time one question comes in my mind ,what is the Difference between App_Code and App_Data.
and for the same I googled a lot and finally summarized this information in a very simple words.
Please check the below difference ..
Difference between App_Code and App_Data
App_Code
------
This will be used to hold the .cs files within a application.
These cs files will be available for the entire application.This folder can contain any number of files.
They may be .vb or .cs files.The files available in the folder will be compiled in to dlls dynamically.
U can have the file belong to a single programming language like either .vb or .cs.If u want to have more then u have to
configure the web.config file.
This is similaar to the bin folder except this can hold the source code.This folder can contain subfolders also.
Although this can contain many folders all teh files inside this folder will be compiled as a singleassembly.
App_Data
--------
This folder will be used for adding the databases to the application.The database files like .mdf,.mdb,xml files can
also be added to this folder.This way the database files can be added to the website.
I try my best to explain in a very simple manner.
If you have any issue ,please let me know.
Till the time
Enjoy the day with Lots of smile and Happiness.....
No comments:
Post a Comment