Skip to main content
  • Book
  • © 2021

Beginning Entity Framework Core 5

From Novice to Professional

Apress

Authors:

  • Introduces important new features that are part of Entity Framework Core 5
  • Covers the core features (including CRUD operations) that every developer needs
  • Leaves readers with a working prototype on which to build their own applications
  • 17k Accesses

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (23 chapters)

  1. Front Matter

    Pages i-xv
  2. Getting Started

    1. Front Matter

      Pages 1-1
    2. Installation

      • Eric Vogel
      Pages 3-14
    3. Project Structure

      • Eric Vogel
      Pages 15-21
  3. Core Features

    1. Front Matter

      Pages 23-23
    2. Entities

      • Eric Vogel
      Pages 25-36
    3. Database Context

      • Eric Vogel
      Pages 37-43
    4. Creating a Database from Code

      • Eric Vogel
      Pages 45-55
    5. Seeding Data

      • Eric Vogel
      Pages 57-64
    6. Getting Data

      • Eric Vogel
      Pages 65-75
    7. Inserting Data

      • Eric Vogel
      Pages 77-85
    8. Updating Data

      • Eric Vogel
      Pages 87-95
    9. Deleting Data

      • Eric Vogel
      Pages 97-104
    10. Navigation Properties

      • Eric Vogel
      Pages 105-130
  4. Advanced Features

    1. Front Matter

      Pages 131-131
    2. Aggregations

      • Eric Vogel
      Pages 133-143
    3. Stored Procedures

      • Eric Vogel
      Pages 145-152
    4. Migrations

      • Eric Vogel
      Pages 153-161
  5. A Model Web Application

    1. Front Matter

      Pages 163-163
    2. Authentication on the Web

      • Eric Vogel
      Pages 165-180

About this book

Use the code-driven approach of Entity Framework Core 5 to build a functional web application that accesses a database on the backend server. This book covers the common use cases of Entity Framework that a developer needs to master in order to begin building applications that run against a database. Throughout the book you will be shown how to use Entity Framework Core 5 by implementing a simple ASP.NET Core Razor Pages line-of-business application. This example application will be similar to those you might write yourself and deploy to your users on a web or intranet site via a browser. 


This book takes a code-first approach in which your database will be created and seeded programmatically. You won’t need to create the database through your database engine’s interface. Instead, you will be shown how to define your data model in Entity Framework, and then let Entity Framework do the work of creating your database and schema for you. From there you will learn how to seed your database with example data, then to implement the common, so-called CRUD operations consisting of creating, retrieving, updating, and deleting rows of data. By the end of the book you will have built a well-designed application that you can use as the basis for future applications that you create in your job. 




What You Will Learn
  • Download and install Entity Framework Core 5
  • Perform create, read, update, and delete (CRUD) operations
  • Create and seed a database with example data using Entity Framework Core 5
  • Incrementally add new database functionality through Entity Framework Core 5 migrations
  • Recognize when to take advantage of new features introduced in Entity Framework Core 5
  • Deliver line-of-business applications using ASP.NET Core that run in a browser




Who This Books Is For


Developers who are familiar with C# and the .NET Framework who want to learn database access using Entity Framework Core 5. For developers creating web-based, line-of-business applications who want to create those applications more quickly and efficiently when databases are involved. 

Authors and Affiliations

  • Okemos, USA

    Eric Vogel

About the author

Eric Vogel is a seasoned contributor to Visual Studio Magazine and Senior Software Developer at Red Cedar Solutions Group. He has been developing .NET framework web and desktop solutions for 13 years. He holds a bachelor of science degree in computer science from Michigan State University. He is Acting President of the Greater Lansing User Group for .NET. 

Bibliographic Information

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access