2 ms·
Is .NET Razor Pages not also using this model?
by steve1977 2y ago
Is .NET Razor Pages not also using this model?
- darylteo 2y agoNah, Razor is a template engine. Laravel's equivalent is Blade. They're templates in the same that the templates is compiled into a string with parameters then the string is output to the response. What top post is referring to is the ability to control what is output to the buffer (raw characters) and what is scripted (<?php ... ?>). The closest equivalent would be classic ASP (not asp.net)
- theanonymousone 2y agoAs a side note, I once tried to do a hello world in Razor because of its Wasm capability and found the documentations unbelievably horrible. Admittedly I am not a .Net developer.