visualeyes / cabinet Goto Github PK
View Code? Open in Web Editor NEWFile Storage Services for .NET
License: MIT License
File Storage Services for .NET
License: MIT License
Methods to check the space remaining total space will enable us to be smart about replication. For example, we don't want to replicate files and cause the disk to completely fill up.
Clients should be able to configure a key prefix for the Amazon S3 provider. All operations would then be based on keyPrefix + key
Create a project with an Google Cloud Storage provider to store files in the Google Cloud.
Add an option to create a S3 bucket if it does not exist. This will need to consider what permissions should be set on the bucket.
Hi,
First, this is awesome, looks like just what I need, however I noticed a couple of things which I need which are missing and I wanted to check if you'd considered them
Anyway, great work, thanks!
Provide support from migrating from one FileCabinet to another. For example, on disk to s3 or on disk on one location to another location.
This will require:
The UploadKeyProvider current uses Path.Combine
to join the guid and filename into a key. This causes issues for non-filesystem providers that may have a different delimiter. It should require the delimiter and use KeyUtils.JoinKeys
The coverage needs to be increased to increase confidence in changes.
It's important to have the file information in the upload save result to ensure the client can display information about uploaded files.
Create a project with an Azure provider to store files in the Azure blob store.
Allows developers to easily see the size of items they are about to operate on.
Create a MultiPartStreamProvider that can be configured with a file Cabinet. See http://www.azurefromthetrenches.com/uploading-an-image-to-a-blob-container-via-web-api/.
This will allow clients to stream files directly to a provider S3 / Azure without hitting the file system.
The migration task runner executes all the task but never completes. This is likely due to the use of the TransformBlock rather than an ActionBlock.
When checking file extensions jpg is allowed and JPG is denied. Cabinet should ignore case when checking file extensions.
Convert to .NET Core to support .NET Core and .NET 4.x frameworks
To allow easier configuration create providers that can load config from JSON stored on disk.
Example config file.
{
"ondisk": {
"type": "FileSystem",
"config": {
"dir": "~/App_Data/Uploads",
"createIfNotExists": true
}
},
"amazon": {
"type": "AmazonS3",
"config": {
"credentials": {
"type": "profile", // environment, environment-variable, basic
"name": "some-name"
},
"region": "ap-southeast-2",
"bucket": "test-bucket"
}
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.