Top "Viewengine" questions

ASP.NET MVC View Engine Comparison

I've been searching on SO & Google for a breakdown of the various View Engines available for ASP.NET MVC, …

asp.net-mvc spark-view-engine viewengine razor
What is view engine? What does it actually do?

I started learning ASP.NET MVC3. So, while reading tutorials online and in books, I came across this term "view …

c# asp.net asp.net-mvc viewengine
Can you recommend a .net template engine?

I am looking for a .net templating engine - something simple, lightweight, stable with not too many dependencies. All I …

asp.net templates viewengine templating-engine
Razor vs Webforms view engine for new ASP.NET MVC 3 site

Razor is prettier (and is new therefore cool). Webforms is something I am already familiar with. Naturally I would unquestionably …

asp.net-mvc asp.net-mvc-3 razor viewengine
Razor Nested Layouts with Cascading Sections

I have an MVC3 site using Razor as its view engine. I want my site to be skinnable. Most of …

asp.net-mvc-3 razor viewengine
How to concisely create optional HTML attributes with razor view engine?

I'm looking for a way to write the following code with less lines of code (maybe 5). I suppose I could …

asp.net-mvc razor viewengine
ASP.NET how to resolve CS1513: } expected error on page

I am getting an error at run time when viewing my ASP.NET page in the browser. I am not …

asp.net compiler-errors viewengine generated-code
How to change default view location scheme in ASP.NET MVC?

I want to change view locations at runtime based on current UI culture. How can I achieve this with default …

.net asp.net-mvc viewengine
HTML Encoding Strings - ASP.NET Web Forms VS Razor View Engine

I'm not quite sure how this works yet... trying to find documentation. In my existing app I've got two different …

asp.net-mvc-3 razor viewengine html-encode
How do you declare a comment using the Razor view engine?

Using ASP.NET MVC's default view engine, you can declare a server-side comment like this: <%-- This is a …

c# asp.net-mvc asp.net-mvc-3 razor viewengine