locked
APP_Code RRS feed

  • Question

  • Purpose of app code  folder  in developing website  r any  desktop based application?
    Mr.GMKREDDY
    Friday, July 15, 2011 3:44 PM

Answers

  • Contains source code for shared classes and business objects (for example, ..cs, and .vb files) that you want to compile as part of your application. In a dynamically compiled Web site project, ASP.NET compiles the code in the App_Code folder on the initial request to your application. Items in this folder are then recompiled when any changes are detected.

     

    Code in the App_Code folder is referenced automatically in your application. The App_Code folder can contain subdirectories of files, which can include class files that in different programming languages. For more information, see Shared Code Folders in ASP.NET Web Projects and codeSubDirectories Element for compilation (ASP.NET Settings Schema).


    Mr.GMKREDDY
    • Marked as answer by Mr.GMKREDDY Friday, July 22, 2011 5:36 PM
    Friday, July 22, 2011 5:36 PM

All replies

  • App_Code is a default folder within an ASP.Net application. I hope when you add / modify any files within this folder it compiles automatically and also the file references set automatically to the entire project.


    Kathir
    • Proposed as answer by karurkathir Saturday, July 16, 2011 7:05 AM
    Saturday, July 16, 2011 7:05 AM
  • Contains source code for shared classes and business objects (for example, ..cs, and .vb files) that you want to compile as part of your application. In a dynamically compiled Web site project, ASP.NET compiles the code in the App_Code folder on the initial request to your application. Items in this folder are then recompiled when any changes are detected.

     

    Code in the App_Code folder is referenced automatically in your application. The App_Code folder can contain subdirectories of files, which can include class files that in different programming languages. For more information, see Shared Code Folders in ASP.NET Web Projects and codeSubDirectories Element for compilation (ASP.NET Settings Schema).


    Mr.GMKREDDY
    • Marked as answer by Mr.GMKREDDY Friday, July 22, 2011 5:36 PM
    Friday, July 22, 2011 5:36 PM