Search code examples
c#angularjspdfcross-platformepub

E-Book reader development technique


I'm working on a web project using AngularJs and WebApi 2 to create cross platform web client.

The project should support PDF and ePUB books and I need to provide the client with rich unified book viewer for booth formats.

My thoughts was to upload both formats and convert the PDF to the ePUB format and develop or find an open source ePUB viewer for the client side UI.

Problems:

  1. Proper C# library to convert PDF to ePUB keeping the PDF format.
  2. Ideas for streaming the books with large size to the client.
  3. Secure the book If download needed.

Solution

  • I contacted the client and did some changes, I knew that the PDF books are scanned images so I extracted it using ITextSharp library,About the ePUB books I used the "VersFx.Formats.Text.Epub" library form NuGet to pares the books and it was sufficient.