我应该在哪里添加App_code文件夹? [英] Where shoud i add App_code folder?

查看:307
本文介绍了我应该在哪里添加App_code文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI专家..... !!!!

我打开了asp.net空的网站应用程序,但没有找到App_Code文件夹.

请告诉我如何添加以及我应该在哪里添加.

HI Experts.....!!!!

i opened asp.net empty website application but i didn''t find App_Code folder.

Please tell me how to add and exactly where should i add.

推荐答案

您必须将App_Code文件夹添加到网站的根目录中(与您的位置相同) App_Data文件夹).
You have to add your App_Code folder in the root of your website (in the same location as your App_Data folder).


除非您有一些要存储的代码然后在运行时进行编译,否则您无需添加App_code文件夹.
通过 [
You should not need to add the App_code folder unless you have some code that you want to store and then compile at runtime.
Going through this[^] might help.


只需右键单击项目并添加代码文件(.cs或.vb),Visual Studio会提示您自动为您添加App_Code文件夹.
Just right click on the project and add the code file (.cs or .vb), and Visual Studio will prompt to automatically add the App_Code folder for you.


这篇关于我应该在哪里添加App_code文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆