PDF Bookshelf – A responsive MVC bookshelf app

PDF Bookshelf – A responsive MVC bookshelf app Created by Freggl. This templates have specific characteristics, namely: PDF has features such as High Resolution: Yes, Compatible Browsers: IE9, IE10, IE11, Firefox, Safari, Opera, Chrome, Edge, Software Version: .NET 4.5 .

You can use this PDF Bookshelf – A responsive MVC bookshelf app on Net category for asp.net, bookshelf, database, dms, document, documentmanagementsystem, ENTITYFRAMEWORK, ghostscript, mvc, pdf, preview and another uses.

PDF Bookshelf - A responsive MVC bookshelf app
© Copyright by Freggl

Features:

  • None: None
  • .net 4.5: .NET 4.5
  • Yes: Yes
  • Ie9, ie10, ie11, firefox, safari, opera, chrome, edge: IE9, IE10, IE11, Firefox, Safari, Opera, Chrome, Edge
  • C# cs, javascript js, html, css, layered png: C# CS, JavaScript JS, HTML, CSS, Layered PNG

What is PDF Bookshelf

PDF Bookshelf is an ASP.NET MVC 5 application for managing pdf documents. It lets you upload pdf files and display them in a nice look alike bookshelf. The ui layout is pretty much self explaining. With the ìDocumentsî navigation item you can upload, edit and delete documents or add new attributes or categories. With the ìUsersî navigation item you can add, edit or delete users.

The features

  • PDF Bookshelf Automatically creates cover previews of uploaded documents (Ghostscript must be installed)*
  • Place every document in categories you define by yourself
  • Add document attributes (e.g. Author or Summary) and fill them on the document
  • Download the document

*sometimes Ghostscript can’t create a proper preview file, then you can upload your own preview file

Which technologies are used?

  • ASP.NET MVC 5
  • Entity framework 6 (with Repository pattern)
  • jQuery
  • Bootstrap
  • Ghostscript

The user administration

Pdf bookshelf also includes a user administration to create users with three different roles:

  1. Administrator Role (has access to everything including user management)
  2. Editor Role (can upload and edit documents and their attributes)
  3. User Role (can download and view documents and their details)
  4. No Role or not logged in users (can only see documents, but not download)

Of course you can remove the log in part and make PDF Bookshelf public or integrate the user administration of your own project.

How to run PDF Bookshelf

  1. Open up the Bookshelf solution
  2. Make sure you have LocalDB up and running
  3. Start debugging Bookshelf
  4. Optional: Install Ghostscript from the ThirdParty folder, if you are using another version of Ghostscript, edit the path in Web.config.

The demo

Open preview link from above to access the demo application. Log in (click right on “Account”) with the following log in credentials to edit documents: Username: admin Password: admin

Please do not wonder, this user is not changeable and out traffic and copyright reasons the PDFs you can download are fake and have only one page.

What is included

  • full source code of the application

Changelog

  • 1.0 (2015-06-04)
    • initial release
  • 1.1 (2015-06-14)
    • fixed bug when uploading a document, the category may not be saved correctly
    • added referential integrity for category id at documents
    • refactored Bookshelf
    • refactored Bookshelf.Data (added unit of work pattern)
    • changed removed search/filter function from navbar and moved it to separete content slider
  • 1.2 (2015-07-20)
    • minor changes to search/filter css
    • change download pdf behavior; pdfs are now shown inline if the browser supports it
    • fixed a bug where category saving may not work correctly
  • 1.3 (2015-11-01)
    • updated solution and projects to Visual Studio 2015
    • changed part of connection string from v11.0 (LocalDB in VS <=2013) to MSSQLLocalDB (LocalDB in VS >= 2015)
    • please install the “new” LocalDB for VS2015 yourself (take a look at the README), since Microsoft does not include in in the VS installer (atleast not in community edition)
    • beginning with version 1.3 Visual Studio 2013 and below keeps unsupported, use version 1.2 instead or downgrade the projects manually