CSE 325: .NET Software Development

Build Web Applications with Razor Pages

Overview

Learn how to build web applications with the ASP.NET Core Razor Pages

Razor Pages is a page-based model for building server rendered web UI. Razor pages UI are dynamically rendered on the server to generate the page's HTML and CSS in response to a browser request. The page arrives at the client ready to display.
Microsoft Training

Instructions

Use Visual Studio Code when programming.
Figure 1: Screenshot of Visual Studio Code Tab on MS Tutorials
  1. Complete the following series of tutorials found at 📄Tutorial: Create a Razor Pages web app with ASP.NET Core on learn.microsoft.com:
    Be sure to select the Visual Studio Code tab when working through the tutorials. With each step, the tutorial page may revert to Visual Studio full edition.
    • Create a Razor Pages web app
    • Add a model to a Razor Pages app
    • Scaffold (generate) Razor Pages
    • Work with a database
    • Update Razor Pages
    • Add Search
    • Add a new field
    • Add validation

Submission

  1. A submission of your project is not required.
  2. Be prepared to answer questions in Canvas about the learning activities concepts and content and to work with your team on issues related to these tutorials.