GroupDocs.Viewer.UI.Api.Local.Storage
8.1.2
Prefix Reserved
dotnet add package GroupDocs.Viewer.UI.Api.Local.Storage --version 8.1.2
NuGet\Install-Package GroupDocs.Viewer.UI.Api.Local.Storage -Version 8.1.2
<PackageReference Include="GroupDocs.Viewer.UI.Api.Local.Storage" Version="8.1.2" />
<PackageVersion Include="GroupDocs.Viewer.UI.Api.Local.Storage" Version="8.1.2" />
<PackageReference Include="GroupDocs.Viewer.UI.Api.Local.Storage" />
paket add GroupDocs.Viewer.UI.Api.Local.Storage --version 8.1.2
#r "nuget: GroupDocs.Viewer.UI.Api.Local.Storage, 8.1.2"
#:package GroupDocs.Viewer.UI.Api.Local.Storage@8.1.2
#addin nuget:?package=GroupDocs.Viewer.UI.Api.Local.Storage&version=8.1.2
#tool nuget:?package=GroupDocs.Viewer.UI.Api.Local.Storage&version=8.1.2
GroupDocs.Viewer.UI.Api.Local.Storage
GroupDocs.Viewer.UI.Api.Local.Storage is a local file system storage implementation that can be used with GroupDocs.Viewer.UI.Api. It provides seamless integration with the local file system for storing and retrieving documents in your GroupDocs.Viewer.UI application.
Installation
To use Local Storage in your ASP.NET Core project:
- Add the required package to your project:
dotnet add package GroupDocs.Viewer.UI.Api.Local.Storage
- Configure Local Storage in your
Startupclass:
var builder = WebApplication.CreateBuilder(args);
builder.Services
.AddGroupDocsViewerUI();
builder.Services
.AddControllers()
.AddGroupDocsViewerSelfHostApi()
.AddLocalStorage("./Files"); // Path to your files directory
var app = builder.Build();
app
.UseRouting()
.UseEndpoints(endpoints =>
{
endpoints.MapGroupDocsViewerUI(options =>
{
options.UIPath = "/viewer";
options.ApiEndpoint = "/viewer-api";
});
endpoints.MapGroupDocsViewerApi(options =>
{
options.ApiPath = "/viewer-api";
});
});
await app.RunAsync();
Configuration Options
The Local Storage implementation requires a single configuration option:
storagePath(Required): The path to the directory where your files will be stored. This can be:- An absolute path (e.g.,
"C:/Documents/Files") - A relative path (e.g.,
"./Files") - A path relative to the application's root directory
- An absolute path (e.g.,
Security Considerations
When using Local Storage:
- Ensure the storage directory is not accessible directly through the web server
- Set appropriate file system permissions
- Consider implementing additional security measures if storing sensitive documents
License
This project is licensed under the MIT License - see the LICENSE.txt file for details.
| 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 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. |
-
net6.0
- GroupDocs.Viewer.UI.Core (>= 8.1.2)
-
net8.0
- GroupDocs.Viewer.UI.Core (>= 8.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.1.2 | 150 | 11/17/2025 |
| 8.1.1 | 242 | 9/21/2025 |
| 8.0.7 | 228 | 5/23/2025 |
| 8.0.6 | 252 | 5/5/2025 |
| 8.0.5 | 209 | 4/23/2025 |
| 8.0.4 | 213 | 4/22/2025 |
| 8.0.3 | 187 | 4/4/2025 |
| 8.0.2 | 189 | 2/6/2025 |
| 8.0.1 | 187 | 12/20/2024 |
| 8.0.0 | 164 | 12/16/2024 |
| 6.0.4 | 225 | 9/30/2024 |
| 6.0.3 | 240 | 6/11/2024 |
| 6.0.2 | 1,435 | 6/29/2023 |
| 6.0.1 | 253 | 6/29/2023 |
| 6.0.0 | 4,184 | 7/23/2022 |
| 3.1.2 | 2,442 | 11/18/2021 |
| 3.1.1 | 514 | 9/20/2021 |
| 3.1.0 | 567 | 7/9/2021 |