Book Image

ASP.NET Core Essentials

By : Shahed Chowdhuri
Book Image

ASP.NET Core Essentials

By: Shahed Chowdhuri

Overview of this book

<p>ASP.NET Core is the latest collection of Microsoft’s web application development technologies. When you’re trying to reach a broad spectrum of users with a robust web application, ASP.NET Core is there to help you build that application. With the ability to cater to users on desktop, tablet, or smartphone platforms, you can put together a solution that works well anywhere.</p> <p>This book is what you need to get started developing ASP.NET Core applications was quickly as possible; starting by introducing the software and how it can be used in today’s modern world of web applications and smartphone apps. Walking you through the benefits of a Web API to support both applications and mobile apps to give you a solid understanding of the tech to build upon as you see what ASP.NET Core can do for you.</p> <p>The book wraps up with practical guidelines for the use of database technologies, unit tests, security best practices, and cloud deployments for the real world.</p>
Table of Contents (15 chapters)
ASP.NET Core Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Chapter 6.  Using Entity Framework to Interact with Your Database in Code

In Chapter 3 , Understanding MVC, we mentioned Entity Framework (EF) while building a functional ASP.NET Core MVC web application. In this chapter, we'll go deeper into EF Core 1.0 and cover what you need to know about EF Core, that is, EF7 during development.

It's worth noting that EF Core can be used with more than just ASP.NET Core and relational databases. In fact, it has also been designed to be used with Universal Windows Platform (UWP) apps on Windows 10 and Windows desktop apps (Windows Presentation Foundation (WPF) or WinForms). Going beyond SQL Server, EF Core can also be used with Azure Table Storage, PostgreSQL, SQLite, and even NoSQL databases.

For the purposes of this book, we will focus primarily on ASP.NET Core, SQL Server, and the new in-memory provider.