Cargando…

Pro Entity Framework Core 2 for ASP.NET Core MVC /

Model, map, and access data effectively with Entity Framework Core 2, the latest evolution of Microsoft's object-relational mapping framework that allows developers to access data using .NET objects, and the most common data access layer used in ASP.NET Core MVC 2 projects. Best-selling author...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Freeman, Adam, 1972- (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Berkeley, CA] : Apress, 2018.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro; Contents; About the Author; About the Technical Reviewer; Part I: Introducing Entity Framework Core 2; Chapter 1: Entity Framework Core in Context; Understanding Entity Framework Core; About This Book; What Do You Need to Know?; What Software Do You Need?; What If You Don't Want to Use Windows?; What Is the Structure of This Book?; Part 1: Introducing Entity Framework Core 2; Part 2: Entity Framework Core 2 in Detail; Part 3: Advanced Entity Framework Core 2; Where Can You Get the Example Code?; Where Can You Get Corrections for This Book?; How Can You Contact Me?; Summary.
  • Chapter 2: Your First Entity Framework Core ApplicationGetting Ready; Installing .NET Core; Installing Visual Studio 2017; Adding the Visual Studio Extensions; Creating the Project; Setting the Scene; Creating the Project; Adding the Bootstrap CSS Framework; Configuring the HTTP Port; Creating the Data Model and Context Classes; Creating the Controller and Views; Configuring Entity Framework Core; Configuring the Connection String; Configuring the Startup Class; Preparing the Database; Testing the Application; Summary; Chapter 3: Working with Databases; Preparing for This Chapter.
  • Exploring the DatabaseExamining the Database Tables; Examining the Database Content; Understanding SQL; Querying Data; Manually Querying the Database; Filtering Data; Selecting and Ordering Columns; Ordering Rows; Examining the Entity Framework Core Query; Understanding Query Parameters; Storing and Updating Data; Updating Existing Data; Deleting Data; Joining Data; Preparing the Database; Performing a Join; Summary; Chapter 4: SportsStore: A Real (Data) Application; Creating the Project; Configuring the MVC Framework; Adding the Model; Adding a Repository; Adding a Controller and View.
  • Adding the Finishing TouchesRunning the Example Application; Summary; Chapter 5: SportsStore: Storing Data; Preparing for this Chapter; Configuring Entity Framework Core; Configuring Entity Framework Core Logging Messages; Preparing the Data Model; Defining a Primary Key Property; Creating the Database Context Class; Updating the Repository Implementation; Preparing the Database; Configuring the Connection String; Configuring the Database Provider and Context Class; Creating the Database; Running the Application; Avoiding the Query Pitfalls; Understanding the IEnumerable Pitfall.
  • Understanding the Duplicate Query PitfallAvoiding a Query Using CSS; Forcing Query Execution in the Repository; Common Problems and Solutions; Problems Creating or Accessing the Database; The "No executable found matching command dotnet-ef" Error; The "Build Failed" Error; The "The entity type requires a primary key to be defined" Error; The "There is already an object named in the database" Exception; The "A Network-Related or Instance-Specific Error Occurred" Exception; The "Cannot Open Database Requested By The Login" Exception; Problems Querying Data.