-
It's easiest to describe this bug via an example...
The following works:
public class Model {}
View.cshtml:
@model Model
@{ _Layout = "Layout"; }
...
Layout.cshtml:
@model Model
...
The following…
-
![errorlist](https://f.cloud.github.com/assets/3743813/452523/6b95e1e4-b2ec-11e2-9fd7-ae4ce42bd06f.png)
-
Probably need to use the ObjectGraph concept for breaking a complex type up into an easily-serialized structure. May need to do some research on how best to represent that structure in a debug stream.…
-
Hello, need help with TemplateBase. When set AnyClass derived from non-generic TemplateBase like:
var cfg = new RazorEngine.Configuration.TemplateServiceConfiguration {BaseTemplateType = typeof (AnyC…
-
MVC4 on .NET 4.0 framework. - vs2012
getting the "System.NotImplementedException: The method or operation is not implemented." message that has been reported before.
During debugging it's in the Ren…
-
I've been playing around with it for a while and trying to learn from the source, but I'm not getting it. I'd like to do something like this, ideally:
```
var foo = new RazorBaseClass();
foo.Bar = "e…
-
Support for LINQ queries in Razor views would be very helpful. Without LINQ, we need to resort to nested foreach{ } loops and if{ } statements to find pages by Tag or other Bag keys.
More broadly, i…
-
Extension methods work when invoked as static methods, but not when used as extensions
``` C#
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using RazorEngine;
using Razo…
-
Here's the code I'm using to invoke Razor.Compile:
```
Razor.Compile(GetRazor("add.cshtml"), "add.cshtml");
```
Where GetRazor just returns a string with the contents of that script. The script in q…
-
what's the advantage of using this, vs. leveraging the RazorEngine project (https://github.com/Antaris/RazorEngine), to handle templating?
I would like to see a better separation between the templati…
tafs7 updated
11 years ago