-
I can't figure out how to get strings with quotes to come out correctly. I have a property on a class that I want to show in the output of my razor file but the engine is encoding it the wrong way no …
-
The Parse/Run APIs do not provide a way to pass in ViewBag contents.
Only ViewBag properties set/get from the page will work.
I have extended the interfaces/classes with overloads to provide this fu…
-
Using Nuget, we installed the Razor view engine (FubuMVC.Razor v0.9.5.817 and RazorEngine v3.0.8) which upgraded the following packages:
Bottles from 0.9.1.202 to 0.9.1.224
FubuCore from 0.9.4.117 to…
-
we can start with what Howard Dierking created here: https://github.com/howarddierking/RestBugs/blob/master/RestBugs%20Solution/RestBugs.Services/Formatters/RazorHtmlMediaTypeFormatter.cs
-
Tests are ran as MSpec + Machine.Fakes
Web App is MVC3, inside is RegistrationOrchestrator which is the class I'm testing. The orchestrator initiates the send email with the view located in Views/Ema…
-
I would like to be able to set some variable from within a content view, which gets rendered by its Layout view.
For example, in Razor for MVC I can do this: ViewBag.Title = "My Content Page".
Then, f…
-
I have a class that exposes the RazorEngine so templates can call templates. Like:
```
@using TemplateEngine
hello world@TemplateEngine.Partial(null, null, "html2")
```
where html2 is:
```
hello w…
-
Hi,
We have a case where we send emails to users using razor engine in a web service. Its so happening that two users who did some processing at the exact same time got each others email message. We …
shez updated
12 years ago
-
I'm using Postal in a class library project (being called from a MVC app, but shared by several MVC apps) and the email content files are in a separate /Templates folder and when I change the .cshtml …
-
hi,
in previous version, when i pass a null string to the parser, it will render and output as if it were an empty string. but in version 3 of razorengine, it throws an object reference not set to an…