Configuring Routing and Navigation

Level : Beginner
Mentor: Shailendra Chauhan
Type : GuidedLab
Points : 10
Duration : 01:30:00

Lab Details


In this lab, you will be learning how to implement routing into your ASP.NET Core applications. By the end of the lab, you'll have the skills to create an application with modules and connect the application pages.

Lab Objective

Upon completion of this lab, you will be able to:

  • Describe how to set up routing for your ASP.NET Core application
  • Create modules using Areas in ASP.NET Core
  • Describe how to set up routing for Areas in ASP.NET Core
  • Navigation between Public pages and Modules pages.


You should be familiar with:

  • Basic Understanding of ASP.NET Core
  • Visual Studio IDE

Lab Requirements

  • Create an Empty ASP.NET Core MVC application.
  • Create a Login Page for Login as User and Admin roles.
  • After providing login details (username and password)
    • The user will go to the admin dashboard if the username & password are, 12345678
    • The user will go to the user dashboard if the username & password are, 12345678
  • Create two modules one for Admin and one for User using Areas.
  • Both modules (admin and user) will have two pages – dashboard and profile pages.
  • Create a separate layout for each module.
  • Add the Logout link and upon clicking redirect to the logout page and show the message: “You have been logout successfully”

Note: Don’t use any database, just pass username and password and do navigation.

Self-paced Membership
  • 22+ Courses
  • 750+ Hands-On Labs
  • 300+ Quick Notes
  • 55+ Skill Tests
  • 45+ Interview Q&A
  • 10+ Real-world Projects
  • Career Coaching
  • Email Support
Upto 66% OFF

To get full access to all courses

Still have some questions? Let's discuss.
Accept cookies & close this