RePointFS 1.0.0
See the version list below for details.
dotnet tool install --global RePointFS --version 1.0.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local RePointFS --version 1.0.0
#tool dotnet:?package=RePointFS&version=1.0.0
nuke :add-package RePointFS --version 1.0.0
RePointFS Utilities Library
<p style="text-align: center;" align="center"> <img width="200" src="https://github.com/Ethan0007/RePointFS/blob/development/Images/RePointFS.png" alt="RePoint"> </p>
The RePointFS Utilities Library provides a set of tools to facilitate common file system operations, including file downloads from Azure Blob Storage and saving file paths to a SQL Server database.
Features
- Download files from Azure Blob Storage to a local directory.
- Save file paths to a SQL Server database table.
Installation
You can install the library via NuGet Package Manager:
Install-Package YourPackageId
Usage
Downloading Files from Azure Blob Storage
using FileSystemUtilities;
// Create an instance of FileSystemManager
var fileSystemManager = new FileSystemManager(localRootPath, azureConnectionString, azureContainerName);
// Download all files from Azure Blob Storage to a local directory
await fileSystemManager.DownloadAllFilesAsync(destinationDirectory);
Saving File Paths to SQL Server Database
using FileSystemUtilities;
// Create an instance of FileSystemManager
var fileSystemManager = new FileSystemManager(localRootPath, connectionString, azureContainerName);
// Save file paths to SQL Server database table
await fileSystemManager.DownloadAllFilesAsync(tableName, columnName, destinationDirectory, true);
Configuration
- localRootPath: The local directory where files will be downloaded.
- azureConnectionString: The connection string for Azure Blob Storage.
- azureContainerName: The name of the Azure Blob Storage container.
- connectionString: The connection string for the SQL Server database.
- tableName: The name of the table in the SQL Server database.
- columnName: The name of the column in the SQL Server database table where file paths will be saved.
- destinationDirectory: The destination directory for downloaded files.
License
Copyright (c) 2024 Joever Monceda
Linkedin: Joever Monceda
Medium: Joever Monceda
Twitter @_EthanHunt07
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
1. Added support for downloading files from Azure Blob Storage.
2. Implemented functionality to save file paths to a SQL Server database.
3. Provides an easy-to-use interface for common file system operations.
4. Initial release of the FileSystem Utilities library.