-
Clean Shave: Razor Pages for Web Forms Developers
Last updated: Friday, June 28, 2024
Published in: CODE Magazine: 2023 - March/April
If you’re already familiar with ASP.NET Web Forms, you can apply your existing skillset to use Razor Pages instead. Shawn's overview of Razor Pages provides a straightforward migration path for Web Forms developers.
-
Ready for Prime Time: .NET Core 2.0 and ASP.NET Core 2.0 Have Arrived
Last updated: Thursday, April 29, 2021
Published in: CODE Magazine: 2018 - March/April
Rick explores the new features in .NET Core and ASP.NET Core and shows you that the wait was worth it.
-
Rendering ASP.NET MVC Razor Views to String
Last updated: Tuesday, April 5, 2022
Published in: CODE Magazine: 2013 - November/December
The Razor View Engine (usually used in ASP.NET MVC to render HTML views) is useful beyond standard ASP.NET MVC scenarios. In this article, Rick shows how it is done and why it is useful.
-
The Times they are A-changin!
Last updated: Saturday, December 18, 2021
Published in: CODE Magazine: 2012 - May/June
-
Leveraging Razor Templates Outside of ASP.NET: They’re Not Just for HTML Anymore!
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2011 - March/April
The Razor syntax is much more than just a clean way to write ASP.NET MVC Views and WebMatrix web pages. In fact, with a working knowledge of the Razor API, you can leverage Razor templates in any application. The Razor API exposes a powerful library for parsing, compiling, and executing templates created using the Razor syntax.
-
The Razor View Engine
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2011 - March/April
The new view engine for ASP.NET MVC and WebMatrix combines simplicity and functionality to facilitate clean view development. In this article, I’ll dive into the Razor View Engine, the new default view engine for the ASP.NET MVC framework and WebMatrix products. Razor’s main goal is to simplify view development and to improve developer productivity while providing a clean view infrastructure.