mardi 30 décembre 2014

If MVC is "Separation of Concerns" then why was Razor Syntax introduced?


My question is related to MVC design pattern and Razor Syntax introduced by Microsoft.


While learning MVC design pattern I was told that the idea is based upon a principle known as Separation of Concerns.


But Razor Syntax allows us to use C# in Views directly.


Isn't this intersection of concerns?





Aucun commentaire:

Enregistrer un commentaire