SlideShare une entreprise Scribd logo
1  sur  14
.NET Core vs .NET
Framework
Wyn Van Devanter
@wynv
wyn.vandevanter@excella.com
Core
 Rewrite of the .NET components
 .NET Core 5 -> .NET Core 1.0
 ASP.NET 5 -> ASP.NET Core 1.0
 Entity Framework 7 -> Entity Framework Core 1.0
 .NET Framework is not going away
 Tried and true
Open Source
 https://github.com/dotnet/core
 https://github.com/aspnet/home
 https://github.com/aspnet/EntityFramework
Cross-platform support
Developers can target a single common set of libraries that are supported
by multiple platforms
 Windows
 OS X
 Linux
 Docker (Linux, Docker for Window Server)
Cross-platform development experience
Developers can build applications from various platforms
 Windows
 OS X
 Linux
Minimal Dependencies
 Use only the libraries you need within an application
 The libraries (CoreFX) have been built to have minimal dependencies
Minimal Dependencies - Benefits
 More modular
 Reduced impact of upgrades since only those packages used are affected.
 Smaller footprint
 Great for
 mobile apps that need a small footprint
 cloud-based apps that need many small applications running side-by-
side
.NET CLI
 DNX merged into the CLI
.NET landscape
SOURCE: http://www.hanselman.com/blog/ASPNET5IsDeadIntroducingASPNETCore10AndNETCore10.aspx
SOURCE: An update on ASP.NET Core 1.0 RC2, Scott Hanselman
.NET Core landscape
.NET Core Description Key Components
ASP.NET 5 to ASP.NET
Core 1.0
•Cross-platform
•Runs on top of .NET Core or the full .NET
Framework 4.6
N/A
Entity Framework
7 to Entity Framework
Core 1.0
•Lightweight rewrite of Microsoft’s ORM
•Built to work well in the cloud, various devices,
and traditional .NET applications
N/A
.NET Core 5 to .NET
Core 1.0
•Modular, cross-platform rewrite
•Some shared functionality
•Some missing, (i.e. library for working with
XAML-based UIs)
•Some added (i.e. cross-platform functionality)
•CoreCLR: runtime
•CoreFX: libraries
•CoreRT: .NET Native
runtime
•CLI: command-line
interface
DNX into CLI
Cross-platform command-line interface for
creating and managing .NET projects
N/A
ASP.NET performance
ASP.NET 4.6 perfsvr 57,843
32 threads, 256
connections
Generic
reusable
handler, unused
IIS modules
removed
CPU is 100%,
almost
exclusively in
user mode
NodeJS perfsvr 106,479
32 threads, 256
connections
The actual
TechEmpower
NodeJS app
CPU is 100%,
almost
exclusively in
user mode
NodeJS perfsvr2 (Linux) 127,017
32 threads, 512
connections
The actual
TechEmpower
NodeJS app
CPU is 100%,
almost
exclusively in
user mode
ASP.NET Core on
Kestrel
perfsvr 228,062
32 threads, 256
connections
Middleware
class, multi IO
thread
CPU is 100%
Scala - Plain perfsvr 176,509
32 threads,
1024
connections
The actual
TechEmpower
Scala Plain
plaintext app
CPU is 68%,
mostly in kernel
mode
Netty perfsvr 447,993
32 threads, 256
connections
The actual
TechEmpower
Netty app
CPU is 100%
SOURCE: https://github.com/aspnet/benchmarks
Summary
 .NET Core 1.0 (renamed from .NET Core 5)
 ASP.NET Core 1.0 (renamed from ASP.NET 5)
 Entity Framework 1.0 (renamed from EF 7)
 .NET Framework 4.6.1
 ASP.NET 4.6
 Entity Framework 6.1.3
Resources
 My blog article, https://www.excella.com/insights/demystifying-key-
differences-in-net-core-1-0-vs-net-framework
 The .NET Core CLI documentation on the GitHub site
 NET Docs – Introducing .NET Core
 This excellent blog post from Scott Hanselman about the .NET toolchain
 A blog explaining the rename by Jeffrey T. Fritz
 For more in-depth information on the name and version changes, and on the
components of .NET Core such as the CoreCLR and CLI, watch the NET
Community Standup from January 19th, 2016 where are explained well by
Damian Edwards
 MSDN Magazine – .NET Core – .NET Goes Cross-Platform with .NET Core

Contenu connexe

Tendances

[Final] ReactJS presentation
[Final] ReactJS presentation[Final] ReactJS presentation
[Final] ReactJS presentation
洪 鹏发
 

Tendances (20)

Introduction to React Native
Introduction to React NativeIntroduction to React Native
Introduction to React Native
 
.Net framework vs .net core a complete comparison
.Net framework vs .net core  a complete comparison.Net framework vs .net core  a complete comparison
.Net framework vs .net core a complete comparison
 
Getting Started with React.js
Getting Started with React.jsGetting Started with React.js
Getting Started with React.js
 
.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1
 
Introduction to angular with a simple but complete project
Introduction to angular with a simple but complete projectIntroduction to angular with a simple but complete project
Introduction to angular with a simple but complete project
 
【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10
 
Migrating .NET Application to .NET Core
Migrating .NET Application to .NET CoreMigrating .NET Application to .NET Core
Migrating .NET Application to .NET Core
 
Difference between .net core and .net framework
Difference between .net core and .net frameworkDifference between .net core and .net framework
Difference between .net core and .net framework
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
 
Asp.Net Core MVC with Entity Framework
Asp.Net Core MVC with Entity FrameworkAsp.Net Core MVC with Entity Framework
Asp.Net Core MVC with Entity Framework
 
Node.Js: Basics Concepts and Introduction
Node.Js: Basics Concepts and Introduction Node.Js: Basics Concepts and Introduction
Node.Js: Basics Concepts and Introduction
 
Dotnet Basics Presentation
Dotnet Basics PresentationDotnet Basics Presentation
Dotnet Basics Presentation
 
React Architecture & Best Practices.pptx
React Architecture & Best Practices.pptxReact Architecture & Best Practices.pptx
React Architecture & Best Practices.pptx
 
Introduction to ASP.NET Core
Introduction to ASP.NET CoreIntroduction to ASP.NET Core
Introduction to ASP.NET Core
 
Angular 6 - The Complete Guide
Angular 6 - The Complete GuideAngular 6 - The Complete Guide
Angular 6 - The Complete Guide
 
Introduction Node.js
Introduction Node.jsIntroduction Node.js
Introduction Node.js
 
React Native
React NativeReact Native
React Native
 
Angular 10 course_content
Angular 10 course_contentAngular 10 course_content
Angular 10 course_content
 
Nodejs presentation
Nodejs presentationNodejs presentation
Nodejs presentation
 
[Final] ReactJS presentation
[Final] ReactJS presentation[Final] ReactJS presentation
[Final] ReactJS presentation
 

Similaire à .Net Core 1.0 vs .NET Framework

Similaire à .Net Core 1.0 vs .NET Framework (20)

Pottnet Meetup Essen - ASP.Net Core
Pottnet Meetup Essen - ASP.Net CorePottnet Meetup Essen - ASP.Net Core
Pottnet Meetup Essen - ASP.Net Core
 
Pottnet MeetUp Essen - ASP.Net Core
Pottnet MeetUp Essen - ASP.Net CorePottnet MeetUp Essen - ASP.Net Core
Pottnet MeetUp Essen - ASP.Net Core
 
Raffaele Rialdi
Raffaele RialdiRaffaele Rialdi
Raffaele Rialdi
 
Dive into .Net Core framework
Dive into .Net Core framework Dive into .Net Core framework
Dive into .Net Core framework
 
Introduction to dot net
Introduction to dot netIntroduction to dot net
Introduction to dot net
 
.NET Core: a new .NET Platform
.NET Core: a new .NET Platform.NET Core: a new .NET Platform
.NET Core: a new .NET Platform
 
.Net Core Blimey! (16/07/2015)
.Net Core Blimey! (16/07/2015).Net Core Blimey! (16/07/2015)
.Net Core Blimey! (16/07/2015)
 
.net Core Blimey - Smart Devs UG
.net Core Blimey - Smart Devs UG.net Core Blimey - Smart Devs UG
.net Core Blimey - Smart Devs UG
 
Future of .NET - .NET on Non Windows Platforms
Future of .NET - .NET on Non Windows PlatformsFuture of .NET - .NET on Non Windows Platforms
Future of .NET - .NET on Non Windows Platforms
 
ASP.NET 5 - Microsoft's Web development platform reimagined
ASP.NET 5 - Microsoft's Web development platform reimaginedASP.NET 5 - Microsoft's Web development platform reimagined
ASP.NET 5 - Microsoft's Web development platform reimagined
 
ASP.NET vs ASP.NET Core
ASP.NET vs ASP.NET CoreASP.NET vs ASP.NET Core
ASP.NET vs ASP.NET Core
 
Academy PRO: .NET Core intro
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core intro
 
.Net platform .Net core fundamentals
.Net platform .Net core  fundamentals.Net platform .Net core  fundamentals
.Net platform .Net core fundamentals
 
.NET MeetUp Amsterdam 2017 - .NET Standard -- Karel Zikmund
.NET MeetUp Amsterdam 2017 - .NET Standard -- Karel Zikmund.NET MeetUp Amsterdam 2017 - .NET Standard -- Karel Zikmund
.NET MeetUp Amsterdam 2017 - .NET Standard -- Karel Zikmund
 
.NET (r)evolution
.NET (r)evolution.NET (r)evolution
.NET (r)evolution
 
ASP.NET Core 101
ASP.NET Core 101ASP.NET Core 101
ASP.NET Core 101
 
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
 
Angular on ASP.NET MVC 6
Angular on ASP.NET MVC 6Angular on ASP.NET MVC 6
Angular on ASP.NET MVC 6
 
.NET Core Blimey! (dotnetsheff Jan 2016)
.NET Core Blimey! (dotnetsheff Jan 2016).NET Core Blimey! (dotnetsheff Jan 2016)
.NET Core Blimey! (dotnetsheff Jan 2016)
 
1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)
 

Plus de Wyn B. Van Devanter

Plus de Wyn B. Van Devanter (9)

Container orchestration overview
Container orchestration overviewContainer orchestration overview
Container orchestration overview
 
Developer workflow with docker
Developer workflow with dockerDeveloper workflow with docker
Developer workflow with docker
 
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
AWS Elastic Container Service (ECS) with a CI Pipeline OverviewAWS Elastic Container Service (ECS) with a CI Pipeline Overview
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
 
Benefits from AATs
Benefits from AATsBenefits from AATs
Benefits from AATs
 
Developer workflow with docker
Developer workflow with dockerDeveloper workflow with docker
Developer workflow with docker
 
Testable requirements
Testable requirementsTestable requirements
Testable requirements
 
Performance tuning an Object-Relational Mapper (ORM)
Performance tuning an Object-Relational Mapper (ORM)Performance tuning an Object-Relational Mapper (ORM)
Performance tuning an Object-Relational Mapper (ORM)
 
Automated Acceptance Test Practices and Pitfalls
Automated Acceptance Test Practices and PitfallsAutomated Acceptance Test Practices and Pitfalls
Automated Acceptance Test Practices and Pitfalls
 
Automated Acceptance Tests in .NET
Automated Acceptance Tests in .NETAutomated Acceptance Tests in .NET
Automated Acceptance Tests in .NET
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

.Net Core 1.0 vs .NET Framework

  • 1. .NET Core vs .NET Framework Wyn Van Devanter @wynv wyn.vandevanter@excella.com
  • 2. Core  Rewrite of the .NET components  .NET Core 5 -> .NET Core 1.0  ASP.NET 5 -> ASP.NET Core 1.0  Entity Framework 7 -> Entity Framework Core 1.0  .NET Framework is not going away  Tried and true
  • 3. Open Source  https://github.com/dotnet/core  https://github.com/aspnet/home  https://github.com/aspnet/EntityFramework
  • 4. Cross-platform support Developers can target a single common set of libraries that are supported by multiple platforms  Windows  OS X  Linux  Docker (Linux, Docker for Window Server)
  • 5. Cross-platform development experience Developers can build applications from various platforms  Windows  OS X  Linux
  • 6. Minimal Dependencies  Use only the libraries you need within an application  The libraries (CoreFX) have been built to have minimal dependencies
  • 7. Minimal Dependencies - Benefits  More modular  Reduced impact of upgrades since only those packages used are affected.  Smaller footprint  Great for  mobile apps that need a small footprint  cloud-based apps that need many small applications running side-by- side
  • 8. .NET CLI  DNX merged into the CLI
  • 10. SOURCE: An update on ASP.NET Core 1.0 RC2, Scott Hanselman
  • 11. .NET Core landscape .NET Core Description Key Components ASP.NET 5 to ASP.NET Core 1.0 •Cross-platform •Runs on top of .NET Core or the full .NET Framework 4.6 N/A Entity Framework 7 to Entity Framework Core 1.0 •Lightweight rewrite of Microsoft’s ORM •Built to work well in the cloud, various devices, and traditional .NET applications N/A .NET Core 5 to .NET Core 1.0 •Modular, cross-platform rewrite •Some shared functionality •Some missing, (i.e. library for working with XAML-based UIs) •Some added (i.e. cross-platform functionality) •CoreCLR: runtime •CoreFX: libraries •CoreRT: .NET Native runtime •CLI: command-line interface DNX into CLI Cross-platform command-line interface for creating and managing .NET projects N/A
  • 12. ASP.NET performance ASP.NET 4.6 perfsvr 57,843 32 threads, 256 connections Generic reusable handler, unused IIS modules removed CPU is 100%, almost exclusively in user mode NodeJS perfsvr 106,479 32 threads, 256 connections The actual TechEmpower NodeJS app CPU is 100%, almost exclusively in user mode NodeJS perfsvr2 (Linux) 127,017 32 threads, 512 connections The actual TechEmpower NodeJS app CPU is 100%, almost exclusively in user mode ASP.NET Core on Kestrel perfsvr 228,062 32 threads, 256 connections Middleware class, multi IO thread CPU is 100% Scala - Plain perfsvr 176,509 32 threads, 1024 connections The actual TechEmpower Scala Plain plaintext app CPU is 68%, mostly in kernel mode Netty perfsvr 447,993 32 threads, 256 connections The actual TechEmpower Netty app CPU is 100% SOURCE: https://github.com/aspnet/benchmarks
  • 13. Summary  .NET Core 1.0 (renamed from .NET Core 5)  ASP.NET Core 1.0 (renamed from ASP.NET 5)  Entity Framework 1.0 (renamed from EF 7)  .NET Framework 4.6.1  ASP.NET 4.6  Entity Framework 6.1.3
  • 14. Resources  My blog article, https://www.excella.com/insights/demystifying-key- differences-in-net-core-1-0-vs-net-framework  The .NET Core CLI documentation on the GitHub site  NET Docs – Introducing .NET Core  This excellent blog post from Scott Hanselman about the .NET toolchain  A blog explaining the rename by Jeffrey T. Fritz  For more in-depth information on the name and version changes, and on the components of .NET Core such as the CoreCLR and CLI, watch the NET Community Standup from January 19th, 2016 where are explained well by Damian Edwards  MSDN Magazine – .NET Core – .NET Goes Cross-Platform with .NET Core