ASP.NET MVC, different of Razor syntax and ASP.NET syntax? -



ASP.NET MVC, different of Razor syntax and ASP.NET syntax? -

the advantage of razor syntax on asp.net syntax using on short tag "@" instead of "<%= %>"??

is other feature or info binding method razor can do, asp.net syntax not?

razor pretty cool, can observe if writing html code in code blocks. declaring big block of c# code, using @. write foreach-loop in that, , write html should echoed out. in asp.net markup, you'd have end c# code block %> , reopen <%. razor, on other hand, can observe when writing html , you. observe set bracket closes loop, without having set within <% %>. handy, , timesaver.

for more information: click click.

asp.net asp.net-mvc-3

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -