VIEApps.Components.Utility.Epub.StrongName 10.10.2512.1

dotnet add package VIEApps.Components.Utility.Epub.StrongName --version 10.10.2512.1
                    
NuGet\Install-Package VIEApps.Components.Utility.Epub.StrongName -Version 10.10.2512.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="VIEApps.Components.Utility.Epub.StrongName" Version="10.10.2512.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VIEApps.Components.Utility.Epub.StrongName" Version="10.10.2512.1" />
                    
Directory.Packages.props
<PackageReference Include="VIEApps.Components.Utility.Epub.StrongName" />
                    
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 VIEApps.Components.Utility.Epub.StrongName --version 10.10.2512.1
                    
#r "nuget: VIEApps.Components.Utility.Epub.StrongName, 10.10.2512.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 VIEApps.Components.Utility.Epub.StrongName@10.10.2512.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=VIEApps.Components.Utility.Epub.StrongName&version=10.10.2512.1
                    
Install as a Cake Addin
#tool nuget:?package=VIEApps.Components.Utility.Epub.StrongName&version=10.10.2512.1
                    
Install as a Cake Tool

VIEApps.Components.Utility.Epub

A simple library for generating .EPUB documents on .NET Standard 2.x/.NET Core 2.x+

NuGet

using net.vieapps.Components.Utility.Epub;

var epub = new Epub.Document();
epub.AddBookIdentifier(uuid);
epub.AddLanguage(language);
epub.AddTitle(title);
epub.AddAuthor(author);
epub.AddPublisher(publisher);
epub.AddMetaItem("dc:contributor", contributor);
epub.AddMetaItem("book:Original", original);
epub.AddStylesheetData("style.css", stylesheet);

var coverImageId = epub.AddImageData("cover.jpg", coverImageBinaryData);
epub.AddMetaItem("cover", coverImageId);

var pageTemplate = @"<!DOCTYPE html>
	<html xmlns=""http://www.w3.org/1999/xhtml"">
		<head>
			<title>{0}</title>
			<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8""/>
			<link type=""text/css"" rel=""stylesheet"" href=""style.css""/>
			<style type=""text/css"">
				@page {
					padding: 0;
					margin: 0;
				}
			</style>
		</head>
		<body>
			{1}
		</body>
	</html>".Trim().Replace("\t", "");

// cover
epub.AddXhtmlData("page0.xhtml", pageTemplate.Replace("{0}", coverTitle).Replace("{1}", coverBody));

// chapter
for (var index = 0; index < pages.Count; index++)
{
	var name = string.Format("page{0}.xhtml", index + 1);
	var content = pages[index];

	epub.AddXhtmlData(name, pageTemplate.Replace("{0}", index < navs.Count ? navs[index] : coverTitle).Replace("{1}", content));
	epub.AddNavPoint(index < navs.Count ? navs[index] : coverTitle + " - " + (index + 1).ToString(), name, index + 1);
}

epub.Generate("sample-document.epub");

Others

This library is hard-fork of DotNetEpub with some modifications to run well on .NET Standard 2.x

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

    • No dependencies.
  • net10.0

    • No dependencies.

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
10.10.2512.1 167 11/27/2025
10.10.2511.1 275 11/12/2025
10.9.2511.1 278 11/12/2025
10.9.2510.2 268 10/15/2025
10.9.2510.1 291 9/30/2025
10.9.2509.1 197 9/11/2025
10.9.2508.5 146 8/22/2025
10.9.2508.2 265 8/7/2025
10.9.2508.1 165 8/1/2025
10.9.2507.1 196 7/14/2025
10.9.2506.2 234 6/18/2025
10.9.2506.1 168 5/24/2025
10.9.2505.1 223 4/30/2025
10.9.2504.4 252 4/13/2025
10.9.2504.3 230 4/8/2025
10.9.2504.1 235 4/2/2025
10.9.2503.2 188 3/22/2025
10.9.2503.1 177 3/1/2025
10.9.2501.2 178 1/24/2025
10.9.2501.1 212 12/31/2024
10.9.2412.1 189 12/9/2024
10.9.2411.1 191 11/18/2024
10.8.2410.1 207 10/2/2024
10.8.2408.1 196 8/1/2024
10.8.2407.1 190 6/22/2024
10.8.2406.1 182 5/30/2024
10.8.2404.1 162 5/9/2024
10.8.2312.1 238 12/22/2023
10.8.2311.1 203 11/16/2023
10.8.2310.2 201 10/25/2023
10.8.2310.1 204 9/30/2023
10.8.2309.1 231 9/8/2023
10.8.2308.1 274 8/29/2023
10.7.2307.1 255 7/6/2023
10.7.2306.1 244 6/7/2023
10.7.2305.1 236 5/17/2023
10.7.2303.2 359 3/17/2023
10.7.2303.1 338 3/2/2023
10.7.2302.1 423 1/31/2023
10.7.2301.1 411 1/2/2023
10.7.2212.1 437 11/30/2022
10.7.2211.1 437 11/27/2022
10.6.2211.1 474 11/9/2022
10.5.2211.1 433 11/5/2022
10.5.2209.1 495 9/20/2022
10.5.2207.1 551 7/18/2022
10.5.2205.6 577 5/6/2022
10.5.2205.3 587 5/5/2022
10.5.2205.1 583 4/30/2022
10.5.2204.2 583 4/12/2022
10.5.2204.1 580 4/10/2022
10.5.2203.4 580 3/15/2022
10.5.2203.3 578 3/10/2022
10.5.2203.2 601 3/10/2022
10.5.2203.1 591 3/5/2022
10.5.2201.1 411 1/3/2022
10.4.2112.1 423 12/3/2021
10.4.2111.1 482 11/2/2021
10.4.2110.3 462 10/13/2021
10.4.2110.2 490 9/30/2021
10.4.2110.1 479 9/30/2021
10.4.2109.7 455 9/22/2021
10.4.2109.6 506 9/20/2021
10.4.2109.5 476 9/17/2021
10.4.2109.3 480 9/16/2021
10.4.2109.2 496 9/13/2021
10.4.2109.1 458 9/3/2021
10.4.2108.3 494 8/2/2021
10.4.2108.2 513 8/1/2021
10.4.2108.1 498 7/26/2021
10.4.2107.2 558 7/17/2021
10.4.2107.1 502 7/1/2021
10.4.2106.2 491 6/8/2021
10.4.2106.1 567 6/6/2021
10.4.2105.1 485 5/3/2021
10.4.2104.1 521 4/4/2021
10.4.2103.1 531 3/9/2021
10.4.2102.1 533 2/1/2021
10.4.2101.1 537 12/31/2020
10.3.2012.3 544 12/17/2020
10.3.2012.2 557 12/16/2020
10.3.2012.1 573 12/3/2020
10.3.2011.2 626 11/15/2020
10.3.2011.1 579 11/12/2020
10.3.2010.1 617 10/24/2020
10.3.2009.3 624 9/9/2020
10.3.2009.2 623 9/3/2020
10.3.2009.1 663 9/2/2020
10.3.2008.3 608 8/21/2020
10.3.2008.2 646 8/12/2020
10.3.2008.1 665 8/3/2020
10.3.2007.2 647 7/15/2020
10.3.2007.1 649 6/30/2020
10.3.2006.2 606 6/10/2020
10.3.2006.1 632 6/2/2020
10.3.2005.2 653 5/20/2020
10.3.2005.1 643 5/13/2020
10.3.2004.24 624 4/24/2020
10.3.2004.1 663 3/31/2020
10.3.2003.4 746 3/7/2020
10.3.2003.3 728 3/5/2020
10.3.2003.2 680 3/3/2020
10.3.2002.5 684 2/20/2020
10.3.2002.4 794 2/19/2020
10.3.2002.3 732 2/11/2020
10.3.2002.2 708 2/3/2020
10.3.2002.1 772 2/2/2020
10.3.2001.4 703 1/19/2020
10.3.2001.3 648 1/17/2020
10.3.2001.2 710 1/6/2020
10.3.2001.1 713 1/2/2020
10.3.1912.3 709 12/6/2019
10.3.1912.2 756 12/4/2019
10.3.1912.1 648 12/1/2019
10.3.1911.1 671 10/28/2019
10.3.1910.4 670 10/17/2019
10.3.1910.3 703 10/10/2019
10.3.1910.2 662 10/1/2019
10.3.1910.1 723 9/26/2019
10.3.1908.1-preview 574 8/3/2019
10.3.1907.1-preview 558 7/2/2019
10.2.1906.2 805 6/12/2019
10.2.1905.1 762 5/17/2019
10.2.1904.1 868 4/1/2019
10.2.1812.1 1,027 12/9/2018

Support .NET 10