This course will be retired on June 1, 2025.
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 add a class library project to the existing ComicBookLibraryManager Visual Studio solution and move the Entity Framework related classes from the console app project to the class library project.
Follow Along
To follow along committing your changes to this course, you'll need to fork the dotnet-comic-book-library-manager repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork>
cd dotnet-comic-book-library-manager
git checkout tags/v1.3 -b adding-the-class-library-project
Project Files
The project files for the Comic Book Library Manager console app are available at http://treehouse-project-downloads.s3.amazonaws.com/dotnet-ef-basics-comic-book-library-manager-completed.zip.
Visual Studio Community 2017
Visual Studio 2017 uses a brand new installer that is vastly superior to the previous version. It's now easier to just install the parts of Visual Studio that you actually need. For more information on how to install VS 2017 (including a download link), see https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio.
Keyboard Shortcuts
-
CTRL+H
- Open the "Quick Replace" dialog -
ALT+R
- Replace next -
ALT+A
- Replace all -
CTRL+SHIFT+S
- Save all open files
SQL Server LocalDB Installation and Configuration
For more information on how to verify that SQL Server LocalDB is correctly installed and configured for use with Entity Framework, see this video in the Entity Framework Basics course.
https://teamtreehouse.com/library/database-server-installation-and-configuration
.NET Standard and the .NET Standard Class Library Project Template
The .NET Standard is a formal specification of the .NET APIs. Over time, all of the available .NET runtimes (.NET Framework, .NET Core, Mono) will adhere to this specification so that code written to the .NET Standard will be portable across all of those runtimes.
For more information see https://docs.microsoft.com/en-us/dotnet/standard/library.
Package Management with NuGet
For more information on how to manage .NET packages using NuGet, see this Treehouse workshop.
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