TrivialGame_webform_asp.net
1.0.0
This web application developed in VB.NET provides an interactive environment where users can participate in a trivia game. Players answer 10 random questions.
The Trivial application database uses an entity-relationship design to organize how questions and answers are stored. Below is the entity-relationship diagram illustrating the structure of the database:
The file structure of the application is organized as follows to facilitate maintainability and scalability of the project:
App_Code/
:
Models/
: Contains the data models used in the application.Pregunta.vb
: Defines the structure of the questions.Respuesta.vb
: Defines the structure of the responses.Repositories/
: Implements the Repository pattern to abstract data access operations.IPreguntaRepositorio.vb
: Interface for question repository operations.PreguntaRepositorio.vb
: Concrete implementation of the questions repository.ConexionBD.vb
: Manages the connection to the TrivialBD.mdf
database. App_Data/
:
TrivialBD.mdf
: Project database that stores all information related to questions and answers. Content/
:
bootstrap/
: Folder containing the Bootstrap files necessary for the responsive and stylized design of the application.custom.css
: Custom style sheet to adapt visual styles beyond Bootstrap. Pages/
:
Default.aspx
: Main page that shows the game questions and collects answers from users.Default.aspx.vb
– Codebehind of Default.aspx
that contains UI logic to handle events such as answering questions.This structure is designed to clearly separate presentation logic, business logic, and data access, following software development best practices.
Default.aspx
to start playing.