Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# Entity Framework Basics Entity Framework and Databases Changing the Database Name

kevin hudson
PLUS
kevin hudson
Courses Plus Student 11,987 Points

The problem with this instruction is you can miss valuable info

So for this video instruction, you can easily miss important to know steps because the instructor's lecture flows through quickly without some natural pauses. Don't forget to take away the extra backslash if you add the @ symbol. I spent hours trying to figure out why Visual Studio hangs on the Program.cs code stating the database does not exist. The instructor just keeps talking so fast and jumps around with explanation this and explanation that. I guess I feel like I need to be a 10-year seasoned veteran pro who has at least 3 years or more Project Team Lead experience to understand and follow along. This is supposed to be a lesson for new developers who have gone through the limited C# basics tracks. I don't mind if I take an extra hour running through in-depth explanations as to why I need to code this way.

kevin hudson
kevin hudson
Courses Plus Student 11,987 Points

With that said I do like the third option of database naming through the App.config

I, too, feel the same way. Part of the problem is that I am trying to look at my screen to input the info at the same time I am trying to look at the video and listen to what he is saying. I have wasted plenty of time because I missed something in the syntax as it does go by so quickly, and because the code didn't run and I stopped the video to fix it (but too early), only to find out that the error was an intentional part of the lesson!
Maybe it would help if he wrote a line of code, paused, then said something to indicate he has hit the Enter/Return button. I am struggling to keep up, but I am very grateful for the learning opportunity.

Luke Sims
Luke Sims
5,767 Points

Thank you Kevin. This comment saved me hours of pain!

1 Answer

This fixed my problem! Thank you!