Shared / Common templates using RazorEngine library

Jul 15, 2013 at 8:00 AM
I am using the RazorEngine library to create templates for my PDF generation in my application. RazorEngine allows me to utilize Razor outside of the normal asp.net web context.

How do I create shared / common .cshtml files that I can reuse? For example a Footer template. Since my Footer is going to look the same for most of my PDFs I would like to have a common footer template that I can call.

How do I do this using RazorEngine?