Download presentation
Presentation is loading. Please wait.
1
.NET CORE
2
Introducing .NET Core Open source Lots of contributors
Small nuget packages Faster development Getting releases more often Multi platform Linux, Mac, Windows, Docker Legacy
3
ASP.NET Core performance
Stack Server Plain text Req/sec Plain text with http pipelining Req/sec ASP.NET 4.6 perfsvr 57,843 IIS Static File (kernel cached) 276,727 IIS Static File (non-kernel cached) 231,609 NodeJS 106,479 147,554 perfsvr2 (Linux) 127,017 173,641 ASP.NET Core on Kestrel 313,001 1,174,881 Scala - Plain 176,509 1,514,942 Netty 447,993 2,808,515
4
ASP.NET Core performance
Avoid strings, string comparison Well known strings (GET, POST, PUT, ...) Small nuget packages Only get what you really want
5
Preview nuget packages
6
Entity framework differences
Creating a Model EF6.x EF Core 1.0.0 Custom conventions Yes Partial 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 Querying Data EF6.x EF Core 1.0.0 LINQ: Simple queries Stable LINQ: Moderate queries Stabilizing LINQ: Complex queries In-Progress LINQ: Queries using navigation properties “Pretty” SQL generation Poor Yes Mixed client/server evaluation Loading related data: Lazy Loading related data: Explicit Raw SQL queries: Un-mapped types Raw SQL queries: Composing with LINQ Other Features EF6.x EF Core 1.0.0 Seed data Yes Connection resiliency Lifecycle hooks (events, command interception, ...) Saving Data EF6.x EF Core 1.0.0 Accessing tracked state Yes Partial Batching of statements Stored procedure Detached graph support (N-Tier): Low level APIs Poor Detached graph support (N-Tier): End-to-end Database Providers EF6.x EF Core 1.0.0 MySQL Yes Paid only, unpaid coming soon Oracle InMemory (for testing) Azure Table Storage Prototype Redis
7
Thank you.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.