Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data centric apps for web, desktop and mobile with EF5

Similar presentations


Presentation on theme: "Data centric apps for web, desktop and mobile with EF5"— Presentation transcript:

1 Data centric apps for web, desktop and mobile with EF5
Windows Azure 5/29/2018 Data centric apps for web, desktop and mobile with EF5 Rowan Miller Program Manager 3-031 © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

2 Agenda Developer workflows Entity Framework 5 Demos Entity Framework 6

3 EF developer workflows
Designer centric Code centric New database Model first Create .edmx model in designer Generate database from .edmx Classes auto-generated from .edmx Code first Define classes and mapping in code Database auto-created at runtime Existing database Database first Reverse engineer .edmx model Classes auto-generated from .edmx Code first Define classes and mapping in code (Reverse engineer tools available)

4 Entity Framework 5 (EF5) EntityFramework NuGet Package
Included in Visual Studio 2012 Works with Visual Studio 2010 Works with .NET 4.0 and 4.5 Most new features require .NET 4.5

5 What’s new in EF5 EF designer and code first EF designer only
Enum support Spatial data types Performance improvements EF designer only Table-valued Functions (TVFs) Multiple diagrams and coloring DbContext code generation

6 Park Finder demo

7 Search Text Bing Maps API Coordinates ParkFinder Web API
List<Park> Entity Framework LocalDb Map GridView demo

8 EF developer workflows
Designer centric Code centric New database Model first Create .edmx model in designer Generate database from .edmx Classes auto-generated from .edmx Code first Define classes and mapping in code Database auto-created at runtime Existing database Database first Reverse engineer .edmx model Classes auto-generated from .edmx Code first Define classes and mapping in code (Reverse engineer tools available)

9 Entity Framework 6 (EF6) Open source Targeting mid-2013 RTM
Accepting contributions Code base has Apache 2.0 License Releases have same license, branding, quality, support, etc. as EF5 Targeting mid-2013 RTM Alpha 1 available today

10 EF6 Features Async query and save Dependency injection pattern
Code first custom conventions Enums, spatial, etc. on .NET 4.0 Connection resiliency (retry) Tooling consolidation Code first stored procedure support

11 Related sessions 11/1 2:30PM — B92 Trident/Thunder — Building Services for Any Client with ASP.NET Web API 11/2 8:30AM — B92 Nexus/Normandy — Data Options in Windows Azure. What's a developer to do? 11/2 2:30PM — B33 McKinley — Bleeding edge ASP.NET: See what is next for MVC, Web API, SignalR and more…

12 Resources msdn.com/data/ef blogs.msdn.com/adonet
entityframework.codeplex.com twitter.com/efmagicunicorns #EFHelp on Twitter facebook.com/efmagicunicorns romiller.com Please submit session evals on the Build Windows 8 App or at

13 Resources Follow us on Twitter @WindowsAzure
Get Started: Please submit session evals on the Build Windows 8 App or at

14


Download ppt "Data centric apps for web, desktop and mobile with EF5"

Similar presentations


Ads by Google