How mygomindsrepo2026/entraidstudentwebapp works
StudentEntraMvcApp is an ASP.NET Core MVC web app with OpenID Connect sign-in and a protected dashboard. The main user journey is to request login, authenticate through an external identity provider, and arrive at the authorized dashboard; users can also sign out. Home and error pages form the public MVC experience. Program.cs and the views were not excerpted, so startup wiring and view-level relationships are not inferred; the graph shows only relationships evidenced by controller excerpts or the source index.
Main entry points: HomeController.cs Home actions · AccountController.cs Account actions · DashboardController.cs Dashboard action · jquery.validate.unobtrusive.js Unobtrusive validation
Components 13
MVC experience
- App startup
Program.cs - Home actions
Controllers/HomeController.cs - Home views
Views/Home - Error view
Views/Shared/Error.cshtml - Error model
Models/ErrorViewModel.cs - Dashboard action
Controllers/DashboardController.cs - Dashboard view
Views/Dashboard/Index.cshtml
Authentication
- Account actions
Controllers/AccountController.cs - OIDC provider
Client assets
- Site script
wwwroot/js/site.js - Unobtrusive validation
wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js - jQuery Validate
wwwroot/lib/jquery-validation/dist/jquery.validate.js
Other components
- Visitor
Connections 10
- Visitor → Home actions: requests pages
- Visitor → Account actions: requests login
- Account actions → OIDC provider: challenges / signs out
Controllers/AccountController.cs - Account actions → Dashboard action: sets return URL
Controllers/AccountController.cs - Account actions → Home actions: sets logout redirect
Controllers/AccountController.cs - Dashboard action → Dashboard view: renders
Controllers/DashboardController.cs - Home actions → Home views: renders
Controllers/HomeController.cs - Home actions → Error model: creates model
Controllers/HomeController.cs - Home actions → Error view: renders error
Controllers/HomeController.cs - Unobtrusive validation → jQuery Validate: depends on
wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js