locked
Why choose the name Razor for it? RRS feed

  • Question

  • User1241685987 posted

    Hello,

    Why ASP.NET team choose "Razor" name for this capability(Razor syntax)?

    Thanks

    Tuesday, April 17, 2018 5:32 AM

All replies

  • User283571144 posted

    Hi life24,

    In my opinion, razor is the bladed tool. It is used to remove the unwanted body hair. 

    I guess asp.net team wants this syntax is better than the asp.net web form.

    Since the web form takes more server resources than the MVC.

    The Razor syntax is a template markup syntax, based on the C# programming language, that enables the programmer to use an HTML construction workflow.

    Best Regards,

    Brando

    Wednesday, April 18, 2018 5:20 AM
  • User753101303 posted

    Hi,

    Also it is intended to ease going back and forth between a C# and HTML context (like the move of a razor blade) but it's perhaps just my imagination ?

    IMO your best bet would be to ask directly tmaybe to https://twitter.com/shanselman or Channel 9 etc....

    Friday, April 20, 2018 7:29 AM