CRUD Contact App is a simple and efficient application designed for managing contacts. It offers basic CRUD (Create, Read, Update, Delete) functionalities to add, view, edit, and remove contacts. With a clean and intuitive user interface, managing your contacts has never been easier.
- Create Contact: Add new contacts with name, phone, and email details.
- View Contact: Display a list of existing contacts with their details.
- Update Contact: Modify existing contact details such as name, phone, and email.
- Delete Contact: Remove contacts from the database.
- Validation: Input fields are validated to ensure data integrity.
- Error Handling: Appropriate error handling for database operations.
- Visual Studio with ASP.NET MVC framework installed.
- SQL Server Management Studio or equivalent for database management.
- Modern web browser.
- Clone this repository to your local machine.
- Open the solution file (.sln) in Visual Studio.
- Ensure that the necessary dependencies are installed via NuGet Package Manager.
- Configure the database connection string in the
appsettings.json
file located in the project directory. - Run the
DBCRUDASP.sql
script located in theDatabase
directory to create the database. - Build and run the application.
- Upon opening the application, you'll see a list of existing contacts if any.
- To add a new contact, click on the "Add Contact" button and fill in the required details.
- To view details of a contact, click on the contact's name from the list.
- To edit a contact, click on the "Edit" button next to the contact's details and update as needed.
- To delete a contact, click on the "Delete" button next to the contact's details.
Creating a new contact:
- Click on "Add Contact".
- Fill in the required fields: Name, Phone, and Email.
- Click on "Save" to add the contact.
Viewing contact details:
- Click on the contact's name from the list to view details.
Editing contact details:
- Click on the "Edit" button next to the contact's details.
- Update the contact's information.
- Click on "Save" to apply changes.
Deleting a contact:
- Click on the "Delete" button next to the contact's details.
Description: CRUD Contact App initial view
Description: CRUD Contact App adding contact details
Description: CRUD Contact App editing contact details
Description: CRUD Contact App removing contact
If you encounter any issues or have suggestions to improve the CRUD Contact App, feel free to open an issue or submit a pull request. Your contribution is highly appreciated!
This project is licensed under the MIT License.