Skills Expanded

Building a Task Tracking App with Razor Pages

What you'll learn

In this project, you'll use Razor Pages to build an application that allows us to create tasks and save them to a database, enforces data validation for those tasks, and displays them in a table on the app home page.

Table of contents

  • Learn how to setup and configure a local development environment to be able to complete the project tasks.
Creating the Layout and Navigation
  • Create the application pages, and add links and routes to navigate between them.
Building the Task Form
  • Build the form and handler method that will allow us to create new Tasks.
Saving Data to the Database
  • Create and register the data context class, and persist the new tasks to the database.
Displaying Data on the Home Page
  • Retrieve and display the created tasks in a table on the home page.
Adding Validation to the Create Form
  • Add validation to the Task form to improve data integrity.

About the author

Alex Wolf works as a .NET and Azure Content Developer at Microsoft, and is passionate about learning and teaching software development. He has over a decade of experience and multiple certifications in the .NET ecosystem and related technologies. He is also highly engaged in DevOps and Cloud technologies to improve development workflows and infrastructure. Alex has worked for companies of nearly every size, ranging from small start-ups to very large enterprises. He also maintains a hobbyist ... more

Ready to upskill? Get started