4 ms·
I think* with ASP.NET Razor Pages. You can do the same thing as: @page @{ var user = "root"; } <p> Hello @user </p>
by philliphaydon 5y ago
I think* with ASP.NET Razor Pages. You can do the same thing as:
@page
@{
var user = "root";
}
<p>
Hello @user
</p>
- oaiey 5y agoRazor is awesome... It has this productivity of PHP while being consistent and have the benefit of being conceived later. Only thing which hurts there: not everywhere deployed like PHP is :) And technically you need a 2 files boilerplate. But that will vanish within the next year when I understand the .NET team right.