Nedev.FileConverters.Core
0.1.0
dotnet add package Nedev.FileConverters.Core --version 0.1.0
NuGet\Install-Package Nedev.FileConverters.Core -Version 0.1.0
<PackageReference Include="Nedev.FileConverters.Core" Version="0.1.0" />
<PackageVersion Include="Nedev.FileConverters.Core" Version="0.1.0" />
<PackageReference Include="Nedev.FileConverters.Core" />
paket add Nedev.FileConverters.Core --version 0.1.0
#r "nuget: Nedev.FileConverters.Core, 0.1.0"
#:package Nedev.FileConverters.Core@0.1.0
#addin nuget:?package=Nedev.FileConverters.Core&version=0.1.0
#tool nuget:?package=Nedev.FileConverters.Core&version=0.1.0
Nedev.FileConverters.Core
This library provides the core interfaces and registration mechanisms for the Nedev.FileConverters family of converters.
Features
IFileConverterinterface for converting streams from one format to anotherNedev.FileConverters.Converteras the consumer-facing conversion entry- Automatic discovery of attributed converters through the Core infrastructure
ServiceCollectionextension to register converters in DI containers
Getting Started
Install the package (once published) via NuGet:
Install-Package Nedev.FileConverters.Core
Implementing a converter
Create a class that implements IFileConverter and adorn it with
FileConverterAttribute to indicate the formats it handles:
using Nedev.FileConverters.Core;
[FileConverter("doc", "docx")]
public class MyConverter : IFileConverter
{
public Stream Convert(Stream input)
{
// perform conversion
}
}
When conversion is first requested, the Core infrastructure automatically scans loaded assemblies, instantiates each attributed converter, and caches it. In the common case no extra registration code is required.
Using dependency injection (host side)
This is intended for the application or library that hosts converter implementations.
Regular consumers should prefer the static Nedev.FileConverters.Converter entry shown below.
using Nedev.FileConverters.Core;
services.AddFileConverter("doc", "docx", new MyConverter());
Consumer entry (recommended)
Converter is the main consumer-facing entry point:
using Nedev.FileConverters;
using var outStream = Converter.Convert(inStream, "doc", "docx");
Contributing
Feel free to open issues or pull requests to add new converters or improve the core.
License
This project is released under the MIT License.
| 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 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
-
net8.0
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Nedev.FileConverters.Core:
| Package | Downloads |
|---|---|
|
Nedev.FileConverters.HtmlToDocx
High-performance HTML to DOCX converter for .NET 10 with zero third-party dependencies |
|
|
Nedev.FileConverters.DocToDocx
A high-performance DOC to DOCX converter without third-party dependencies |
|
|
Nedev.FileConverters.DocxToPdf
A .NET library for converting DOCX files to PDF using custom PDF engine |
|
|
Nedev.FileConverters.PptToPptx
Library for converting legacy `.ppt` files to modern `.pptx`/`.pptm` formats. |
|
|
Nedev.FileConverters.DocxToDoc
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 480 | 3/6/2026 |