Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
C# 7 and .NET Core 2.0 Blueprints

You're reading from   C# 7 and .NET Core 2.0 Blueprints Build effective applications that meet modern software requirements

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher
ISBN-13 9781788396196
Length 428 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Strauss Strauss
Author Profile Icon Strauss
Strauss
 Rademeyer Rademeyer
Author Profile Icon Rademeyer
Rademeyer
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Preface
1. eBook Manager and Catalogue App FREE CHAPTER 2. Cricket Score Calculator and Tracker 3. Cross Platform .NET Core System Info Manager 4. Task Bug Logging ASP .NET Core MVC App 5. ASP.NET SignalR Chat Application 6. Web Research Tool with Entity Framework Core 7. A Serverless Email Validation Azure Function 8. Twitter Clone Using OAuth 9. Using Docker and ASP.NET Core 1. Other Books You May Enjoy Index

Installing the required packages


We need to install three NuGet packages to our Solution that will assist us in our quest. This is done through the Package Manager Console.

Go to Tools | NuGet Package Manager | Package Manager Console:

Entity Framework Core SQL Server

There are various database providers catered for by EF Core, including Microsoft SQL Server, PostgreSQL, SQLite, and MySQL. We will use SQL Server as a database provider.

Note

For a full list of database providers, have a look at the official Microsoft documentation at: https://docs.microsoft.com/en-us/ef/core/providers/index.

In the console window, type the following command and hit Enter:

Install-Package Microsoft.EntityFrameworkCore.SqlServer

You should see a few response lines showing the items that were successfully installed.

Entity Framework Core tools

Next up, we'll install some Entity Framework Core tools that will assist us with creating our database from our models.

In the console window, type the following command and hit...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images