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 that page. 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 lets web developers 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:
- How to define Razor Pages
- How to create an MVVM application using Razor pages
- How to define the pros and cons of Razor pages versus ASP.NET MVC