在asp.net项目中存储批量图像和视频的位置 [英] where to store bulk images and videos in asp.net project

查看:74
本文介绍了在asp.net项目中存储批量图像和视频的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我一直在用c#开发一个项目,我必须存储大量的视频和图像。我知道我可以通过在数据库中提供路径并将其保存在文件夹中来做到这一点,或者其次,我可以通过在数据库中存储视频的路径或URL来做同样的事情。但我的问题是我无法在文件夹中存储那么多的图像和视频,也无法在数据库中保存路径,因为网站用户会将某些视频直接上传到应用程序中。我该怎么办?这是在应用程序中存储图像和视频的最佳方式吗?

Hi,

I have been developing a project in c# where i will have to store lots of videos and images. I know that I can do that by giving a path in database and save them in folders or secondly, I can do the same by storing the path or url of videos in database. But my problem is that I can not store that much images and videos in a folder nor can I save the path in database as some of that videos will be directly uploaded into the application by website users. What do I do? which is the best way to store images and videos in an application?

推荐答案

互联网上有很多关于此问题的线索,人们讨论了它的死亡。



以下是您应该检查的一些链接:

链接1 [ ^ ]

Link 2 [ ^ ]

Link 3 [ ^ ]



在这里,您可以找到有关 YouTube的架构的详细信息[ ^ ]。



看看它们,你会有想法或解决方案。< br $>


祝你好运,

OI
There are numerous threads in the internet about this and people discussed about it to death..

Here are some links you should check:
Link 1[^]
Link 2[^]
Link 3[^]

Here you can find detailed info about YouTube''s architecture[^].

Have look at them and you will have an idea or a solution.

Good luck,
OI


这篇关于在asp.net项目中存储批量图像和视频的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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