Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
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.
Follow Along
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/v1.2 -b enabling-migrations
Project Files
You can download the project files for this course using this link.
http://treehouse-project-downloads.s3.amazonaws.com/dotnet-ef-migrations-all-videos.zip
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.
Find-Package elmah
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 Install-Package
command.
Install-Package elmah
The Uninstall-Package
command allows you to uninstall a package.
Uninstall-Package elmah
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.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up