Infrastructure support for media-related data persistence and tracking.
Contents
- Usage Guide - How to integrate media tracking in your entities.
Summary
MediaMetadata entities and configurations.
- Integration with EF Core
ContextBase.
- Decouples file storage from metadata tracking.
This module handles the persistence of metadata related to media files (images, documents, etc.) stored in TaskHub.
Features
- Metadata Tracking: Store information about file size, content type, and storage path.
- EF Core Integration: Automatic table configuration when enabled in
ContextBase.
Configuration
Media persistence is configured within the Persistence section:
"Persistence": {
"Media": {
"IsEnabled": true,
"TableName": "MediaMetadata",
"BatchSize": 50,
"MaxRetryCount": 3,
"ProcessingInterval": "00:01:00"
}
}
Configuration Properties
- IsEnabled: Toggles media tracking.
- TableName: Name of the table for media metadata.
- BatchSize: Batch size for media processing tasks.
- MaxRetryCount: Retries for failed media operations.
- ProcessingInterval: Interval for periodic media-related tasks.