Enabling Migrations6:06 with James Churchill
Let's do a quick review of the project that we'll be working with in this course. And let's see how to enable migrations for our project.
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>
git checkout tags/v1.2 -b enabling-migrations
You can download the project files for this course using this link.
NuGet Package Manager Console
In addition to running commands that are included with the NuGet packages that we have installed in our project, the Visual Studio Package Manager Console also gives us a way to interact with NuGet from a command line. We can search for packages, install and uninstall packages, and more.
You can use the
Find-Package command to search for packages.
This will list all of the available NuGet packages that contain "elmah" in their package Id. Elmah is a commonly used logging library (see http://elmah.github.io/).
To install a package, you can use the
Uninstall-Package command allows you to uninstall a package.
For more information about package management using NuGet, see the following Treehouse workshop.
For more information about the NuGet Package Manager Console or PowerShell, see the following resources.
You need to sign up for Treehouse in order to download course files.Sign up