asp.net mvc的App_Data文件夹 [英] asp.net mvc app_data folder

查看:219
本文介绍了asp.net mvc的App_Data文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要存储在服务器画廊大量的图像。我可以创建自己的文件夹,但在默认模板有一个名为App_Data文件夹。很显然,我想象模板的创建者意味着我们存储的数据在那里。但我不能找到一种方法来打开该文件夹中的任何东西。

I want to store a large number of images on a server gallery. I can create my own folder for that, but in the default template there is a folder named App_Data. Obviously, I imagine that creators of the template meant for us to store data there. But I can't find a way to open anything in that folder.

时它打算?或者,我该怎么办呢?或者我应该做我自己的文件夹的原因呢?

Is it intended? Or how do I do that? Or should I make my own folder for that reason?

推荐答案

这是由设计。 App_Data文件是为那些数据文件,如SQL前preSS DB的文件。据保护,使你不能浏览它,并抓住文件出来。把你的照片在另一个文件夹来纠正这一点。

It is by design. App_Data was meant for data files like sql express DB's files. It is protected so that you can't surf to it and grab files out of it. Put your images in another folder to correct this.

这篇关于asp.net mvc的App_Data文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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