ConvergeERP.Shared.Documents.Core
0.0.1-beta
dotnet add package ConvergeERP.Shared.Documents.Core --version 0.0.1-beta
NuGet\Install-Package ConvergeERP.Shared.Documents.Core -Version 0.0.1-beta
<PackageReference Include="ConvergeERP.Shared.Documents.Core" Version="0.0.1-beta" />
<PackageVersion Include="ConvergeERP.Shared.Documents.Core" Version="0.0.1-beta" />
<PackageReference Include="ConvergeERP.Shared.Documents.Core" />
paket add ConvergeERP.Shared.Documents.Core --version 0.0.1-beta
#r "nuget: ConvergeERP.Shared.Documents.Core, 0.0.1-beta"
#:package ConvergeERP.Shared.Documents.Core@0.0.1-beta
#addin nuget:?package=ConvergeERP.Shared.Documents.Core&version=0.0.1-beta&prerelease
#tool nuget:?package=ConvergeERP.Shared.Documents.Core&version=0.0.1-beta&prerelease
ConvergeERP.Shared.Documents.Core
Core abstractions for document management in ConvergeERP applications.
Contents
- Entities:
Document,DocumentFile,DocumentCategory - Interfaces:
IFileStorageServicefor storage abstraction - DTOs: Request/response models for document operations
- Events: Integration events for event-driven architectures
- Enums:
DocumentStatus,FileUploadStatus
Usage
This package contains only interfaces, entities, and contracts. For the implementation, install:
ConvergeERP.Shared.Documents- EF Core implementationConvergeERP.Shared.Documents.S3- AWS S3 storage adapter
// Inject the storage service
public class MyService
{
private readonly IFileStorageService _storage;
public MyService(IFileStorageService storage)
{
_storage = storage;
}
public async Task<string> UploadEmployeeDocument(Guid companyId, IFormFile file)
{
// Generate pre-signed upload URL
var result = await _storage.GenerateUploadUrlAsync(
companyId,
file.FileName,
file.ContentType);
return result.UploadUrl; // Client uploads directly to S3
}
}
Two-Phase Upload Flow
- Request upload URL: Client requests a pre-signed URL
- Direct upload: Client uploads file directly to storage (S3)
- Confirm upload: Client confirms upload, file is verified and linked
This flow avoids proxying file bytes through your API, reducing server load.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- AWSSDK.S3 (>= 4.0.25.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ConvergeERP.Shared.Documents.Core:
| Package | Downloads |
|---|---|
|
ConvergeERP.Shared.Documents.S3
AWS S3 implementation of IFileStorageService for document management. Supports pre-signed URLs, direct upload/download, and S3-compatible storage. |
|
|
ConvergeERP.Shared.Documents
EF Core implementation of document management. Includes entity configurations, repositories, and DI extensions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.1-beta | 96 | 6/19/2026 |