PDA

View Full Version : سوال: پوشه App_Code چه کاری انجام می دهد؟



Mohammad Hassani
پنج شنبه 31 تیر 1389, 18:45 عصر
سلام بر اساتید
لطفا راجع به پو شه App_Code در Visual Studio توضیح بدهید:
کاربردان چیست؟
با تشکر

ricky22
پنج شنبه 31 تیر 1389, 19:14 عصر
You can store source code in the App_Code folder, and it will be automatically compiled at run time. The resulting assembly is accessible to any other code in the Web application. The App_Code folder therefore works much like the Bin folder, except that you can store source code in it instead of compiled code. The App_Code folder and its special status in an ASP.NET Web application makes it possible to create custom classes and other source-code-only files and use them in your Web application without having to compile them independently
.

http://msdn.microsoft.com/en-us/library/t990ks23.aspx

charchipour.biman
جمعه 01 مرداد 1389, 15:57 عصر
دوست عزیز پوشه app_code برای ذخیره کلاس هایی هست که برنامه نویس برای برنامه اش از اونا استفاده میکنه که این کلاسا از روی جداول database ساخته می شوند.

ricky22
جمعه 01 مرداد 1389, 16:16 عصر
دوست عزیز پوشه app_code برای ذخیره کلاس هایی هست که برنامه نویس برای برنامه اش از اونا استفاده میکنه که این کلاسا از روی جداول database ساخته می شوند.
الزامی نداره که از روی جداول ساخته شه!