Microsoft Build 2016 11/15/2018 6:28 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,

Slides:



Advertisements
Similar presentations
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

Meet Jeremy Thake Jeremy recently joined Microsoft as Technical Product Manager for the Visual Studio Developer story for Office 365 development.
 Pablo Castro Software Architect Microsoft Corporation TL08.
Session 1.
Web & Cloud Development Jason Keicher - Microsoft.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
03 | The Power of Visual Studio Jon Galloway | Technical Evangelist Christopher Harrison | Content Developer.
Top 10 Entity Framework Features Every Developer Should Know
Modernizing your. NET applications with. NET Standard,
Introduction to ASP.NET Core
5/15/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
What’s new in Entity Framework Core 2.0
Data centric apps for web, desktop and mobile with EF5
ASP.NET Core: Web apps, cloud apps, and containers
The Future of C# The Future of C# and VB 2-577
The Modern ASP.NET Tech Stack!
Did your feature got in, out or planned?
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Developing an app for SharePoint autohosted in Azure
Modern Front-End Web Development with Visual Studio
DNN Connect 2017 Microsoft Keynote
Introducing ASP.NET Core 2.0
ADO.NEXT Advances in Data Access for 2008
Microsoft Build /11/2018 2:12 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Building Modern Web Apps with ASP.NET MVC 6
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
ASP.NET Roadmap Mike Ormond Developer & Platform Group Microsoft Ltd
What’s new in Visual Studio for web developers
Entity Framework Core.
Visual Studio 2013 for web developers
Title of Presentation 12/2/2018 3:48 PM
12/3/2018 7:56 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
MIX 09 12/8/2018 4:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Tech Ed North America /1/ :36 AM Required Slide
Jim Nakashima Program Manager Cloud Tools
Pablo Castro Software Architect Microsoft Corporation
From Development to Production: Optimizing for Continuous Delivery
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
Tech Ed North America /12/2019 6:45 AM Required Slide
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
From Development to Production: Optimizing for Continuous Delivery
4/27/17, Bell #8 What amount of net pay has been earned this period?
Windows 8 Security Internals
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Developing Windows Azure Applications with Visual Studio
5/1/2019 3:29 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Шитманов Дархан Қаражанұлы Тарих пәнінің
Code First Development in Microsoft ADO.NET Entity Framework 4.1
Build /15/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Title of Presentation 5/24/2019 1:26 PM
Server & Tools Business
Office 365 Development July 2014.
Build /27/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Getting Productive with ASP.NET MVC 3
Building Data-Driven Applications Using "Quadrant" and "M"
WCL425 App Compat for Nerds Chris Jackson.
利用IIS部署與維護 SOA應用程式的技巧
What’s ASP.NET 5 and Why? Scott Hunter | Director of Program Management Scott Hanselman | Principal Program Manager.
Presentation transcript:

Microsoft Build 2016 11/15/2018 6:28 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

B852 Entity Framework Core Rowan Miller Program Manager

Naming history Entity Framework Everywhere Entity Framework 7 (EF7) Entity Framework Core (EF Core) 1.0

Agenda Introducing EF Core EF Core and EF6.x Demos Next steps

Setting expectations Listed as a level 200 session Should have something for everyone (100-300) This is an EF Core session Preview of what’s ahead Not a look at current stable releases

Introducing EF Core

Entity Framework project status Runtime on NuGet Tooling on Microsoft Download Center Latest version included in Visual Studio Entity Framework Core 1.0 Entity Framework 6.x Entity Framework 5 New runtime components on NuGet Core runtime components in .NET Tooling in Visual Studio Entity Framework 4.x Entity Framework 4 Runtime in .NET Framework Tooling in Visual Studio Entity Framework 3.5 SP1

New platforms

COMMON INFRASTRUCTURE New platforms .NET FRAMEWORK .NET CORE XAMARIN MODELS APP WPF Windows Forms UWP iOS Android ASP.NET ASP.NET Core * OS X LIBRARIES BASE Base Class Library Core Library Mono Class Library Compilers Languages Runtime components COMMON INFRASTRUCTURE EF6.x EF Core

New data stores

New data stores Relational & non-relational Example providers Not a magic abstraction High level services that are useful on all/most stores Non-common concerns handled by provider extensions Example providers Relational (SQL Server, SQLite, Postgres, SQL Compact etc.) Azure Table Storage Redis In Memory (for testing) Just relational providers for v1.0.0

New features

New features Batching during SaveChanges Client eval in LINQ queries Shadow state properties SQL Server sequences Alternate keys

Lightweight & extensible core

Lightweight & extensible core Top level API built over a modular core Core = metadata, SQL generation, change tracking, etc. Built as a collection of services Follows dependency injection principles Easy to use/replace/extend individual services Optimized for memory and CPU usage Pay-per-play components

EF Core & EF6.x

EF Core Mindful of our past… …but not constrained by it Same top level experience as EF6.x Not changing things just for the sake of it …but not constrained by it New code base Completely different core Not all features from EF6.x will be implemented

EF Core & EF6.x EF6.x is the mature data stack EF Core is a true v1 8 years of RTM releases = features and stability Rich ecosystem of database providers Patch and minor releases will continue EF Core is a true v1 Basic feature set shipping in v1 Limited set of early adopter database providers

EF Core & EF6.x EF6.x will be the right choice for many applications Carefully evaluate requirements if considering EF Core Many features not implemented in 1.0.0 (e.g. lazy loading, stored procedure mapping, etc.) Less mature code base (e.g. LINQ translator has limitations) EF6.x to EF Core is “port” not “upgrade” Very basic code will port easily Many APIs have changed drastically Beware of behavior differences in similarly named APIs

Demos

Demo EF Core 101

Demo Performance improvements

Demo Simplified metadata API

Demo Extensible core

Extensible core Top Level API DbContext, DbSet, ChangeTracker, Database, etc. Core Services StateManager, CompiledQueryCache, etc. Database Provider Services SqlServerTypeMapper, SqlServerSqlGenerationHelper, etc.

Demo Model building pipeline

EF6.x model building pipeline Entity Classes Conventions Context DbSet properties OnModelCreating DbSet Discovery Model Configuration

EF Core model building pipeline Entity Classes Conventions Context DbSet properties OnModelCreating DbSet Discovery Model

Demo Same model, multiple platforms

Demo Same model, multiple databases

Demo SQL generation improvements

Next steps

Next steps docs.efproject.net github.com/aspnet/EntityFramework github.com/rowanmiller/Demo-EFCore

Related breakout sessions MARCH 31 APRIL 1 3:30pm .NET Overview Scott Hunter & Scott Hanselman 5:00pm Introducing ASP.NET Core 1.0 Scott Hanselman 6:30pm The Future of C# Mads Torgersen & Dustin Campbell 9:00am Entity Framework Core 1.0 Rowan Miller 10:30am Building Desktop Apps in Visual Studio ’15’ Unni Ravindranathan 12:30pm ASP.NET Core Deep Dive into MVC Scott Hunter & Dan Roth 2:00pm Deploying ASP.NET Core Applications Dan Roth All Build sessions on demand on Channel 9

dotnetConf 2016 For more information http://www.dotnetconf.net Immerse yourself in the world of .NET Join us for 3 days of free online content, brought to you by the .NET Community and Microsoft product teams. For more information http://www.dotnetconf.net

Please Complete An Evaluation Form Your input is important! 11/15/2018 Please Complete An Evaluation Form Your input is important! or © 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11/15/2018 6:28 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.