• Complain

Adam Freeman - Pro Entity Framework Core 2 for ASP.NET Core MVC

Here you can read online Adam Freeman - Pro Entity Framework Core 2 for ASP.NET Core MVC full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Adam Freeman Pro Entity Framework Core 2 for ASP.NET Core MVC
  • Book:
    Pro Entity Framework Core 2 for ASP.NET Core MVC
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2018
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Pro Entity Framework Core 2 for ASP.NET Core MVC: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Pro Entity Framework Core 2 for ASP.NET Core MVC" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Model, map, and access data effectively with Entity Framework Core 2, the latest evolution of Microsofts 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 Adam Freeman explains how to get the most from Entity Framework Core 2 in MVC projects. He begins by describing the different ways that Entity Framework Core 2 can model data and the different types of databases that can be used. He then shows you how to use Entity Framework Core 2 in your own MVC projects, starting from the nuts-and-bolts and building up to the most advanced and sophisticated features, going in-depth to give you the knowledge you need.
What youll learn:
  • Gain a solid architectural understanding of Entity Framework Core 2
  • Learn how to create databases using your MVC data model
  • Learn how to create MVC models using an existing database
  • Learn how to use Entity Framework Core 2 to access data in an MVC application
  • Learn how to use Entity Framework in RESTful Web Services
Each topic is covered clearly and concisely and is packed with the details you need to learn to be truly effective. The most important features are given a no-nonsense in-depth treatment and chapters include common problems and details of how to avoid them.
Who this book is for:
This book is for ASP.NET Core MVC 2 developers who want to use Entity Framework Core 2 as the data access layer in their projects.

Adam Freeman: author's other books


Who wrote Pro Entity Framework Core 2 for ASP.NET Core MVC? Find out the surname, the name of the author of the book and a list of all author's works by series.

Pro Entity Framework Core 2 for ASP.NET Core MVC — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Pro Entity Framework Core 2 for ASP.NET Core MVC" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Part I
Introducing Entity Framework Core 2
Introducing Entity Framework Core 2
The first part of this book is designed to help you understand broadly the foundational ideas of Entity Framework Core 2 development and to experience in practice what the framework is like to use in an ASP.NET Core MVC project.
Adam Freeman 2018
Adam Freeman Pro Entity Framework Core 2 for ASP.NET Core MVC
1. Entity Framework Core in Context
Adam Freeman 1
(1)
London, UK
Entity Framework Corealso known as EF Coreis an object-relational mapping (ORM) package produced by Microsoft that allows .NET Core applications to store data in relational databases.
Understanding Entity Framework Core
Entity Framework Core has one key task: storing.NET objects in a database and retrieving them again later. Put another way, Entity Framework Core acts as the bridge between an ASP.NET Core MVC application and a database, as shown in Figure .
Figure 1-1 Entity Framework Core in context Storing NET objects in a - photo 1
Figure 1-1.
Entity Framework Core in context
Storing .NET objects in a database can be a surprisingly complex process. Databases dont exist in isolation. They are created and managed by database servers , which are specialized applications focused solely on the storage and management of data. Database servers provide the persistent storage for most applications, and the most popular database servers have been under development for decades, resulting in high-performance and robust software that is packed with features. Database servers support a core set of common features, but they differentiate themselves with custom additions, and getting the best results from a database server means taking advantage of them.
There are different types of database server available; the kind that Entity Framework Core works with is called a relational database server , also known as a relational database management system (RDBMS). A relational database server manages relational databases , where data is stored as rows in tables, not unlike a spreadsheet. Relational database servers typically accept commands expressed in the Structured Query Language ( SQL) , which allows data operationssuch as storing or deleting datato be expressed. There is a SQL standard, but database servers use slightly different dialects, especially when it comes to accessing the nonstandard features.
Note
I am simplifying here for the sake of brevity. The world of databases is filled with distinctions between different types of data and different types of databases and database servers, none of which has much bearing on using ASP.NET Core MVC or Entity Framework Core.
To store .NET objects in a database, Entity Framework Core has to be able to translate objects into a form that can be stored in a database table and formulate a SQL command that the database server can process. To deal with the differences between database servers, Entity Framework Core relies on a database provider , which is responsible for communicating with the database and formulating the SQL commands.
To retrieve .NET objects from the database, Entity Framework Core has to be able to reverse the process. It has to be able to create a SQL query that will ask the database server for the data values that represent the object and use them to populate the properties of a .NET object. To make this process as natural as possible, Entity Framework Core supports LINQ for querying the database, which makes working with collections of objects stored in a database similar to working with collections of objects in memory.
About This Book
In this book, I explain how to use Entity Framework Core in ASP.NET Core MVC applications. I show you the different ways that Entity Framework Core can be added to a project and the pitfalls that await the unwary. Entity Framework Core is a powerful, tool but it is important to pay attention to the details; otherwise, you will end up with an application that doesnt perform well or doesnt behave as expected.
What Do You Need to Know?
To get the most from this book, you should already be familiar with ASP.NET Core MVC development. You will struggle if you dont already know how controllers and actions work and how Razor views behave. If you are not familiar with ASP.NET Core MVC, then consult https://docs.microsoft.com/en-us/aspnet/core or my book Pro ASP.NET Core MVC 2 , published by Apress.
What Software Do You Need?
To follow the examples in this book, you will need a PC running Windows, the .NET Core SDK, and the latest version of Visual Studio. With the exception of Windows, all the tools that I use in this book are available without charge, and I explain how to set up your development environment in Chapter .
What If You Dont Want to Use Windows?
I have relied on Windows and Visual Studio throughout this book because that is what most readers use, and being able to use LocalDBthe Windows-only developer version of SQL Servermakes the examples more predictable and reliable. With a little effort, you can run all of the examples in this book on any platform that .NET Core supports, although you will need to install the full SQL Server product (or use Docker containers). Contact me at adam@adam-freeman.com if you want to use Linux or macOS, and I will try to help you get started.
What Is the Structure of This Book?
This book is split into three parts, each of which covers a set of related topics.
Part 1: Introducing Entity Framework Core 2
The best way to learn is by doing, and in this part of the book, you get a high-level view of how Entity Framework Core works and how it integrates with ASP.NET Core MVC. In Chapter are given over to the development of a project called SportsStore, through which I show you a realistic development process, touching on the most important Entity Framework Core features and explaining where in the book each of them is described in detail.
Part 2: Entity Framework Core 2 in Detail
In Part 2, I describe the core features of Entity Framework Core that you will use on a day-to-day basis in your ASP.NET Core MVC projects. I show you how each feature works, explain the role it plays, and describe alternative techniques when they are available.
Part 3: Advanced Entity Framework Core 2
In Part 3, I describe the advanced features that Entity Framework Core provides. These are the features that you are unlikely to need often but that are invaluable when the default Entity Framework Core behavior doesnt solve your problem.
Where Can You Get the Example Code?
You can download the example projects for all the chapters in this book from https://github.com/apress/pro-ef-core-2-for-asp.net-core-mvc . The download is available without charge and contains all of the classes, views, and other assets required to follow the examples without having to type in all of the code.
Where Can You Get Corrections for This Book?
You can find errata for this book at https://github.com/apress/pro-ef-core-2-for-asp.net-core-mvc .
How Can You Contact Me?
If you have problems making the examples in this chapter work or if you find a problem in the book, then you can e-mail me at adam@adam-freeman.com , and I will try my best to help. Please check the errata for this book to see whether it contains a solution to your problem before contacting me.
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Pro Entity Framework Core 2 for ASP.NET Core MVC»

Look at similar books to Pro Entity Framework Core 2 for ASP.NET Core MVC. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Pro Entity Framework Core 2 for ASP.NET Core MVC»

Discussion, reviews of the book Pro Entity Framework Core 2 for ASP.NET Core MVC and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.