Overview
Sri Bodhiraja Dharmayathanaya is a bilingual (Sinhala and English) Dhamma school in Ambalipitiya, Sri Lanka. Its web platform manages students, teachers, classrooms and class assignments, with role-based portals for school administrators and teachers.
Challenge
The original system was an ASP.NET MVC application on .NET Framework 4.8, with business logic spread across controllers and tied directly to data access. That made it harder to change safely, test and host, just as the school needed new workflows such as year-end student promotion with approvals.
Solution
- Migration to ASP.NET Core 8 alongside the legacy application rather than a one-step rewrite
- A layered architecture: controllers, services and repositories
- Student, teacher, classroom and class-assignment management
- Year-end student promotion with an approval workflow
- Role-based access and teacher dashboards with ASP.NET Core Identity
- Automated build and deployment with Azure Pipelines
Architecture
01 Presentation
- Admin portal
- Teacher dashboard
- ASP.NET Core MVC
- Identity
02 Business
- Student services
- Promotion workflow
- Class assignment
- Lookups
03 Data
- Repositories
- EF Core
- SQL Server
- Database project
Technology
- .NET 8
- ASP.NET Core MVC
- ASP.NET Core Identity
- EF Core
- SQL Server
- Azure Pipelines
- Linux
Key engineering decisions
- 01
Incremental migration
The ASP.NET Core application was built beside the .NET Framework 4.8 system instead of replacing it in one step, so the school kept working throughout.
- 02
Business logic in a service layer
Rules such as student promotion live in services between controllers and repositories, so they're testable and reused rather than duplicated across screens.
- 03
Repeatable deployments
Azure Pipelines builds the application on Linux and deploys it over SSH, so releases no longer rely on manual copying.
Outcome
The school runs on a supported, modern .NET platform with a clearer codebase, role-based access for staff and automated deployments, ready for new features without reworking the foundations.
Related services
Next case study
Boothiva