Game Zone is an ASP.NET MVC web application that provides full CRUD (Create, Read, Update, Delete) functionality for managing a collection of games.
It features:
- Server-side image storage (only filenames saved in DB).
- Automatic image deletion when a game is removed.
- Deletion confirmation alerts.
- Complete client-side and server-side validations.
- Language: C#
- Framework: ASP.NET MVC
- Database: SQL Server
- Frontend: HTML, CSS, Bootstrap, JavaScript
- Image Storage: Local server storage
- Image Upload:
- Stored in ~/Uploads folder.
- Only filename with extension saved in DB.
- Image Delete:
- Triggered only if record deletion confirmed.
- Deletes from both DB and server file system.
- Validation:
- Client-side: JavaScript + Data Annotations for instant feedback.
- Server-side: ASP.NET ModelState validation to ensure data integrity.
-
Clone the repository:
git clone https://github.com/Youssef-Darrag/Game-Zone.git
-
Open in Visual Studio.
-
Update the database connection string in appsettings.json.
-
Ensure the Uploads folder exists and has write permissions.
-
Run the application.
💡 Purpose
Practice ASP.NET MVC with real-world CRUD operations.
Handle image uploads securely.
Demonstrate both client-side and server-side validation.
Improve UX with confirmation alerts.
🤝 Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
📜 License
This project is licensed under the MIT License.
🆘 Support
For support and questions, please open an issue in the repository.




