Oakrey.Files
1.0.0
dotnet add package Oakrey.Files --version 1.0.0
NuGet\Install-Package Oakrey.Files -Version 1.0.0
<PackageReference Include="Oakrey.Files" Version="1.0.0" />
<PackageVersion Include="Oakrey.Files" Version="1.0.0" />
<PackageReference Include="Oakrey.Files" />
paket add Oakrey.Files --version 1.0.0
#r "nuget: Oakrey.Files, 1.0.0"
#addin nuget:?package=Oakrey.Files&version=1.0.0
#tool nuget:?package=Oakrey.Files&version=1.0.0
Oakrey.Files
Overview
The Files project provides utilities for file naming and compression. It simplifies the generation of unique file names based on various policies and offers methods for compressing and decompressing files and byte arrays.
Feature
File Naming Utilities:
FileNameGenerator:
- Generates file names based on policies like date-time, GUID, incremental, and user-defined formats.
- Supports creating file paths by combining folder paths, file names, and extensions.
FileNameSource:
- Encapsulates file naming parameters and provides methods to generate file names and paths dynamically.
FileNamingPolicy:
- Enum defining supported naming policies (e.g., DateTime, GUID, Incremental).
Compression and Decompression:
ZipCompression:
- Provides methods to compress and decompress byte arrays and files using GZip.
Thread-Safe Operations:
Ensures thread safety for file name generation using locks.
Extensibility:
Designed to support additional file naming policies and compression algorithms.
Installation
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
- Search for
Oakrey.Files
and click Install.
.NET CLI
Run the following command in your terminal:
dotnet add package Oakrey.Files
Package Manager Console
Run the following command in your Package Manager Console:
Install-Package Oakrey.Files
Requirements
- .NET 8 or higher
Project Information
- Author: Oakrey
- Company: Oakrey
- License: MIT
- Repository: Git Repository
- Project URL: Project Website
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Oakrey.Files:
Package | Downloads |
---|---|
Oakrey.Applications.Trace
A .NET library for real-time tracing of application activities, featuring configurable settings, status monitoring, and integration with telemetry and logging systems. |
|
Oakrey.Applications.CustomLogging
A flexible and extensible .NET library for custom logging, supporting multiple logging engines, log broadcasting, and contextual logging with file path customization. |
|
Oakrey.Applications.Reporting
A .NET library for generating structured reports with metadata, supporting evidence-based reporting, customizable output, and batch reporting capabilities |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 207 | 4/16/2025 |