需要一个 EF/Linq/MVC 库来封装/抽象文件系统



我们的系统接受上传的文件。它们存储在文件系统中,路径保存在实体框架File实体中。它可以工作,但不透明/简单,并且有很多"活动部件"需要维护。

使用像 EF 这样的高级工具的想法意味着我不必担心平凡的数据库内容。我想要同样的东西,但用于管理文件系统对象的存储库。

有没有可以为我管理文件系统的库?具有以下功能:

- storing files
- moving
- deleting
- detecting missing or corrupted files
- computing+comparing hashes
- working with image files
- extracting metadata
- determining paths; relative to webserver, absolute, etc.
- updating files
- referencing all this via a linq-like syntax
- hopefully integrated with EF
- etc.

Bobby B,

尝试 http://sensenet.codeplex.com/它是DMS asp.net 开源。

希望这有帮助!

最新更新