A University Management System built with ASP.NET Core MVC and Entity Framework Core.
This project demonstrates how to build a real-world CRUD application using MVC architecture, database relationships, and modern .NET development practices.
The project is based on Microsoft's Contoso University tutorial and showcases core backend development skills using C#, EF Core, and SQL Server.
✔ Student Management (Create, Edit, Delete, View)
✔ Course Management
✔ Instructor Management
✔ Student Enrollment System
✔ Department Management
✔ Database Relationships using Entity Framework Core
✔ Server-side Validation
✔ Clean MVC Architecture
| Technology | Description |
|---|---|
| ASP.NET Core MVC | Web application framework |
| C# | Programming language |
| Entity Framework Core | ORM for database operations |
| SQL Server | Relational database |
| Razor Views | Dynamic UI rendering |
| Bootstrap | Frontend styling |
ContosoUniversity │ ├── Controllers
│ ├── StudentsController.cs
│ ├── CoursesController.cs
│ ├── InstructorsController.cs
│
├── Models
│ ├── Student.cs
│ ├── Course.cs
│ ├── Enrollment.cs
│ ├── Instructor.cs
│
├── Data
│ └── SchoolContext.cs
│
├── Views
│ ├── Students
│ ├── Courses
│ ├── Instructors
│
├── wwwroot
│ ├── css
│ ├── js
│ └── images
│
└── appsettings.json
bash git clone https://github.com/YOUR_USERNAME/contoso-university.git
2️⃣ Open the Project Open the project in Visual Studio 2022 or later Open the solution file: ContosoUniversity.sln
3️⃣ Configure the Database Edit the connection string inside: appsettings.json Example: "ConnectionStrings": { "DefaultConnection": "Server=(localdb)\mssqllocaldb;Database=ContosoUniversity;Trusted_Connection=True;" } 4️⃣ Apply Database Migration Open Package Manager Console and run: Update-Database This will automatically create the required database tables.
5️⃣ Run the Application Press: Ctrl + F5 The project will start in your browser.
📚 Learning Outcomes
This project demonstrates:
ASP.NET Core MVC architecture Entity Framework Core ORM usage CRUD operations Database relationships Model validation Razor view engine Clean project structure
👩💻 Author
Tamima Mollick Tuly 📧 Email: tamima.web5202@gmail.com 💼 LinkedIn: https://www.linkedin.com/in/tamima-mollick-tuly/
📄 License
This project is created for learning and educational purposes following the Microsoft Contoso University tutorial.
