https://github.com/melvintivane/ustm-contact-management
This is a sample project of a contact management application developed in ASP.NET Core MVC. It allows you to add, view, edit and delete contacts in a database.
https://github.com/melvintivane/ustm-contact-management
asp-net-mvc csharp sql
Last synced: 2 months ago
JSON representation
This is a sample project of a contact management application developed in ASP.NET Core MVC. It allows you to add, view, edit and delete contacts in a database.
- Host: GitHub
- URL: https://github.com/melvintivane/ustm-contact-management
- Owner: melvintivane
- License: mit
- Created: 2023-08-30T21:13:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-09T14:02:28.000Z (almost 3 years ago)
- Last Synced: 2023-09-09T14:30:05.194Z (almost 3 years ago)
- Topics: asp-net-mvc, csharp, sql
- Language: C#
- Homepage:
- Size: 6.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASP.NET Core MVC Contact Manager
This is a sample project of a contact management application developed in ASP.NET Core MVC. It allows you to add, view, edit and delete contacts in a database.
## System Requirements
- [ASP.NET Core SDK](https://dotnet.microsoft.com/download)
- [Visual Studio](https://visualstudio.microsoft.com/) or [Visual Studio Code](https://code.visualstudio.com/) (optional)
## Settings
1. Clone this repository:
```shell
git clone https://github.com/seu-usuario/gestor-de-contatos-mvc.git
2. Navigate to the project directory:
```shell
cd gestor-de-contatos-mvc
3. Configure the database connection string in the appsettings.json file:
```shell
"ConnectionStrings": {
"DefaultConnection": "YourConnectionStringHere"
}
4. Open the project in your development environment (Visual Studio or Visual Studio Code).
5. Open the NuGet Package Manager console and run the migration to create the database:
```shell
dotnet ef database update
6. Launch the application:
```shell
dotnet run
The application will be accessible at http://localhost:5000 (or https://localhost:5001 with HTTPS).
## Usage
- Go to the home page to view the contact list.
- Click "Add" to create a new contact.
- Click a contact in the list to view and edit their information.
- On the preview page, you can edit the information or delete the contact.
## Contribution
Feel free to contribute improvements, bug fixes or additional features. Open an issue or submit a pull request with your changes.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.