Posts Tagged ‘razor’

ASP.NET MVC 3 Video Training

Posted: 8th October 2011 by Iulian Margarintescu in .NET
Tags: , , , ,

This free video training will get you up and running with ASP.NET MVC. outlet iphone xr case online It covers everything from setting up a development environment through to deploying an application, iphone 8 case outlet uk and provides details on models, cheap iphone xr case outlet views… Continue┬áreading

Templates With Razor in ASP.NET MVC3

Posted: 12th July 2011 by Iulian Margarintescu in .NET
Tags: , , , ,

This article describes a very nice feature of ASP.NET MVC3 Razor View Engine: Templates.
@helper tabs(params Tab[] tabs) {
<ul>
@foreach(var tab in tabs) {
<li><a href=”@tab.Url” >@tab.Text</a></li>
}
</ul>
}
Read the full article here