Beginning Entity Framework Core 5 - Eric Vogel

Beginning Entity Framework Core 5

From Novice to Professional

(Autor)

Buch | Softcover
317 Seiten
2021 | 1st ed.
Apress (Verlag)
978-1-4842-6881-0 (ISBN)
64,19 inkl. MwSt
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. 

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. 

Introduction.- Part I. Getting Started.- 1. Installation.- 2. Project Structure.- Part II. Core Features.- 3. Entities.- 4. Database Context.- 5. Creating a Database from Code.- 6. Seeding Data.- 7. Getting Data.- 8. Inserting Data.- 9. Updating Data.- 10. Deleting Data.- 11. Navigation Properties.- Part III. Advanced Features.- 12. Aggregations.- 13. Stored Procedures.- 14. Migrations.- Part IV. A Model Web Application.- 15. Authentication on the Web.- 16. Displaying Data on the Web.- 17. Inserting Data on the Web.- 18. Updating Data on the Web.- 19. Deleting Data on the Web.- 20. Reporting on the Web.- 21. Authorization on the Web..- Part V. Learning More.- 22 Delving Deeper.- 23 Conclusion.

Erscheinungsdatum
Zusatzinfo 55 Illustrations, black and white; XV, 317 p. 55 illus.
Verlagsort Berkley
Sprache englisch
Maße 178 x 254 mm
Themenwelt Mathematik / Informatik Informatik Datenbanken
Mathematik / Informatik Informatik Software Entwicklung
Schlagworte ASP.NET Core MVC • C# • Create, Read, Update, Delete (CRUD) • Database • Entity Framework • Infrastructure as code • JavaScript • Multi-layered Architecture • .NET • .NET 5 • .NET Core • SQL • SQL Server • Stored Procedures • User Authorization • Visual Studio
ISBN-10 1-4842-6881-4 / 1484268814
ISBN-13 978-1-4842-6881-0 / 9781484268810
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich