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

时间:2022-10-14 02:13:24

Our system accepts uploaded files. They are stored in the filesystem, and paths are kept in an Entity Framework File entity. It works, but isn't transparent/simple, and there are lots of "moving parts" to be maintained.

我们的系统接受上传文件。它们存储在文件系统中,路径保存在Entity Framework File实体中。它有效,但不透明/简单,并且有许多“活动部件”需要维护。

The idea of using a high-level tool like EF means I don't have to worry about mundane db stuff. I'd like the same sort of thing but for managing a repository of filesystem objects.

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

Is there a library which can manage the filesystem for me? With these sort of features:

是否有可以为我管理文件系统的库?有了这些功能:

- 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.

1 个解决方案

#1


1  

Bobby B,

鲍比B,

try http://sensenet.codeplex.com/ it's an open source asp.net DMS.

试试http://sensenet.codeplex.com/这是一个开源的asp.net DMS。

Hope this helps!

希望这可以帮助!

#1


1  

Bobby B,

鲍比B,

try http://sensenet.codeplex.com/ it's an open source asp.net DMS.

试试http://sensenet.codeplex.com/这是一个开源的asp.net DMS。

Hope this helps!

希望这可以帮助!