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 -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -