GroupDocs.Editor.UI.Api
6.0.4-stg
See the version list below for details.
dotnet add package GroupDocs.Editor.UI.Api --version 6.0.4-stg
NuGet\Install-Package GroupDocs.Editor.UI.Api -Version 6.0.4-stg
<PackageReference Include="GroupDocs.Editor.UI.Api" Version="6.0.4-stg" />
<PackageVersion Include="GroupDocs.Editor.UI.Api" Version="6.0.4-stg" />
<PackageReference Include="GroupDocs.Editor.UI.Api" />
paket add GroupDocs.Editor.UI.Api --version 6.0.4-stg
#r "nuget: GroupDocs.Editor.UI.Api, 6.0.4-stg"
#addin nuget:?package=GroupDocs.Editor.UI.Api&version=6.0.4-stg&prerelease
#tool nuget:?package=GroupDocs.Editor.UI.Api&version=6.0.4-stg&prerelease
UI for GroupDocs.Editor for .NET
GroupDocs.Editor UI is a rich UI interface that designed to work in conjunction with GroupDocs.Editor for .NET to display most popular Word documents (DOC, DOCX, RTF, ODT etc) formats in a browser.
To integrate GroupDocs.Editor UI in your ASP.NET Core project you just need to add services and middlewares into your Startup
class that provided in GroupDocs.Editor.UI
.
Include packages in your project:
dotnet add package GroupDocs.Editor.UI.Api
Add configuration to your Startup
class:
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddEditorControllers();
builder.Services.AddEditorSwagger();
builder.Services.AddEditor<LocalStorage>(builder.Configuration);
UI
The UI is Angular application that is build upon @groupdocs/groupdocs.editor.angular.ui-wordprocessing package.
API
The API is used to serve content such as to open, view, edit content, and save Word documents. The API can be hosted in the same or a separate application. The following API implementations available at the moment:
- [GroupDocs.Editor.UI.Api](dotnet add package GroupDocs.Editor.UI.Api)
All the API implementations are extensions of IMvcBuilder
:
GroupDocs.Editor for .NET requires license to skip trial limitations. A temporary license can be requested at Get a Temporary License.
Use the following code to set a license in the appsetting.json:
"LicenseOptions": {
"Type": 1, // see posible option bellow
"Source": "https://docs.groupdocs.com/editor/net/licensing-and-subscription/"
},
public enum LicenseSourceType
{
/// <summary>
/// The license stored locally.
/// </summary>
LocalPath = 0,
/// <summary>
/// The license stored remote and we should reed it by URL
/// </summary>
RemoteUrl = 1,
/// <summary>
/// The license stored base64 string
/// </summary>
Base64 = 2,
}
Linux dependencies
When running API on Linux or in Docker the following packages have to be installed:
RUN apt-get update && apt-get install -y libgdiplus
RUN sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list
RUN apt-get update; apt-get install -y ttf-mscorefonts-installer fontconfig
RUN fc-cache -f -v
Amazon S3 Storage
builder.Services.AddEditor<AwsS3Storage>(builder.Configuration);
specify option in the appsetting.json for file storage folder
"AWS": {
"Profile": "s3-dotnet-demo",
"Region": "us-west-2",
"BucketName": "groupDocs-editor-files"
},
API Storage Providers
builder.Services.AddEditor<LocalStorage>(builder.Configuration);
specify option in the appsetting.json for file storage folder and base url for read files
"LocalStorageOptions": {
"RootFolder": "pathToStorage",
"BaseUrl": "https://yourBaseUrl"
},
Contributing
Your contributions are welcome when you want to make the project better by adding new feature, improvement or a bug-fix.
- Read and follow the Don't push your pull requests
- Follow the code guidelines and conventions.
- Make sure to describe your pull requests well and add documentation.
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 was computed. 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
- AutoMapper.Extensions.Microsoft.DependencyInjection (>= 12.0.1)
- AWSSDK.Extensions.NETCore.Setup (>= 3.7.7)
- AWSSDK.S3 (>= 3.7.205.4)
- GroupDocs.Editor (>= 23.9.0)
- Microsoft.Extensions.Caching.Memory (>= 7.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.4)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- Microsoft.FeatureManagement.AspNetCore (>= 2.6.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.5)
- Swashbuckle.AspNetCore (>= 6.5.0)
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.11 | 10 | 12/27/2024 |
6.0.7-stg-prev | 2 | 1/30/2024 |
6.0.6-stg-prev | 2 | 1/17/2024 |
6.0.5-stg-202312141334 | 1 | 12/14/2023 |
6.0.4-stg | 3 | 11/2/2023 |
6.0.3-stg | 10 | 10/31/2023 |
6.0.2 | 2 | 1/15/2024 |
6.0.2-stg | 2 | 10/31/2023 |
6.0.1-stg | 3 | 10/31/2023 |