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

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -