OfficeHost 0.6.0
dotnet add package OfficeHost --version 0.6.0
NuGet\Install-Package OfficeHost -Version 0.6.0
<PackageReference Include="OfficeHost" Version="0.6.0" />
<PackageVersion Include="OfficeHost" Version="0.6.0" />
<PackageReference Include="OfficeHost" />
paket add OfficeHost --version 0.6.0
#r "nuget: OfficeHost, 0.6.0"
#:package OfficeHost@0.6.0
#addin nuget:?package=OfficeHost&version=0.6.0
#tool nuget:?package=OfficeHost&version=0.6.0
The host side of the Office document protocols for ASP.NET Core, formerly the WopiServer package. Add it to a web application, and the files of any storage the application has open, edit and save in WOPI clients such as Collabora Online, ONLYOFFICE and Microsoft 365 for the web, and, in preview, in desktop Word, Excel and PowerPoint through the cell storage service of SharePoint (MS-FSSHTTP), with coauthoring.
using OfficeHost;
builder.Services.AddSingleton<IOfficeStorage>(new FileSystemStorage("/var/documents"));
builder.Services.AddOfficeHost(options => options.SigningKey = builder.Configuration["OfficeHost:SigningKey"]);
var app = builder.Build();
app.MapOfficeHost();
// desktop Office
app.MapFssHttp();
OfficeLauncher gives the URL of the editor and the access token for a file, or the ms-word: (ms-excel:,
ms-powerpoint:) link that opens it in desktop Office. See https://github.com/Papyrine/OfficeHost
for the documentation and a sample application.
| 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
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on OfficeHost:
| Package | Downloads |
|---|---|
|
OfficeHost.AzureBlob
An Azure Blob Storage storage for OfficeHost: the files in a blob container, shared by all the instances of the application, with no other service. |
|
|
OfficeHost.SqlServer
SQL Server stores for OfficeHost: the files, the WOPI locks, the state of desktop Office coauthoring and the user info, shared by all the instances of the application. The tables are created by OfficeHost.SqlServer.Install. |
|
|
OfficeHost.Shadow
A shadow of SharePoint for OfficeHost: replays desktop Office's traffic with SharePoint, as the OfficeHost.SharePoint module in SharePoint sends it, to a shadow deployment of an OfficeHost application, compares the answers, and logs the differences. For diagnostics: SharePoint answers as it does. |
GitHub repositories
This package is not used by any popular GitHub repositories.