Can we use Razor syntax in ASP.NET Webforms (*.aspx pages)?

We (the ASP.NET team) currently have no plans to support the WebForms page model using Razor syntax. Furthermore it is unlikely that we would ever seriously consider this as the models are too different to make the two work together.

Leave a Comment