razor

MVC partial rendering issue using Razor

Hello, I have _Layout.cshtml defined for my mvc application, which is shown below: @inherits System.Web.Mvc.WebViewPage @using Webdiyer.WebControls.Mvc; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> @RenderSection("HeaderContent", false) </head> <body> @RenderBody() </body> </html> On the page SomePage.cshtml, ...

How can I use Razor in non-web applications... such as a mail merge program?

Has anyone attempted to use Razor outside of a Web Application, such as within a C# commandline application? Generally how would one go about using Razor to do a simple mail merge? It seems to be possible based on the comments of this blog post. ...

Who benefits (or is at a disadvantage) with MVC: the Developer or the Designer?

When comparing MVC to ASP.NET Forms, which one offers a better design-time experience for a web designer? ... which is better for the developer? I was just looking at the new Razor MVC syntax and think that designers may simply delete stray } that are used in for..each loops. One might say that ASP.NET WebForms offers a better web des...