# dabaly/lms-project architecture

> Architecture diagram of the GitHub repository dabaly/lms-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dabaly/lms-project
- Repository: https://github.com/dabaly/lms-project

## Overview

This is a Web Forms learning-management system for student and teacher accounts, course enrollment, assignment submission, and grading. The central student path is browse and enroll, view courses and assignments, submit a file, then review submissions and grades; teachers create courses and assignments and grade submissions. The sampled code shows page handlers accessing LocalDB directly, not a shared service or persistence layer. Other page capabilities are represented from the source tree; their detailed behavior and links are not inferred.

Main entry points: [`Student/SubmitAssignment.aspx.cs`](https://github.com/dabaly/lms-project/blob/main/Student/SubmitAssignment.aspx.cs) (Submit work), [`Global.asax.cs`](https://github.com/dabaly/lms-project/blob/main/Global.asax.cs) (Application startup), [`Account/Register.aspx.cs`](https://github.com/dabaly/lms-project/blob/main/Account/Register.aspx.cs) (Register), [`Account/Login.aspx.cs`](https://github.com/dabaly/lms-project/blob/main/Account/Login.aspx.cs) (Login)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Accounts and access"]
  node_register["Register<br/>[Register.aspx.cs]"]
  node_login["Login<br/>[Login.aspx.cs]"]
end

subgraph group_student["Student learning"]
  node_browse["Browse courses"]
  node_studentcourses["My courses<br/>[MyCourses.aspx.cs]"]
  node_studentdashboard["Student dashboard<br/>[Dashboard.aspx.cs]"]
  node_studentassignments["Assignments"]
  node_submit["Submit work"]
  node_mysubmissions["My submissions"]
  node_grades["My grades<br/>[MyGrades.aspx.cs]"]
end

subgraph group_teacher["Teacher tools"]
  node_teacherdashboard["Teacher dashboard<br/>[Dashboard.aspx.cs]"]
  node_courses["Manage courses<br/>[Courses.aspx.cs]"]
  node_createcourse["Create course"]
  node_editcourse["Edit course<br/>[EditCourse.aspx.cs]"]
  node_teacherassignments["Manage assignments"]
  node_createassignment["Create assignment"]
  node_editassignment["Edit assignment"]
  node_submissions["Review submissions"]
end

subgraph group_platform["Web platform"]
  node_site["Role navigation<br/>[Site.Master.cs]"]
  node_db[("LocalDB")]
  node_uploads["Uploaded files"]
  node_startup["Application startup<br/>[Global.asax.cs]"]
  node_routing["Friendly routes<br/>[RouteConfig.cs]"]
  node_bundles["Script bundles<br/>[BundleConfig.cs]"]
  node_view["View switcher"]
end

node_visitor(("User"))

node_visitor -->|"creates account"| node_register
node_visitor -->|"signs in"| node_login
node_register -->|"writes user"| node_db
node_login -.->|"checks credentials"| node_db
node_visitor -->|"browses"| node_browse
node_browse -->|"reads and enrolls"| node_db
node_visitor -->|"submits work"| node_submit
node_submit -->|"reads and records"| node_db
node_submit -->|"saves file"| node_uploads
node_visitor -->|"reviews and grades"| node_submissions
node_submissions -->|"reads and updates"| node_db
node_visitor -->|"creates assignment"| node_createassignment
node_createassignment -->|"writes assignment"| node_db
node_visitor -.->|"views courses"| node_studentcourses
node_visitor -.->|"views dashboard"| node_studentdashboard
node_visitor -.->|"views assignments"| node_studentassignments
node_visitor -.->|"views submissions"| node_mysubmissions
node_visitor -.->|"views grades"| node_grades
node_visitor -.->|"views dashboard"| node_teacherdashboard
node_visitor -.->|"manages courses"| node_courses
node_visitor -.->|"creates course"| node_createcourse
node_visitor -.->|"edits course"| node_editcourse
node_visitor -.->|"manages assignments"| node_teacherassignments
node_visitor -.->|"edits assignment"| node_editassignment
node_startup -->|"registers routes"| node_routing
node_startup -->|"registers bundles"| node_bundles
node_visitor -.->|"switches view"| node_view
node_view -->|"uses named route"| node_routing

click node_register "https://github.com/dabaly/lms-project/blob/main/Account/Register.aspx.cs"
click node_login "https://github.com/dabaly/lms-project/blob/main/Account/Login.aspx.cs"
click node_site "https://github.com/dabaly/lms-project/blob/main/Master/Site.Master.cs"
click node_browse "https://github.com/dabaly/lms-project/blob/main/Student/BrowseCourses.aspx.cs"
click node_studentcourses "https://github.com/dabaly/lms-project/blob/main/Student/MyCourses.aspx.cs"
click node_studentdashboard "https://github.com/dabaly/lms-project/blob/main/Student/Dashboard.aspx.cs"
click node_studentassignments "https://github.com/dabaly/lms-project/blob/main/Student/Assignments.aspx.cs"
click node_submit "https://github.com/dabaly/lms-project/blob/main/Student/SubmitAssignment.aspx.cs"
click node_mysubmissions "https://github.com/dabaly/lms-project/blob/main/Student/MySubmissions.aspx.cs"
click node_grades "https://github.com/dabaly/lms-project/blob/main/Student/MyGrades.aspx.cs"
click node_teacherdashboard "https://github.com/dabaly/lms-project/blob/main/Teacher/Dashboard.aspx.cs"
click node_courses "https://github.com/dabaly/lms-project/blob/main/Teacher/Courses.aspx.cs"
click node_createcourse "https://github.com/dabaly/lms-project/blob/main/Teacher/CreateCourse.aspx.cs"
click node_editcourse "https://github.com/dabaly/lms-project/blob/main/Teacher/EditCourse.aspx.cs"
click node_teacherassignments "https://github.com/dabaly/lms-project/blob/main/Teacher/Assignments.aspx.cs"
click node_createassignment "https://github.com/dabaly/lms-project/blob/main/Teacher/CreateAssignment.aspx.cs"
click node_editassignment "https://github.com/dabaly/lms-project/blob/main/Teacher/EditAssignment.aspx.cs"
click node_submissions "https://github.com/dabaly/lms-project/blob/main/Teacher/Submissions.aspx.cs"
click node_startup "https://github.com/dabaly/lms-project/blob/main/Global.asax.cs"
click node_routing "https://github.com/dabaly/lms-project/blob/main/App_Start/RouteConfig.cs"
click node_bundles "https://github.com/dabaly/lms-project/blob/main/App_Start/BundleConfig.cs"
click node_view "https://github.com/dabaly/lms-project/blob/main/ViewSwitcher.ascx.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_register,node_login,node_visitor toneBlue
class node_browse,node_studentcourses,node_studentdashboard,node_studentassignments,node_submit,node_mysubmissions,node_grades toneAmber
class node_teacherdashboard,node_courses,node_createcourse,node_editcourse,node_teacherassignments,node_createassignment,node_editassignment,node_submissions toneMint
class node_site,node_db,node_uploads,node_startup,node_routing,node_bundles,node_view toneRose
```

## Components

### Accounts and access

- [Register](https://github.com/dabaly/lms-project/blob/main/Account/Register.aspx.cs): `Account/Register.aspx.cs`
- [Login](https://github.com/dabaly/lms-project/blob/main/Account/Login.aspx.cs): `Account/Login.aspx.cs`

### Student learning

- [Browse courses](https://github.com/dabaly/lms-project/blob/main/Student/BrowseCourses.aspx.cs): `Student/BrowseCourses.aspx.cs`
- [My courses](https://github.com/dabaly/lms-project/blob/main/Student/MyCourses.aspx.cs): `Student/MyCourses.aspx.cs`
- [Student dashboard](https://github.com/dabaly/lms-project/blob/main/Student/Dashboard.aspx.cs): `Student/Dashboard.aspx.cs`
- [Assignments](https://github.com/dabaly/lms-project/blob/main/Student/Assignments.aspx.cs): `Student/Assignments.aspx.cs`
- [Submit work](https://github.com/dabaly/lms-project/blob/main/Student/SubmitAssignment.aspx.cs): `Student/SubmitAssignment.aspx.cs`
- [My submissions](https://github.com/dabaly/lms-project/blob/main/Student/MySubmissions.aspx.cs): `Student/MySubmissions.aspx.cs`
- [My grades](https://github.com/dabaly/lms-project/blob/main/Student/MyGrades.aspx.cs): `Student/MyGrades.aspx.cs`

### Teacher tools

- [Teacher dashboard](https://github.com/dabaly/lms-project/blob/main/Teacher/Dashboard.aspx.cs): `Teacher/Dashboard.aspx.cs`
- [Manage courses](https://github.com/dabaly/lms-project/blob/main/Teacher/Courses.aspx.cs): `Teacher/Courses.aspx.cs`
- [Create course](https://github.com/dabaly/lms-project/blob/main/Teacher/CreateCourse.aspx.cs): `Teacher/CreateCourse.aspx.cs`
- [Edit course](https://github.com/dabaly/lms-project/blob/main/Teacher/EditCourse.aspx.cs): `Teacher/EditCourse.aspx.cs`
- [Manage assignments](https://github.com/dabaly/lms-project/blob/main/Teacher/Assignments.aspx.cs): `Teacher/Assignments.aspx.cs`
- [Create assignment](https://github.com/dabaly/lms-project/blob/main/Teacher/CreateAssignment.aspx.cs): `Teacher/CreateAssignment.aspx.cs`
- [Edit assignment](https://github.com/dabaly/lms-project/blob/main/Teacher/EditAssignment.aspx.cs): `Teacher/EditAssignment.aspx.cs`
- [Review submissions](https://github.com/dabaly/lms-project/blob/main/Teacher/Submissions.aspx.cs): `Teacher/Submissions.aspx.cs`

### Web platform

- [Role navigation](https://github.com/dabaly/lms-project/blob/main/Master/Site.Master.cs): `Master/Site.Master.cs`
- **LocalDB**
- **Uploaded files**
- [Application startup](https://github.com/dabaly/lms-project/blob/main/Global.asax.cs): `Global.asax.cs`
- [Friendly routes](https://github.com/dabaly/lms-project/blob/main/App_Start/RouteConfig.cs): `App_Start/RouteConfig.cs`
- [Script bundles](https://github.com/dabaly/lms-project/blob/main/App_Start/BundleConfig.cs): `App_Start/BundleConfig.cs`
- [View switcher](https://github.com/dabaly/lms-project/blob/main/ViewSwitcher.ascx.cs): `ViewSwitcher.ascx.cs`

### Other components

- **User**

## Connections

- User → Register: creates account (evidence: `Account/Register.aspx.cs`)
- User → Login: signs in (evidence: `Account/Login.aspx.cs`)
- Register → LocalDB: writes user (evidence: `Account/Register.aspx.cs`)
- Login → LocalDB: checks credentials
- User → Browse courses: browses (evidence: `Student/BrowseCourses.aspx.cs`)
- Browse courses → LocalDB: reads and enrolls (evidence: `Student/BrowseCourses.aspx.cs`)
- User → Submit work: submits work (evidence: `Student/SubmitAssignment.aspx.cs`)
- Submit work → LocalDB: reads and records (evidence: `Student/SubmitAssignment.aspx.cs`)
- Submit work → Uploaded files: saves file (evidence: `Student/SubmitAssignment.aspx.cs`)
- User → Review submissions: reviews and grades (evidence: `Teacher/Submissions.aspx.cs`)
- Review submissions → LocalDB: reads and updates (evidence: `Teacher/Submissions.aspx.cs`)
- User → Create assignment: creates assignment (evidence: `Teacher/CreateAssignment.aspx.cs`)
- Create assignment → LocalDB: writes assignment (evidence: `Teacher/CreateAssignment.aspx.cs`)
- User → My courses: views courses
- User → Student dashboard: views dashboard
- User → Assignments: views assignments
- User → My submissions: views submissions
- User → My grades: views grades
- User → Teacher dashboard: views dashboard
- User → Manage courses: manages courses
- User → Create course: creates course
- User → Edit course: edits course
- User → Manage assignments: manages assignments
- User → Edit assignment: edits assignment
- Application startup → Friendly routes: registers routes (evidence: `Global.asax.cs`)
- Application startup → Script bundles: registers bundles (evidence: `Global.asax.cs`)
- User → View switcher: switches view
- View switcher → Friendly routes: uses named route (evidence: `ViewSwitcher.ascx.cs`)
