A full-stack Library Management System built with ASP.NET Core MVC, Entity Framework Core, SQLite, and Bootstrap 5.
- Secure login with role-based access
- Add, edit, and delete books
- Upload book cover images
- View all users and manage accounts
- Monitor all borrow records (active, returned, overdue)
- Dashboard with live stats (total books, users, borrows)
- Browse and search the book catalog
- Borrow available books (14-day loan period)
- View personal borrow history with status (Active, Returned, Overdue)
- Return borrowed books
| Layer | Technology |
|---|---|
| Framework | ASP.NET Core 8 MVC |
| Database | SQLite via Entity Framework Core |
| Authentication | ASP.NET Core Identity |
| Frontend | Bootstrap 5 + Bootstrap Icons |
| Language | C# |
- Visual Studio 2022
- .NET 8 SDK
-
Clone the repository
git clone https://github.com/Marymars03/LibraryMS.git -
Open
LibraryMS.slnin Visual Studio -
Open Package Manager Console and run:
Update-Database -
Press F5 to run
Email: admin@library.com
Password: admin123
LibraryMS/
├── Controllers/ # BooksController, AccountController, AdminController, BorrowController
├── Data/ # LibraryDbContext
├── Models/ # Book, BorrowRecord
├── Migrations/ # EF Core migrations
├── Views/ # Razor views for all controllers
└── wwwroot/ # Static files, uploaded covers
| Role | Permissions |
|---|---|
| Admin | Full CRUD on books, manage users, monitor borrows |
| User | Browse catalog, borrow and return books |
This project is licensed under the MIT License.
Built with ❤️ using ASP.NET Core MVC




