lauchacarro / Rotativa.AspNetCore

Rotativa for Asp.Net Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rotativa.AspNetCore

Rotativa for Asp.Net Core.

Docs are in the making. Should work almost exactly as Rotativa https://github.com/webgio/Rotativa

Development version

This is the first version of Rotativa for Asp.Net Core.

Install with nuget.org:

https://www.nuget.org/packages/Rotativa.AspNetCore

Please give feedback!

Needs configuration

Basic configuration done in Startup.cs:

RotativaConfiguration.Setup(env);

or, if using Asp.net Core 3.0:

RotativaConfiguration.Setup("<root path here>", "path/relative/to/root");

Make sure you have a folder with the wkhtmltopdf.exe file accessible by the process running the web app. By default it searches in a folder named "Rotativa" in the root of the web app. If you need to change that use the optional parameter to the Setup call RotativaConfiguration.Setup(env, "path/relative/to/root")

Issues and Pull Request

Contribution is welcomed. If you would like to provide a PR please add some testing.

About

Rotativa for Asp.Net Core

License:MIT License


Languages

Language:C# 83.0%Language:HTML 16.0%Language:CSS 0.9%Language:JavaScript 0.0%