Inject dependencies and write highly maintainable and flexible code using the new .NET Core DI Engine About This Book Identify when to use the constructors, parameters, setters, or Interface Injection, for best results Build dependencies ...
Author: Marino Posadas
Publisher: Packt Publishing Ltd
Inject dependencies and write highly maintainable and flexible code using the new .NET Core DI Engine About This Book Identify when to use the constructors, parameters, setters, or Interface Injection, for best results Build dependencies not only for MVC within .NET but also for other frontend tools such as Angular Create specific components or services to cover discrete and separate pieces of functionality and call them when needed. Who This Book Is For C# and .NET developers who have no idea what DI is and would like to understand how to implement it in their applications. What You Will Learn Understand the concept of DI and its implications in modern software construction Learn how DI is already implemented in today's frameworks. Analyze how DI can be used with current software to improve maintainability and scalability. Learn the use of DI in .NET Core Get used to the possibilities that DI offers the ASP.NET Core developer in different scenarios. Learn about good practices and refactoring legacy code. In Detail .NET Core provides more control than ever over web application architectures. A key point of this software architecture is that it's based on the use of Dependency Injection as a way to properly implement the Dependency Inversion principle proposed in the SOLID principles established by Robert C. Martin. With the advent of .NET Core, things have become much simpler with Dependency Injection built into the system. This book aims to give you a profound insight into writing loosely-coupled code using the latest features available in .NET Core. It talks about constructors, parameter, setters, and interface injection, explaining in detail, with the help of examples, which type of injection to use in which situation. It will show you how to implement a class that creates other classes with associated dependencies, also called IoC containers, and then create dependencies for each MVC component of ASP.NET Core. You'll learn to distinguish between IoC containers, the use of Inversion of Control, and DI itself, since DI is just a way of implementing IoC via these containers. You'll also learn how to build dependencies for other frontend tool such as Angular. You will get to use the in-built services offered by .NET Core to create your own custom dependencies. Towards the end, we'll talk about some patterns and anti-patterns for Dependency Injection along with some techniques to refactor legacy applications and inject dependencies. Style and Approach Filled with examples, this book will take you through various techniques for injecting dependencies into your applications with or without the use of frameworks.
The dependency injection concept is a fundamental part of ASP.NET Core. A dependency injection system comes out of box with the ASP.NET Core
framework, and it is the preferred way to instantiate components in our
Author: Samuele Resca
Publisher: Packt Publishing Ltd
Get up to speed with the latest features of C# 8, ASP.NET Core 3 and .NET Core 3.1 LTS to create robust and maintainable web services Key Features Apply design patterns and techniques to achieve a reactive, scalable web service Document your web services using the OpenAPI standard and test them using Postman Explore mechanisms to implement a secure web service using client-side SSL and token authentication Book Description In recent times, web services have evolved to play a prominent role in web development. Applications are now designed to be compatible with any device and platform, and web services help us keep their logic and UI separate. Given its simplicity and effectiveness in creating web services, the RESTful approach has gained popularity, and this book will help you build RESTful web services using ASP.NET Core. This REST book begins by introducing you to the basics of the REST philosophy, where you'll study the different stages of designing and implementing enterprise-grade RESTful web services. You'll also gain a thorough understanding of ASP.NET Core's middleware approach and learn how to customize it. The book will later guide you through improving API resilience, securing your service, and applying different design patterns and techniques to achieve a scalable web service. In addition to this, you'll learn advanced techniques for caching, monitoring, and logging, along with implementing unit and integration testing strategies. In later chapters, you will deploy your REST web services on Azure and document APIs using Swagger and external tools such as Postman. By the end of this book, you will have learned how to design RESTful web services confidently using ASP.NET Core with a focus on code testability and maintainability. What you will learn Gain a comprehensive working knowledge of ASP.NET Core Integrate third-party tools and frameworks to build maintainable and efficient services Implement patterns using dependency injection to reduce boilerplate code and improve flexibility Use ASP.NET Core's out-of-the-box tools to test your applications Use Docker to run your ASP.NET Core web service in an isolated and self-contained environment Secure your information using HTTPS and token-based authentication Integrate multiple web services using resiliency patterns and messaging techniques Who this book is for This book is for anyone who wants to learn how to build RESTful web services with the ASP.NET Core framework to improve the scalability and performance of their applications. Basic knowledge of C# and .NET Core will help you make the best use of the code samples included in the book.
NET Core dependency injection feature is used to create and consume services.
This is a topic that causes confusion and can be difficult to understand. In this
chapter, I describe the problems that dependency injection solves and explain
Author: Adam Freeman
This bestselling comprehensive guide to ASP.NET Core is the only book you need for ASP.NET Core development. Period. Professional developers will produce leaner applications for the ASP.NET Core platform using the guidance in this full-color book, now in its 8th edition and updated for ASP.NET Core 3. It contains detailed explanations of the ASP.NET Core platform and the application frameworks it supports. This edition puts ASP.NET Core 3 into context and dives deep into the tools and techniques required to build modern, extensible, web applications. New features and capabilities such as MVC 3, Razor Pages, Blazor Server, and Blazor WebAssembly are covered, along with demonstrations of how they are applied. ASP.NET Core 3 is the latest evolution of Microsoft’s ASP.NET web platform and provides a "host-agnostic" framework and a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility. Best-selling author Adam Freeman has thoroughly revised this market-leading book and explains how to get the most from ASP.NET Core 3. He starts with the nuts-and-bolts topics, teaching you about middleware components, built-in services, request model binding, and more. As you gain knowledge and confidence, he introduces increasingly more complex topics and advanced features, including endpoint routing and dependency injection. He goes in depth to give you the knowledge you need. This book follows the same format and style as the popular previous editions but brings everything up-to-date for the new ASP.NET Core 3 release and broadens the focus to include the entire ASP.NET Core platform. You will appreciate the fully worked case study of a functioning ASP.NET Core application that you can use as a template for your own projects. What You Will Learn Build a solid foundation and skill set for working with the entire ASP.NET Core platform Apply the new ASP.NET Core 3 features in your developer environment See how to create RESTful web services, web applications, and client-side applications Build on your existing knowledge to get up and running with new programming models quickly and effectively Who This Book Is For This book is for Microsoft developers and assumes a basic knowledge of web development and C#. While written for professionals who want to incorporate the latest improvements and functionality of ASP.NET Core 3 into their own projects, it also serves as an in-depth and complete reference on the topic. Beginners with some background in Microsoft web development will also benefit from the comprehensive coverage of the topic.
Recall that we used something called dependency injection in the previous
chapter to inject the configuration object ... NET Core has its own dependency injection facility that allows class dependencies to be defined when the app starts
Author: Carl Rippon
Publisher: Packt Publishing Ltd
NET. Dependency. Injection. In the previous section, I walked through the
process of separating a controller class and the ... NET Core provides a slicker
version of the same functionality, packaged in a way that makes it easier to use
Author: Adam Freeman
Now in its 7th edition, the best selling book on MVC is updated for ASP.NET Core MVC 2. It contains detailed explanations of the Core MVC functionality which enables developers to produce leaner, cloud optimized and mobile-ready applications for the .NET platform. This book puts ASP.NET Core MVC into context and dives deep into the tools and techniques required to build modern, cloud optimized extensible web applications. All the new MVC features are described in detail and the author explains how best to apply them to both new and existing projects. The ASP.NET Core MVC Framework is the latest evolution of Microsoft’s ASP.NET web platform, built on a completely new foundation. It represents a fundamental change to how Microsoft constructs and deploys web frameworks and is free of the legacy of earlier technologies such as Web Forms. ASP.NET Core MVC provides a "host agnostic" framework and a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility. Best-selling author Adam Freeman has thoroughly revised this market-leading book and explains how to get the most from ASP.NET Core MVC. He starts with the nuts-and-bolts and shows you everything through to advanced features, going in-depth to give you the knowledge you need. The book includes a fully worked case study of a functioning web application that readers can use as a template for their own projects. What's New in This Edition Fully updated for Visual Studio 2017, C# 7 and .NET Core 2 Coverage of new features such as view filters Wider platform and tooling coverage than ever before, with more on Visual Studio Code and working with .NET Core on non-Windows platforms Docker-based application deployment What You Will Learn Gain a solid architectural understanding of ASP.NET Core MVC Explore the entire ASP.NET MVC Framework as a cohesive whole See how MVC and test-driven development work in action Learn what's new in ASP.NET Core MVC 2 and how best to apply these new features to your own work See how to create RESTful web services and Single Page Applications Build on your existing knowledge of previous MVC releases to get up and running with the new programming model quickly and effectively Who This Book Is For This book is for web developers with a basic knowledge of ASP.NET and C# who want to incorporate the latest improvements and functionality in the ASP.NET Core MVC 2 Framework.
About this Book Dependency Injection in .NET introduces DI and provides a practical guide for applying it in .NET applications. The book presents the core patterns in plain C#, so you'll fully understand how DI works.
Author: Mark Seemann
Publisher: Manning Publications Company
"Dependency Injection in .NET" is a comprehensive guide that introduces DI to .NET developers. It covers core concepts and patterns, and introduces important DI frameworks, such as StructureMap, Windsor, and Spring.NET.
This book is designed to do just that, and more—everything you need to know about C# is right here, in the single-volume resource on every developer’s shelf.
Author: Christian Nagel
Publisher: John Wiley & Sons
The professional’s guide to C# 7, with expert guidance on the newest features Professional C# 7 and .NET Core 2.0 provides experienced programmers with the information they need to work effectively with the world’s leading programming language. The latest C# update added many new features that help you get more done in less time, and this book is your ideal guide for getting up to speed quickly. C# 7 focuses on data consumption, code simplification, and performance, with new support for local functions, tuple types, record types, pattern matching, non-nullable reference types, immutable types, and better support for variables. Improvements to Visual Studio will bring significant changes to the way C# developers interact with the space, bringing .NET to non-Microsoft platforms and incorporating tools from other platforms like Docker, Gulp, and NPM. Guided by a leading .NET expert and steeped in real-world practicality, this guide is designed to get you up to date and back to work. With Microsoft speeding up its release cadence while offering more significant improvement with each update, it has never been more important to get a handle on new tools and features quickly. This book is designed to do just that, and more—everything you need to know about C# is right here, in the single-volume resource on every developer’s shelf. Tour the many new and enhanced features packed into C# 7 and .NET Core 2.0 Learn how the latest Visual Studio update makes developers’ jobs easier Streamline your workflow with a new focus on code simplification and performance enhancement Delve into improvements made for localization, networking, diagnostics, deployments, and more Whether you’re entirely new to C# or just transitioning to C# 7, having a solid grasp of the latest features allows you to exploit the language’s full functionality to create robust, high -quality apps. Professional C# 7 and .NET Core 2.0 is the one-stop guide to everything you need to know.
About the Book Dependency Injection Principles, Practices, and Patterns is a revised and expanded edition of the bestselling classic Dependency Injection in .NET.
Author: Mark Seemann
Publisher: Pearson Professional
Summary Dependency Injection Principles, Practices, and Patterns teaches you to use DI to reduce hard-coded dependencies between application components. You'll start by learning what DI is and what types of applications will benefit from it. Then, you'll work through concrete scenarios using C# and the .NET framework to implement DI in your own projects. As you dive into the thoroughly-explained examples, you'll develop a foundation you can apply to any of the many DI libraries for .NET and .NET Core. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Dependency Injection (DI) is a great way to reduce tight coupling between software components. Instead of hard-coding dependencies, such as specifying a database driver, you make those connections through a third party. Central to application frameworks like ASP.NET Core, DI enables you to better manage changes and other complexity in your software. About the Book Dependency Injection Principles, Practices, and Patterns is a revised and expanded edition of the bestselling classic Dependency Injection in .NET. It teaches you DI from the ground up, featuring relevant examples, patterns, and anti-patterns for creating loosely coupled, well-structured applications. The well-annotated code and diagrams use C# examples to illustrate principles that work flawlessly with modern object-oriented languages and DI libraries. What's Inside Refactoring existing code into loosely coupled code DI techniques that work with statically typed OO languages Integration with common .NET frameworks Updated examples illustrating DI in .NET Core About the Reader For intermediate OO developers. About the Authors Mark Seemann is a programmer, software architect, and speaker who has been working with software since 1995, including six years with Microsoft. Steven van Deursen is a seasoned .NET developer and architect, and the author and maintainer of the Simple Injector DI library. Table of Contents PART 1 Putting Dependency Injection on the map The basics of Dependency Injection: What, why, and how Writing tightly coupled code Writing loosely coupled code PART 2 Catalog DI patterns DI anti-patterns Code smells PART 3 Pure DI Application composition Object lifetime Interception Aspect-Oriented Programming by design Tool-based Aspect-Oriented Programming PART 4 DI Containers DI Container introduction The Autofac DI Container The Simple Injector DI Container The Microsoft.Extensions.DependencyInjection DI Container
The complete, pragmatic guide to building high-value solutions with ASP.NET Core Programming ASP.NET Core is the definitive guide to practical web-based application development with Microsoft’s new ASP.NET Core framework.
Author: Dino Esposito
Publisher: Microsoft Press
The complete, pragmatic guide to building high-value solutions with ASP.NET Core Programming ASP.NET Core is the definitive guide to practical web-based application development with Microsoft’s new ASP.NET Core framework. Microsoft MVP Dino Esposito introduces proven techniques and well-crafted example code for solving real problems with ASP.NET Core. Step by step, he guides you through using all key ASP.NET Core technologies, including MVC for HTML generation, .NET Core, EF Core, ASP.NET Identity, dependency injection, and much more. Esposito thoroughly covers ASP.NET Core’s cross-platform capabilities and what’s changed from older ASP.NET versions, but he doesn’t stop there: he offers a complete learning path for every developer who wants to build production solutions, including mobile-specific solutions. Microsoft MVP Dino Esposito shows how to: • Create new projects and understand their structure • Set up and use the familiar MVC application model in ASP.NET Core • Write controller class code to govern all stages of request processing • Serve HTML from controllers, or directly via Razor Pages • Master the Razor language for quickly defining the layout of HTML views • Manage cross-cutting concerns such as global configuration data, error and exception handling, controller class design, and dependency injection • Secure applications with user authentication and ASP.NET Core’s policy-based user authorization API • Design for efficient data access, and choose the right option for reading and writing data • Build ASP.NET Core Web APIs that return JSON, XML, or other data • Use data binding to programmatically update visual components with fresh information • Build device-friendly web views for iOS and Android • Explore the radically new ASP.NET Core runtime environment and Dependency Injection (DI) infrastructure
With this book, you’ll learn how to use a combination of design patterns and build fault-tolerant and robust full-stack apps and microservices with ASP.NET Core and C#.
Author: Carl-Hugo Marcotte
Publisher: Packt Publishing Ltd
Discover the essential design and architectural patterns with ASP.NET Core to solve common software design problems. With this book, you’ll learn how to use a combination of design patterns and build fault-tolerant and robust full-stack apps and microservices with ASP.NET Core and C#.
Author: Jignesh Trivedi
Publisher: BPB Publications
Develop and deploy modern cross-platform web applications with ASP.NET Core About This Book Develop modern web applications from scratch Integrate server-side and client-side code with modern tools Be prepared for the real world with unit ...
Author: Shahed Chowdhuri
Publisher: Packt Publishing Ltd
Develop and deploy modern cross-platform web applications with ASP.NET Core About This Book Develop modern web applications from scratch Integrate server-side and client-side code with modern tools Be prepared for the real world with unit tests and cloud deployment Who This Book Is For This book is for software developers who have experience in .NET, preferably with C# or some other Object-Oriented Programming Language, which is required in order to build ASP.NET Core web applications. A basic understanding of web application development is also essential. What You Will Learn Develop ASP.NET web applications from scratch Use MVC to build all parts of a web application Use Web API to support browsers and mobile apps Simplify development with client-side tools Use Entity Framework to integrate with your database Implement Dependency Injection to build testable software Build web solutions with performance and security in mind Deploy to the cloud and scale with ease In Detail 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. 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. 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. Style and approach This is a comprehensive guide for .NET developers to build the next generation of web apps. This book can be read from start to finish, but you can also come back to any chapter for a quick refresher, as each chapter is modularized for specific concepts.
About the Book ASP.NET Core in Action opens up the world of cross-platform web development with .NET. You'll start with a crash course in .NET Core, immediately cutting the cord between ASP.NET and Windows.
Author: Andrew Lock
Publisher: Pearson Professional
ASP.NET Core is a re-imagining of the .NET Framework that frees developers from Visual Studio and Windows. ASP.NET Core in Action is for C# developers without any web development experience who want to get started and productive using ASP.NET Core to build web applications. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
NET core run time, so you can take advantage of this compilation model to
convert input files into classes at run time in your ... in principle, serves the same
purposes: to allow developers to easily get dependency injection for their
Author: Jon Galloway
Publisher: John Wiley & Sons
ASP.NET MVC insiders cover the latest updates to the technology in this popular Wrox reference MVC 5 is the newest update to the popular Microsoft technology that enables you to build dynamic, data-driven websites. Like previous versions, this guide shows you step-by-step techniques on using MVC to best advantage, with plenty of practical tutorials to illustrate the concepts. It covers controllers, views, and models; forms and HTML helpers; data annotation and validation; membership, authorization, and security. MVC 5, the latest version of MVC, adds sophisticated features such as single page applications, mobile optimization, and adaptive rendering A team of top Microsoft MVP experts, along with visionaries in the field, provide practical advice on basic and advanced MVC topics Covers controllers, views, models, forms, data annotations, authorization and security, Ajax, routing, ASP.NET web API, dependency injection, unit testing, real-world application, and much more Professional ASP.NET MVC 5 is the comprehensive resource you need to make the best use of the updated Model-View-Controller technology.
By the end of this book, you will have learned how to write clean and robust code through the effective practice of TDD, set up CI build steps to test and build applications as well as how to package application for deployment on NuGet.
Author: Ayobami Adewole
Publisher: Packt Publishing Ltd
Learn how to apply a test-driven development process by building ready C# 7 and .NET Core applications. Key Features Create tests to quickly detect and resolve issues when writing portable code Uncover code integration issues that improve code quality using continuous integration Set up and use data-driven unit testing to verify your code Book Description This book guides developers to create robust, production-ready C# 7 and .NET Core applications through the practice of test-driven development process. In C# and .NET Core Test-Driven Development, you will learn the different stages of the TDD life cycle, basics of TDD, best practices, and anti-patterns. It will teach you how to create an ASP.NET Core MVC sample application, write testable code with SOLID principles and set up a dependency injection for your sample application. Next, you will learn the xUnit testing framework and learn how to use its attributes and assertions. You’ll see how to create data-driven unit tests and mock dependencies in your code. You will understand the difference between running and debugging your tests on .NET Core on LINUX versus Windows and Visual Studio. As you move forward, you will be able to create a healthy continuous integration process for your sample application using GitHub, TeamCity, Cake, and Microsoft VSTS. By the end of this book, you will have learned how to write clean and robust code through the effective practice of TDD, set up CI build steps to test and build applications as well as how to package application for deployment on NuGet. What you will learn Write flexible, maintainable, and verifiable code for .NET Core Write testable code using SOLID principles and dependency injections Recognize the characteristics of a good unit test Structure and group your unit test Use mock objects to handle dependencies Set up an end-to-end continuous integration process Who this book is for This book is for .NET developers who would like to build efficient applications by implementing principles of test-driven development. C# programming and working knowledge of VS is assumed.
Then, moves on to review some of the core concepts such as configuration, dependency injection, routing, and Middleware. This course is part of the two course series on ASP.NET Core framework.
"The Exploring ASP.NET Core: Fundamentals course is a beginner level course that gives the students an overview of the new ASP.NET Core framework, the new tooling, and gives the candidates enough knowledge and confidence to start building web applications using it. The course starts off discussing the new templates and project types available. Then, moves on to review some of the core concepts such as configuration, dependency injection, routing, and Middleware. This course is part of the two course series on ASP.NET Core framework. The course focuses on the .NET Core platform itself. The primary objective of this course is to enable the students to develop .NET Core console applications and libraries that run on Windows, Mac, and Linux computers. It also prepares the candidates to learn about developing ASP.NET web applications for the .NET Core platform."--Resource description page.
About This Book Based on the best-selling book ASP.NET Core and Angular 2 Easily build a complete single page application with two of the most impressive frameworks in modern development, ASP.NET Core and Angular Bring together the ...
Author: Valerio De Sanctis
Publisher: Packt Publishing Ltd
Develop a simple, yet fully-functional modern web application using ASP.NET Core MVC, Entity Framework and Angular 5. About This Book Based on the best-selling book ASP.NET Core and Angular 2 Easily build a complete single page application with two of the most impressive frameworks in modern development, ASP.NET Core and Angular Bring together the capabilities and features of both Angular 5 and ASP.NET Core 2 for full stack development Discover a comprehensive approach to building your next web project-From managing data, to application design, through to SEO optimization and security Who This Book Is For This book is for seasoned ASP.NET developers who already know about ASP.NET Core and Angular in general, but want to know more about them and/or understand how to blend them together to craft a production-ready SPA. What You Will Learn Use ASP.NET Core to its full extent to create a versatile backend layer based on RESTful APIs Consume backend APIs with the brand new Angular 5 HttpClient and use RxJS Observers to feed the frontend UI asynchronously Implement an authentication and authorization layer using ASP.NET Identity to support user login with integrated and third-party OAuth 2 providers Configure a web application in order to accept user-defined data and persist it into the database using server-side APIs Secure your application against threats and vulnerabilities in a time efficient way Connect different aspects of the ASP. NET Core framework ecosystem and make them interact with each other for a Full-Stack web development experience In Detail Become fluent in both frontend and backend web development by combining the impressive capabilities of ASP.NET Core 2 and Angular 5 from project setup right through the deployment phase. Full-stack web development means being able to work on both the frontend and backend portions of an application. The frontend is the part that users will see or interact with, while the backend is the underlying engine, that handles the logical flow: server configuration, data storage and retrieval, database interactions, user authentication, and more. Use the ASP.NET Core MVC framework to implement the backend with API calls and server-side routing. Learn how to put the frontend together using top-notch Angular 5 features such as two-way binding, Observables, and Dependency Injection, build the Data Model with Entity Framework Core, style the frontend with CSS/LESS for a responsive and mobile-friendly UI, handle user input with Forms and Validators, explore different authentication techniques, including the support for third-party OAuth2 providers such as Facebook, and deploy the application using Windows Server, SQL Server, and the IIS/Kestrel reverse proxy. Style and approach More than just a technical manual, this guide takes you through the most important technical facets of developing with these two hugely popular frameworks and then demonstrates how to put those skills into practice. It's a book that recognizes that what's really important is the end product.
"In this video course, you'll learn how to do the basic setup for the project, and then we'll take a dive into the concept of the MVC pattern.
Author: Ronnie M. Rahman
"In this video course, you'll learn how to do the basic setup for the project, and then we'll take a dive into the concept of the MVC pattern. You'll learn about models, views, and controllers in detail. You will see the new concept of middleware and it will be demystified. Dependency Injection (DI) is now native to ASP.NET Core MVC and comes already wired up. You will learn to use DI with ease. Routing is central to ASP.NET Core MVC and there is a dedicated section for learning all that you need to know so that you can create effective routing for your site. We'll discuss the Razor syntax for UI programming and work with the Entity Framework core and create a Database in the SQLLocalDb which is the new developer friendly Database server around in the block. Just relax and watch this video as this course will take you inside the world of ASP.NET Core MVC and learn effortlessly all the critical and complex concepts without breaking any sweat. ASP.NET core MVC is made fun and easy here. Tackle any projects armed with the knowledge gained from this course with confidence."--Resource description page.
What You’ll Learn Gain a solid architectural understanding of Entity Framework Core 2 Create databases using your MVC data model Create MVC models using an existing database Access data in an MVC application using Entity Framework Core 2 ...
Author: Adam Freeman
Model, map, and access data effectively with Entity Framework Core 2, the latest evolution of Microsoft’s object-relational mapping framework. You will access data utilizing .NET objects via 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. Chapters include common problems and how to avoid them. What You’ll Learn Gain a solid architectural understanding of Entity Framework Core 2 Create databases using your MVC data model Create MVC models using an existing database Access data in an MVC application using Entity Framework Core 2 Use Entity Framework in RESTful Web Services Who 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