Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 1.38 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.38 KB

codecov GitHub Release MIT license

.Net 4.6 and .Net Core client for seaweed file system

This repository is a port of the lokra/seaweedfs-client GitHub code. This code has been refactored and extended to support .Net 4.6 and .Net Core Framework.

SeaweedFS is a simple and highly scalable distributed file system and started by implementing Facebook's Haystack design paper. SeaweedFS is currently growing, with more features on the way.

This .Net client encapsulates the SeaweedFS API functionality and provides a simple interface for easy integration.

Quick Start

Create a connection to Seaweed master server

var master = new MasterConnection("localhost", 9333);
// Start manager and listen for changes
master.Start();

Create file operation template and upload file

var template = new OperationsTemplate(master.GetConnection());
template.SaveFileByStream("filename.doc", someFileStream);