i using razorengine library create templates pdf generation in application. razorengine allows me utilize razor outside of normal asp.net web context.
how create shared / common .cshtml files can reuse? example footer template. since footer going same of pdfs have common footer template can call.
how do using razorengine?
make "footer.cshtml" partial view. call @html.renderpartial("footer").
Comments
Post a Comment