Top "Razorengine" questions

Antaris RazorEngine is a parsing engine that allows robust templates using Razor syntax.

Server Cannot Append Header After HTTP headers have been sent Exception at @Html.AntiForgery

I'm developing an asp.net mvc 5 application in which I was trying to redirect to the ReturnUrl by applying the …

asp.net-mvc-5 razorengine
RazorEngine issues with @Html

I am using RazorEngine to render out some basic content (a very crude content management system). It works great until …

razorengine
RazorEngine layouts

I am using the Razor engine https://github.com/Antaris/RazorEngine to parse the body of my email templates. Is …

c# razorengine
@Html.ActionLink and Angularjs value?

Hey i'm currently workin on a project that has implemented angularjs, i was wondering if there is a way around …

html asp.net-mvc angularjs razor razorengine
.NET Core <select> With Default Value?

My goal is to generate a <select> dropdown with a certain select value (<option>) pre-selected, so …

c# asp.net-core razorengine asp.net-core-tag-helpers
how to remove the querystring parameters in url in mvc4 with razer using url.action

url.action is : <li><a href="@Url.Action("CategoryLevel", "Product", new { CategoryId = @item._categoryId, ProductName = @Html.Raw(…

asp.net-mvc asp.net-mvc-4 razorengine url.action urlrewriting.net
Could not install Microsoft.AspNet.Razor 3.0.0

I am working on an ASP.NET project in which I need to do simple HTML templating. The prettiest solution …

asp.net razor razorengine
RazorEngine un-cache compiled templates

Currently, I am using RazorEngine v2.1 as part of a background process that sends templated emails (thousands of them). To …

c# service razorengine
RazorEngine string layouts and sections?

I use razor engine like this: public class EmailService : IService { private readonly ITemplateService templateService; public EmailService(ITemplateService templateService) { if (templateService == …

c# embedded-resource razorengine
How do I get the RazorEngine Parse method to work successfully with the layout?

I'm using the RazorEngine and the Parse method throws an error if I specify the layout in the view. If …

c# asp.net-mvc razorengine