NET CORE 2016 09 28 Introducing NET Core

  • Slides: 7
Download presentation
. NET CORE 2016. 09. 28

. NET CORE 2016. 09. 28

Introducing. NET Core Open source • Lots of contributors Small nuget packages • Faster

Introducing. NET Core Open source • Lots of contributors Small nuget packages • Faster development • Getting releases more often Multi platform • Linux, Mac, Windows, Docker Legacy © 2016, Log. Me. In, Inc. | CONFIDENTIAL – FOR INTERNAL USE ONLY 1

ASP. NET Core performance Plain text with http pipelining Req/sec Stack Server Plain text

ASP. NET Core performance Plain text with http pipelining Req/sec Stack Server Plain text Req/sec ASP. NET 4. 6 perfsvr 57, 843 IIS Static File (kernel cached) perfsvr 276, 727 IIS Static File (non-kernel cached) perfsvr 231, 609 Node. JS perfsvr 106, 479 147, 554 Node. JS perfsvr 2 (Linux) 127, 017 173, 641 ASP. NET Core on Kestrel perfsvr 313, 001 1, 174, 881 Scala - Plain perfsvr 176, 509 1, 514, 942 Netty perfsvr 447, 993 2, 808, 515 © 2016, Log. Me. In, Inc. | CONFIDENTIAL – FOR INTERNAL USE ONLY 2

ASP. NET Core performance Avoid strings, string comparison • Well known strings (GET, POST,

ASP. NET Core performance Avoid strings, string comparison • Well known strings (GET, POST, PUT, . . . ) Small nuget packages • Only get what you really want © 2016, Log. Me. In, Inc. | CONFIDENTIAL – FOR INTERNAL USE ONLY 3

Preview nuget packages © 2016, Log. Me. In, Inc. | CONFIDENTIAL – FOR INTERNAL

Preview nuget packages © 2016, Log. Me. In, Inc. | CONFIDENTIAL – FOR INTERNAL USE ONLY 4

Entity framework differences Creating a Model Custom conventions Inheritance: Table per type (TPT) Inheritance:

Entity framework differences Creating a Model Custom conventions Inheritance: Table per type (TPT) Inheritance: Table per concrete class (TPC) Shadow state properties Alternate keys Many-to-many: Without join entity Key generation: Client Complex/value types Spatial data Graphical visualization of model Graphical drag/drop editor Model format: EDMX (XML) Reverse engineer model from database: Command line Reverse engineer model from database: VS wizard Incremental update model from database Saving Data Accessing tracked state Batching of statements Stored procedure Detached graph support (N-Tier): Low level APIs Detached graph support (N-Tier): End-to-end Saving Data EF 6. x Yes Yes EF Core 1. 0. 0 Partial Yes Yes Yes EF 6. x Yes Poor EF 6. x EF Core 1. 0. 0 Partial Yes Poor EF Core 1. 0. 0 Querying Data LINQ: Simple queries LINQ: Moderate queries LINQ: Complex queries LINQ: Queries using navigation properties “Pretty” SQL generation Mixed client/server evaluation Loading related data: Lazy Loading related data: Explicit Raw SQL queries: Un-mapped types Raw SQL queries: Composing with LINQ EF 6. x Stable Poor Other Features Seed data Connection resiliency Lifecycle hooks (events, command interception, . . . ) Other Features EF 6. x Yes Yes EF 6. x Database Providers My. SQL Oracle In. Memory (for testing) Azure Table Storage Redis Database Providers EF 6. x Yes EF 6. x EF Core 1. 0. 0 Stable Stabilizing In-Progress Yes Yes Yes EF Core 1. 0. 0 Paid only, unpaid coming soon Yes Prototype EF Core 1. 0. 0 © 2016, Log. Me. In, Inc. | CONFIDENTIAL – FOR INTERNAL USE ONLY 5

Thank you.

Thank you.