- C#
- ASP.Net Core MVC
- Entity Framework Core
- MySQL
Demonstrates many-to-many relationships and CRUD methods using the ASP.NET MVC and MySQL.
A sample database cameron_abel.sql
file is provided with this repository. If using MySQL Workbench, simply import this file as a new schema.
- Clone this repository to your local machine
- Navigate to
Factory.Solution\Factory
- Create a new file called
appSettings.json
. Paste into this file the following code and replaceuid
andpwd
fields with your own username and password for MySQL. If you changed the name of the database schema on import, update thedatabase
field to match:
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=cameron_abel;uid=[NAME];pwd=[PASSWORD];"
}
}
- Still within the
Factory
directory, executedotnet run
- Styling is in okay state
- Flesh out employee data?
Report bugs here
MIT
Copyright (c) 2023 Cameron Abel