top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is Razor ?

+3 votes

Why Razor when we already have ASPX?

posted Feb 21, 2014 by Muskan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Razor is clean, lightweight and syntax is easy as compared to ASPX.

For example, in ASPX to display simple time, we need to write:


In Razor, it’s just one line of code:

answer Feb 25, 2014 by Sanketi Garg
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.