SlideShare a Scribd company logo
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Build
Performance
Global Tools
Span<T>,
Memory<T>
and friends
Whats New in ASP.NET Core
Whats New in ASP.NET Core
var arr = new byte[10];
Span<byte> bytes = arr; // Implicit cast from T[] to Span<T>
Span<byte> slicedBytes = bytes.Slice(start: 5, length: 2);
slicedBytes[0] = 42;
slicedBytes[1] = 43;
Assert.Equal(42, slicedBytes[0]);
Assert.Equal(43, slicedBytes[1]);
Assert.Equal(arr[5], slicedBytes[0]);
Assert.Equal(arr[6], slicedBytes[1]);
slicedBytes[2] = 44; // Throws IndexOutOfRangeException
bytes[2] = 45; // OK
Assert.Equal(arr[2], bytes[2]);
Assert.Equal(45, arr[2]);
[coreclr example
https://blogs.msdn.microsoft.com/dotnet/2018/04/18/performance-improvements-in-net-core-2-1/
private static readonly StringBuilder s_builder = new StringBuilder();
public void StringBuilderAppend()
{
StringBuilder sb = s_builder;
sb.Length = 0;
for (int i = 0; i < 100_000; i++)
sb.Append(i);
}
Toolchain Mean Allocated
.NET Core 2.0 6.523 ms 3992000 B
.NET Core 2.1 3.268 ms 0 B
public string StringToLowerChangesNeeded() =>
"This is a test to see what happens when we call ToLower.".ToLower();
public string StringToLowerAlreadyCased() =>
"this is a test to see what happens when we call tolower.".ToLower();
Method Toolchain Mean Allocated
StringToLowerChangesNeeded .NET Core 2.0 187.00 ns 144 B
StringToLowerChangesNeeded .NET Core 2.1 96.29 ns 144 B
StringToLowerAlreadyCased .NET Core 2.0 197.21 ns 144 B
StringToLowerAlreadyCased .NET Core 2.1 68.81 ns 0 B
“Using the same-size server, we were able to go from 1,000 requests per
second per node with Node.js to 20,000 requests per second with .NET Core.“
— Raygun
https://www.microsoft.com/net/customers
Data sourced from official tests available at TechEmpower Round 16.
Java Servlet .NET Core Node.js
6.97M
requests / sec2.55M
requests / sec
0.82M
requests / sec
2.6MM
599K
97K
2.9MM
662K
216K
-
500,000
1,000,000
1,500,000
2,000,000
2,500,000
3,000,000
1 2 3
RUNTIME PERFORMANCE
Series1 Series2
Data sourced from tests in our labs on same hardware as TechEmpower
SignalR
Razor class
libraries
Identity UI library
& scaffolding
HTTPS
GDPR
MVC functional
testing
[ApiController],
ActionResult<T>
IHttpClientFactory
Kestrel on Sockets
Generic host
builder
Performance
Updated SPA
templates
Whats New in ASP.NET Core
• Add real-time web functionalities easily with Azure and .NET Core 2.1
• Enable via “services.AddSignalR().AddAzureSignalR()”
Fully managed service
No more worries about capacity provisioning, scaling,
or persistent connections
Use ASP.NET Core SignalR to build real-time experiences
such as chat, stock tickers, live dashboards, and instant
broadcasting
</>
Native SignalR development
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
.NET
ASP.NET Core 2.2
Preview 2
https://www.microsoft.com/net/download/dotnet-core/2.2
https://visualstudio.com/preview/
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
APIs are everywhere!
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
https://github.com/aspnet/SignalR-samples/tree/master/AndroidJavaClient
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Whats New in ASP.NET Core
Install the .NET Core 2.2
Preview 2 SDK
https://www.microsoft.com/net/download/dotnet-core/2.2
.NET
Whats New in ASP.NET Core
.cs
.cshtml
BROWSER
WebAssembly
(mono.wasm)
.NET
(mscorlib.dll,
System.Core.dll,…)
App.dll
Compile to .NET
assemblies
Whats New in ASP.NET Core
Try it out!
https://blazor.net
Whats New in ASP.NET Core
What's New in ASP.NET Core? - .NET Conf 2018
All presentation links (Scan QR Code
Whats New in ASP.NET Core

More Related Content

PDF
Anatomy of an action
PDF
Qsam simulator in IBM Quantum Lab cloud
DOCX
PDF
Quantum circuit example in Qiskit
PDF
Azure Quantum with IBM Qiskit and IonQ QPU
PPTX
Al around ML 2017, Оксана Савенко, студентка НТУ имени Каразина
PDF
Azure quantum workspace
KEY
Git使用
Anatomy of an action
Qsam simulator in IBM Quantum Lab cloud
Quantum circuit example in Qiskit
Azure Quantum with IBM Qiskit and IonQ QPU
Al around ML 2017, Оксана Савенко, студентка НТУ имени Каразина
Azure quantum workspace
Git使用

What's hot (18)

PDF
Cooling Project Data
PDF
Hacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech Talk
KEY
Cloud Services - Gluecon 2010
PPTX
Android getting started
PPTX
Weather of the Century: Design and Performance
PDF
An High Available Database for OpenStack Cloud Production by Pacemaker, Coros...
PDF
20140513_jeffyang_demo_openstack
PDF
Test Automation Using Googletest
PPTX
The Weather of the Century Part 2: High Performance
PDF
人間では判定できない101すくみじゃんけんをコンピュータに判定させたい for Keras.js
PDF
SqliteToRealm
PDF
com architecture
PPTX
DataStax: An Introduction to DataStax Enterprise Search
PPTX
Autoscale good parts
PPTX
Triggers In MongoDB
PPTX
1404 app dev series - session 8 - monitoring & performance tuning
PDF
Dapper & Dapper.SimpleCRUD
PPTX
Python database interfaces
Cooling Project Data
Hacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech Talk
Cloud Services - Gluecon 2010
Android getting started
Weather of the Century: Design and Performance
An High Available Database for OpenStack Cloud Production by Pacemaker, Coros...
20140513_jeffyang_demo_openstack
Test Automation Using Googletest
The Weather of the Century Part 2: High Performance
人間では判定できない101すくみじゃんけんをコンピュータに判定させたい for Keras.js
SqliteToRealm
com architecture
DataStax: An Introduction to DataStax Enterprise Search
Autoscale good parts
Triggers In MongoDB
1404 app dev series - session 8 - monitoring & performance tuning
Dapper & Dapper.SimpleCRUD
Python database interfaces
Ad

Similar to Whats New in ASP.NET Core (20)

PPTX
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor a...
PDF
Big Data Tools in AWS
PDF
Spark SQL Catalyst Code Optimization using Function Outlining with Kavana Bha...
PPTX
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
PPT
DotNet Introduction
PDF
.NET 7 Performance Improvements_10_03_2023.pdf
PDF
SparkSQL: A Compiler from Queries to RDDs
PDF
6 tips for improving ruby performance
PDF
Divide and Conquer – Microservices with Node.js
PDF
The Pill for Your Migration Hell
PPTX
Performance eng prakash.sahu
PPTX
Iron python
PDF
Ice mini guide
PPTX
What's new in Web Development with ASP.NET Core 2.1
PDF
Time series denver an introduction to prometheus
PDF
LSFMM 2019 BPF Observability
PPSX
Pro Techniques for the SSAS MD Developer
PPTX
Windows Azure Acid Test
PPTX
Real World Lessons on the Pain Points of Node.JS Application
PPTX
Up and Running with Angular
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor a...
Big Data Tools in AWS
Spark SQL Catalyst Code Optimization using Function Outlining with Kavana Bha...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
DotNet Introduction
.NET 7 Performance Improvements_10_03_2023.pdf
SparkSQL: A Compiler from Queries to RDDs
6 tips for improving ruby performance
Divide and Conquer – Microservices with Node.js
The Pill for Your Migration Hell
Performance eng prakash.sahu
Iron python
Ice mini guide
What's new in Web Development with ASP.NET Core 2.1
Time series denver an introduction to prometheus
LSFMM 2019 BPF Observability
Pro Techniques for the SSAS MD Developer
Windows Azure Acid Test
Real World Lessons on the Pain Points of Node.JS Application
Up and Running with Angular
Ad

More from Jon Galloway (12)

PPTX
What's new in Visual Studio for Mac for .NET Developers
PPTX
.NET Core Today and Tomorrow
PPTX
ASP.NET Core 3.0 Deep Dive
PPTX
What you need to know about .NET Core 3.0 and beyond
PPTX
Techorama 2019 - ASP.NET Core One Hour Makeover
PPTX
Keynote: Hijacking Boring Sounding Things Like Foundations and Maturity Model...
PPTX
What's New in ASP.NET Core 2.0
PPTX
[NDC Oslo 2017] Open Source Software Foundations: Not Totally Boring, Actuall...
PPTX
learning to love html and css
PPTX
Pragmatic JavaScript (DevConnections 2011)
PPTX
SoCal Code Camp 2011 - ASP.NET MVC 4
PPTX
SoCal Code Camp 2011 - ASP.NET 4.5
What's new in Visual Studio for Mac for .NET Developers
.NET Core Today and Tomorrow
ASP.NET Core 3.0 Deep Dive
What you need to know about .NET Core 3.0 and beyond
Techorama 2019 - ASP.NET Core One Hour Makeover
Keynote: Hijacking Boring Sounding Things Like Foundations and Maturity Model...
What's New in ASP.NET Core 2.0
[NDC Oslo 2017] Open Source Software Foundations: Not Totally Boring, Actuall...
learning to love html and css
Pragmatic JavaScript (DevConnections 2011)
SoCal Code Camp 2011 - ASP.NET MVC 4
SoCal Code Camp 2011 - ASP.NET 4.5

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
A Presentation on Artificial Intelligence
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Cloud computing and distributed systems.
PDF
Empathic Computing: Creating Shared Understanding
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Approach and Philosophy of On baking technology
Review of recent advances in non-invasive hemoglobin estimation
Understanding_Digital_Forensics_Presentation.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Mobile App Security Testing_ A Comprehensive Guide.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Per capita expenditure prediction using model stacking based on satellite ima...
A Presentation on Artificial Intelligence
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Monthly Chronicles - July 2025
Cloud computing and distributed systems.
Empathic Computing: Creating Shared Understanding
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
MYSQL Presentation for SQL database connectivity
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Approach and Philosophy of On baking technology

Whats New in ASP.NET Core