matthewrenze / clean-architecture-demo

A sample app for my online course "Clean Architecture: Patterns, Practices, and Principles" in .NET Framework 4.8
BSD 3-Clause "New" or "Revised" License
1.03k stars 483 forks source link

Update README.md #10

Closed JannemanDev closed 4 years ago

JannemanDev commented 4 years ago

Added "installation" instructions

matthewrenze commented 4 years ago

@JanOonk The DatabaseInitializer is set to create the database automatically if it does not exist. DatabaseInitializer.cs

So Entity Framework should automatically create the new database for you during the first run of the website.

Did that not happen for you? If so, did creating the database manually solve the problem?

I just want to make sure I fully understand the scenario before I move forward with modifying the README.md file.

JannemanDev commented 4 years ago

Ok we're both right... after rebuilding the solution you only need to check/update the connection string in Web.config from the Presentation project and when running the solution EF will create and populate the database.