Deployment Options8:26 with James Churchill
Regardless of your specific development, testing, and deployment workflow, you'll need a way to apply pending migrations to databases hosted in shared environments. Let's review the deployment options that Code First Migrations makes available to us.
To follow along commiting your changes to this course, you'll need to fork the dotnet-ef-migrations repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork> cd dotnet-ef-migrations git checkout tags/v2.4 -b deployment-options
Finished Project Code
Here's how to get the code for the finished project:
git clone email@example.com:treehouse-projects/dotnet-ef-migrations.git cd dotnet-ef-migrations
Additional Project Ideas
Now that you've completed this course, it's a great time to reinforce what you've learned by working on a project.
Idea #1: Update the Comic Book Library Manager Console App
Update the Comic Book Library Manager console app—from the Entity Framework Basics course—to use Code First Migrations.
Here's the link to download the completed Comic Book Library Manager project files.
Idea #2: Design Your Own Entity Data Model
Design your own entity data model, enable migrations, then practice making model changes and adding migrations. You could purposely start with an overly simplistic model, so that you'll have plenty of model changes to make once you've enabled migrations.
Additional Treehouse Entity Framework Courses
Treehouse has two more EF courses (one that's available now and another that'll be available soon).
If you ever have a question about EF or get stuck on something, check out the Treehouse Community. You’ll find there other students and a great team of moderators who can help.
You need to sign up for Treehouse in order to download course files.Sign up