Rotativa, /rota'tiva/. Make Pdf from Asp.Net MVC 3
JavaScript C#
Switch branches/tags
Nothing to show
Pull request Compare This branch is 65 commits behind webgio:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Rotativa.Demo
Rotativa
packages
README
Rotativa.sln

README

Extremely easy way to create Pdf files from Asp.net MVC.

Usage:

public ActionResult PrintIndex()
{
    return new ActionAsPdf("Index", new { name = "Giorgio" }) { FileName = "Test.pdf" };
}

public ActionResult Index(string name)
{
    ViewBag.Message = string.Format("Hello {0} to ASP.NET MVC!", name);

    return View();
}

Also available a RouteAsPdf ActionResult.

It generates Pdf also from authorized actions (web forms authentication).