GroupDocs.Viewer.UI.Cloud.Api 8.1.1

Prefix Reserved
dotnet add package GroupDocs.Viewer.UI.Cloud.Api --version 8.1.1
                    
NuGet\Install-Package GroupDocs.Viewer.UI.Cloud.Api -Version 8.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GroupDocs.Viewer.UI.Cloud.Api" Version="8.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GroupDocs.Viewer.UI.Cloud.Api" Version="8.1.1" />
                    
Directory.Packages.props
<PackageReference Include="GroupDocs.Viewer.UI.Cloud.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GroupDocs.Viewer.UI.Cloud.Api --version 8.1.1
                    
#r "nuget: GroupDocs.Viewer.UI.Cloud.Api, 8.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GroupDocs.Viewer.UI.Cloud.Api@8.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GroupDocs.Viewer.UI.Cloud.Api&version=8.1.1
                    
Install as a Cake Addin
#tool nuget:?package=GroupDocs.Viewer.UI.Cloud.Api&version=8.1.1
                    
Install as a Cake Tool

GroupDocs.Viewer.UI.Cloud.Api

GroupDocs.Viewer.UI.Cloud.Api is a cloud-based API implementation for GroupDocs.Viewer.UI that enables document viewing using GroupDocs.Viewer Cloud API. It provides seamless integration with GroupDocs.Viewer Cloud services, allowing you to view documents in various formats.

Installation

To use GroupDocs.Viewer.UI.Cloud.Api in your ASP.NET Core project:

  1. Add the required package to your project:
dotnet add package GroupDocs.Viewer.UI.Cloud.Api
  1. Configure the Cloud API in your Startup class:
var builder = WebApplication.CreateBuilder(args);

builder.Services
    .AddGroupDocsViewerUI();

builder.Services
    .AddControllers()
    .AddGroupDocsViewerCloudApi(config =>
    {
        config.SetApiEndpoint("https://api.groupdocs.cloud/v2.0/");
        config.SetClientId("your-client-id");
        config.SetClientSecret("your-client-secret");
        config.SetStorageName("your-storage-name");

        config.SetSaveOutput(true); // Set this to `true` to save output in the cloud storage.
        config.SetOutputFolderPath("viewer"); // Set the folder path where to store the output in the cloud storage.
    })
    .AddLocalStorage("./Files");

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 Cloud API implementation provides the following configuration options:

Required Settings

Optional Settings

  • ApiEndpoint (Optional): The GroupDocs.Viewer Cloud API endpoint. Default is "https://api.groupdocs.cloud/v2.0/".
  • StorageName (Optional): The name of your cloud storage. Find available storages at GroupDocs Cloud Dashboard.
  • SaveOutput (Optional): Whether to save rendered output in cloud storage. Default is false.
  • OutputFolderPath (Optional): The folder path where rendered output will be stored. Default is "viewer".
  • ViewerType (Optional): The type of viewer to use. Options include:
    • HtmlWithEmbeddedResources (default)
    • HtmlWithExternalResources
    • Png
    • Jpg

Performance Considerations

When using GroupDocs.Viewer.UI.Cloud.Api:

  1. Network latency affects rendering performance
  2. Cloud storage operations impact response times
  3. Best suited for:
    • Applications requiring cloud-based document viewing
    • Distributed environments
    • Scenarios where local processing is not preferred
  4. Performance depends on:
    • Network connection quality
    • Cloud API response times
    • Document size and complexity
    • Chosen viewer type

Security Considerations

When using GroupDocs.Viewer.UI.Cloud.Api:

  1. Keep your client credentials secure
  2. Use HTTPS for all API communications
  3. Implement proper access control
  4. Monitor API usage and quotas
  5. Consider implementing rate limiting
  6. Regularly rotate client credentials

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1 160 9/21/2025
8.0.7 150 5/23/2025
8.0.6 176 5/5/2025
8.0.5 190 4/23/2025
8.0.4 193 4/22/2025
8.0.3 166 4/4/2025
8.0.2 151 2/6/2025
8.0.1 142 12/20/2024
8.0.0 149 12/16/2024
6.0.9 152 9/30/2024
6.0.8 167 6/11/2024
6.0.7 185 4/1/2024
6.0.6 246 6/29/2023
6.0.5 213 6/29/2023
6.0.4 246 4/5/2023
6.0.3 263 3/30/2023
6.0.2 288 3/26/2023
6.0.1 341 1/31/2023
6.0.0 485 7/23/2022
3.1.5 511 7/17/2022
3.1.4 488 7/15/2022
3.1.3 497 7/4/2022
3.1.2 499 6/21/2022
3.1.1 494 6/2/2022
3.1.0 655 11/18/2021