This is an example repo corresponding to multiple lessons within the LearnHowToProgram.com walkthrough on creating a To Do List application in Section 2: Basic Web Applications.
There are multiple branches in this repo that are described more below.
- Clone this repo.
- Open your shell (e.g., Terminal or GitBash) and navigate to this project's production directory called "ToDoList".
- Run
dotnet watch run
in the command line to start the project in development mode with a watcher. - Open the browser to https://localhost:5001. If you cannot access localhost:5001 it is likely because you have not configured a .NET developer security certificate for HTTPS. To learn about this, review this lesson: Redirecting to HTTPS and Issuing a Security Certificate.
1_mvc_setup: this is the default branch with the starter code for the To Do List project as an ASP.NET Core MVC web application. The walkthrough of this example project starts in this lesson:
2_forms_and_http_methods: This branch includes the code we added after working through the following lessons:
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/to-do-list-with-mvc-forms
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/request-response-loop-and-http-methods-with-asp-net-mvc
3_list_redirects_loops_and_conditionals: This branch includes the code we added after working through the following lessons:
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/lists-and-redirects-in-a-controller
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/loops-and-conditionals-with-razor
4_multiple_controllers: This branch includes the code we added after working through the following lessons:
5_deleting_and_finding_objects: This branch includes the code we added after working through the following lessons:
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/http-crud-methods
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/deleting-items
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/finding-objects-with-unique-ids
6_applying_restful_routing: This branch includes the code we added after working through the following lessons:
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/introduction-to-restful-routing
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/applying-restful-routing
7_objects_within_objects_setup: This branch includes the code we added after working through the following lessons:
8_saving_OWO_and_interface_update: This branch includes the code we added after working through the following lessons:
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/saving-objects-within-other-objects
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/objects-within-objects-interface-part-1
- https://www.learnhowtoprogram.com/c-and-net/basic-web-applications/objects-within-objects-interface-part-2
9_static_content_layouts_and_partials: This branch includes the code we added after working through the following lessons: