Today ASP.NET MVC applications require quite a bit of convention and understanding just to create a simple Hello World application. Many times, you simply want to create a page and navigate to it. Simple, right? Wrong, using MVC this requires a controller, a view, an understanding of routing and the conventions put in place by ASP.NET MVC. Razor pages are a new concept currently in the early stages of development by the ASP.NET team. The idea is to use the Razor syntax outside the boundaries of ASP.NET MVC. This allows web developers to implement a clean MVVM pattern for basic and complex ASP.NET Core applications. This session will introduce Razor pages and demonstrate how to use them with the MVVM pattern.
You will learn:
- Define Razor Pages
- Create an MVVM application using Razor pages
- Define the pros and cons of Razor pages versus ASP.NET MVC