Hello there,
I'm using your project in an application where my users are able to generate bunch of code through an user-friendly GUI. Even it's work really fine, I just got a little "bug" (well, I...
Id #910 | Release:
None
| Updated: Mar 20 at 4:02 PM by Daimakaicho | Created: Mar 20 at 4:02 PM by Daimakaicho
Create a base template in the global namespace, e.g.
public class MyTemplateBase : TemplateBase {}
Configure razor engine to use this template:
Razor.SetTemplateService(new TemplateServic...
Id #850 | Release:
None
| Updated: Feb 22 at 12:16 AM by IanNewson | Created: Oct 25, 2012 at 10:14 AM by IanNewson
Hi,
this is awesome stuff man,
could you please tell me what is the best way to add caching, so it behaves like normal asp mvc views, with auto invalidation of the cache?
thanks in advanced.
Id #745 | Release:
None
| Updated: Apr 4 at 4:19 PM by bkolodiy | Created: Jul 19, 2012 at 8:26 AM by DevMondo
I am trying to introduce Linq extensions into a project I am using and continue to get the error:
'System.Collections.Generic.List<MyCustomType>' does not contain a definition for 'First'
when ...
Id #742 | Release:
None
| Updated: Feb 22 at 12:16 AM by warappa | Created: Jul 13, 2012 at 2:37 PM by Widescreen
Created a new MVC4 web application using the mobile template. I added a controller based on a EF entity which resulted in some code being generated and a view which has JavaScript representing the ...
Id #721 | Release:
None
| Updated: Feb 22 at 12:16 AM by schalkvanwyk | Created: May 8, 2012 at 7:47 PM by schalkvanwyk
I keep getting this error no matter what I try. I thought it was because my project was using a client profile but its not. Its set to 4.0. I'm using the 3.0.8.0 beta assembly that I installed usin...
Id #713 | Release:
None
| Updated: Feb 22 at 12:16 AM by degree451 | Created: Apr 27, 2012 at 5:03 AM by degree451
The error occurs when I try to load assembly dynamically which uses RazorEngine.
Error text:
System.Diagnostics.Contracts.__ContractsRuntime+ContractException: Precondition failed: templateType !...
Id #706 | Release:
None
| Updated: Feb 22 at 12:16 AM by tomgallard | Created: Apr 6, 2012 at 2:35 PM by WStealth
Does the _Layout property serve the same purpose as WebPageBase.Layout in MVC? If so, then shouldn't it be named without the underscore prefix?
There is a convention of the default layout being _...
Id #597 | Release:
None
| Updated: Feb 22 at 12:16 AM by toddlucas | Created: Feb 9, 2012 at 6:12 AM by toddlucas
I have Windows 7 64 bit, .NET 4.5 (preview) installed and ASP.NET MVC 4 (preview) installed.
Got following exception: Method not found: System.Collections.Generic.Dictionary2<System.String,BlockPar...
Id #591 | Release:
None
| Updated: Feb 22 at 12:16 AM by mymatemitch | Created: Feb 7, 2012 at 8:50 AM by evereq
In an MVC4 project I have a view with a section for header scripts (below). Razor is ending the section on the last line of the Javascript (the } ) instead of the end like it should.
Note: This ...
Id #559 | Release:
None
| Updated: Feb 22 at 12:16 AM by AntarisZX | Created: Dec 29, 2011 at 11:40 PM by dkarzon