OfficeIMO.Reader.Web
3.0.0
Prefix Reserved
dotnet add package OfficeIMO.Reader.Web --version 3.0.0
NuGet\Install-Package OfficeIMO.Reader.Web -Version 3.0.0
<PackageReference Include="OfficeIMO.Reader.Web" Version="3.0.0" />
<PackageVersion Include="OfficeIMO.Reader.Web" Version="3.0.0" />
<PackageReference Include="OfficeIMO.Reader.Web" />
paket add OfficeIMO.Reader.Web --version 3.0.0
#r "nuget: OfficeIMO.Reader.Web, 3.0.0"
#:package OfficeIMO.Reader.Web@3.0.0
#addin nuget:?package=OfficeIMO.Reader.Web&version=3.0.0
#tool nuget:?package=OfficeIMO.Reader.Web&version=3.0.0
OfficeIMO.Reader.Web
OfficeIMO.Reader.Web is an explicit, bounded HTTP transport for an existing OfficeDocumentReader. It downloads bytes with a caller-owned HttpClient, then passes those bytes to the same configured handlers and processors used for local files.
using OfficeIMO.Reader;
using OfficeIMO.Reader.Html;
using OfficeIMO.Reader.Web;
OfficeDocumentReader reader = new OfficeDocumentReaderBuilder()
.AddHtmlHandler()
.Build();
var webReader = reader.CreateWebReader(
httpClient,
new ReaderWebOptions {
AllowedHosts = new[] { "docs.example.com" },
MaxResponseBytes = 16L * 1024L * 1024L
});
OfficeDocumentReadResult result = await webReader.ReadDocumentAsync(
new Uri("https://docs.example.com/guide.html"));
The transport accepts absolute HTTP(S) GET targets only, rejects URI-embedded credentials, checks an optional exact host allowlist, blocks loopback/private/non-routable IP literals by default, caps response bytes at the strictest Web, Reader, or selected-handler limit, applies a request timeout, and bounds concurrent operations per web-reader instance. Query strings are omitted from result metadata unless explicitly enabled.
Format selection stays with Reader. The logical source name comes from an explicit sourceName, the response Content-Disposition filename, or the final URI path, in that order. Supply sourceName when a download URL has no usable extension and content detection cannot identify the intended modular handler.
Reader Web is not an SSRF isolation boundary. The injected HttpClient owns DNS resolution, connection establishment, and automatic redirects. When a URI is untrusted, its handler must validate resolved addresses at connection time and validate every redirect destination before sending the redirected request. A preflight DNS lookup would remain vulnerable to rebinding, and Reader Web cannot intercept a redirect that an existing handler has already followed.
The injected client also owns authentication, proxies, certificates, decompression, retries, and other connection policy. Reader Web validates the requested URI and the final URI reported by the response as defense in depth, but IP-literal screening does not make arbitrary hostnames safe.
This package is not registered by OfficeIMO.Reader.All and performs no implicit network access. It adds no HTTP SDK, HTML parser, browser, process, native binary, model, or cloud provider; System.Net.Http comes from the target framework.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- OfficeIMO.Reader.Core (>= 3.0.0)
-
.NETStandard 2.0
- OfficeIMO.Reader.Core (>= 3.0.0)
-
net10.0
- OfficeIMO.Reader.Core (>= 3.0.0)
-
net8.0
- OfficeIMO.Reader.Core (>= 3.0.0)
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 |
|---|---|---|
| 3.0.0 | 42 | 7/20/2026 |