How mvpsaurav/curdmvc works
This is an ASP.NET Core MVC student-record application. Its default route opens the student list; users can create and edit records, including uploading an image, while records are persisted through Entity Framework Core to SQL Server. The graph also includes the separate Home pages and the student/error models. The view files and migrations are present in the tree, but their contents were not sampled; view links reflect MVC action behavior and the matching view directories, not inspected view implementations.
Main entry points: StudentController.cs Student actions · Data.cs EF data context · HomeController.cs Home actions · Program.cs Application startup
Components 12
Web entry
- Application startup
Program.cs
Student workflow
- Student actions
Controllers/StudentController.cs - Student record
Models/Student.cs - Student images
wwwroot/Images
Persistence
- EF data context
Context/Data.cs - SQL Server
MVC presentation
- Home actions
Controllers/HomeController.cs - Error model
Models/ErrorViewModel.cs - Student views
Views/Student - Home views
Views/Home - Error view
Views/Shared/Error.cshtml
Other components
- Browser
Connections 12
- Browser → Application startup: sends requests
Program.cs - Application startup → Student actions: routes default
Program.cs - Student actions → EF data context: queries and saves
Controllers/StudentController.cs - Student actions → Student record: binds records
Controllers/StudentController.cs - EF data context → Student record: maps entity
Context/Data.cs - Application startup → EF data context: configures database
Program.cs - EF data context → SQL Server: uses provider
- Student actions → Student images: writes uploads
Controllers/StudentController.cs - Student actions → Student views: returns views
- Home actions → Error model: creates error model
Controllers/HomeController.cs - Home actions → Home views: returns views
- Home actions → Error view: serves error page