Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abualiyousef/todolist-mvc-.net
A simple To-Do List web application with CRUD operations built using .NET Core and ASP.NET 8
https://github.com/abualiyousef/todolist-mvc-.net
asp-net-core crud csharp entity-framework-core mvc-pattern sql
Last synced: about 1 month ago
JSON representation
A simple To-Do List web application with CRUD operations built using .NET Core and ASP.NET 8
- Host: GitHub
- URL: https://github.com/abualiyousef/todolist-mvc-.net
- Owner: AbualiYousef
- Created: 2023-10-25T23:15:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-21T05:36:02.000Z (7 months ago)
- Last Synced: 2024-11-21T00:37:56.796Z (about 1 month ago)
- Topics: asp-net-core, crud, csharp, entity-framework-core, mvc-pattern, sql
- Language: C#
- Homepage:
- Size: 19.3 MB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To-Do List Web Application
This project is a simple CRUD application for a To-Do List using the MVC pattern in C# .Net core.
Table of Contents
Prerequisites
Before you begin, ensure you have met the following requirements:
- Visual Studio or a compatible code editor.
- .NET Core SDK installed on your machine.
- A relational database (SQL Server, SQLite, etc.) for data storage.
Getting Started
To get this project up and running, follow these steps:
- Clone the repository:
git clone <repository_url>
- Open the project in Visual Studio or your preferred code editor.
- Configure your database connection string in the
appsettings.json
file. - Create the database using Entity Framework Core migrations. Run the following commands:
dotnet ef migrations add InitialCreate
dotnet ef database update
- Run the application.
- Start using the ToDo application.
Features
-
View ToDo List: Users can view a list of existing ToDo items. -
Create ToDo Items: Users can create new ToDo items. -
View Details: Users can view details of a specific ToDo item. -
Edit ToDo Items: Users can edit existing ToDo items. -
Delete ToDo Items: Users can delete ToDo items after confirmation.
Usage
This section provides a brief overview of the functionality of the ToDo web application:
-
View ToDo List (Index): When you open the application, you'll see a list of existing ToDo items. You can click on an item to view its details, edit, or delete it. -
Create New ToDo Item (Create): Click on the "Create New" button to open a form for creating a new ToDo item. Fill out the details and click "Save" to create it. -
View Details (Details): Click on a ToDo item in the list to view its details. -
Edit ToDo Item (Edit): Click on the "Edit" button when viewing the details of a ToDo item to make changes to it. Save your changes by clicking "Save." -
Delete ToDo Item (Delete): Click on the "Delete" button when viewing the details of a ToDo item. You'll be asked for confirmation before deleting the item.
Contributing
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request to the original repository.