- C#
- .Net6
- MSTest
- ASP.NET Core MVC
- HTML
- CSS
- Razer
- Bootstrap
- This application allows the user to input stylists and clients to the database. For each stylist, the user can add client who see that sylist. The user can also delete stylists and clients from the database.
Install the tools that are introduced in this series of lessons on LearnHowToProgram.com.
Follow the instructions in the LearnHowToProgram.com lesson "Creating a Test Database: Exporting and Importing Databases with MySQL Workbench" to use the first_last file located at the top level of this repo to create a new database in MySQL Workbench with the name first_last.
- Clone this repo.
- Open the terminal and navigate to this project's production directory called "HairSalon".
- Within the production directory "HairSalon", create a new file called
appsettings.json. - Within
appsettings.json, put in the following code, replacing theuidandpwdvalues with your own username and password for MySQL.
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=[YOUR-DB-NAME];uid=[YOUR-USER-HERE];pwd=[YOUR-PASSWORD-HERE];"
}
}- Within the production directory "HairSalon", run
dotnet watch runin 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.
- No known bugs.
Copyright (c) 2023, Amanda GUan
Amanda Guan ag.amandaguan@gmail.com