.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!

Jon Galloway
Jon GallowayExecutive Director, .NET Foundation
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
.NET Core Today
Free. Cross-platform. Open source.
A developer platform for building all your apps.
www.dot.net
DESKTOP WEB CLOUD MOBILE GAMING IoT AI
.NET
Your platform for building anything
Any platform…
Visual Studio Code
Open source, cross-platform editor with .NET support.
Visual Studio
A fully-featured, integrated development environment (IDE) for developing .NET apps
on a Windows PC development machine.
Visual Studio for Mac
A fully-featured IDE for developing .NET apps on a Mac OS development machine.
www.VisualStudio.com
We didn’t build
this alone.
“Samsung is embracing .NET because it is a completely
open source project.” — Samsung
".NET is open source; that allows us to contribute back
to it if we have any performance issues which
Microsoft review and together we make a better
product.“ — Illyriad Games
16,000+ Community Contributions from 3000+ Companies outside Microsoft
https://www.cncf.io/blog/2017/06/05/30-highest-velocity-open-source-projects/
“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 15.
Java Servlet .NET Core Node.js
2.22M
requests / sec0.73M
requests / sec
0.53M
requests / sec
#2 demanded primary technology
(LinkedIn)
.NET is a sought after job skill
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
.NET Core 2.1
•June 2016.NET Core 1.0
•March 2017.NET Core 1.1
•August 2017.NET Core 2.0
•In preview now.NET Core 2.1
Build
Performance
Global Tools
Span<T>,
Memory<T>
and friends
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
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
HttpClientFactory
Razor UI in class
libraries
Identity UI as a
library
GDPR SignalR
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
Blazor
• Native performance
any language
all major browsers
PCWorld Medium Linux.com
http://www.mono-project.com/news/2018/01/16/mono-static-webassembly-compilation/
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
Web page title
http://www.url.com
Memory
Management
Garbage
Collection
Graphics
Subsystems
HTML,CSS,
Canvas,Web GL,
Audio,Video
Storage
Cookies,
IndexedDb,
File API
Threading
Web Workers
Events
DOM Events,
Callbacks
Network
WebSockets,
XHR, Offline,
Realtime
Security
Sandbox, SSL,
CORS
APIs
GeoLocation,
Sensors
.cs .cshtml
.NET Core build system +
custom Razor compiler
App.dll
WebAssembly / asm.js
IL interpreter (Mono)
threads, GC, etc.
JS bridge
corlib.dll
Blazor.Runtime.dll etc.
Visible DOM
BROWSERHowBlazorworks
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
Component
model
Routing Layouts
Forms and
validation
Dependency
injection
Live reload
JavaScript
interop
Server-side
rendering
Debugging
(browser &
IDE)
Rich
IntelliSense
and tooling
Fallback to
asm.js
Publishing
App size
trimming
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
• Feb
• March
• April
• May
• Easy to get started
• Stable and consistent
• Modern innovative languages
• Industry leading tools
• Fast and scalable
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
Get Started Today!
It’s all free!
Runs side-by-side
Low impact install / uninstall
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!
https://dot.net
https://aka.ms/dotnetcore21-getstarted
https://aka.ms/itkonekt-dotnet
Thanks!
Jon Galloway
jon.galloway@microsoft.com
@jongalloway
https://aka.ms/itkonekt-dotnet
1 of 43

More Related Content

Similar to .NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!

Net coreNet core
Net coreDamir Dobric
694 views50 slides

Similar to .NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!(20)

What should you know about Net Core?What should you know about Net Core?
What should you know about Net Core?
Damir Dobric319 views
Net coreNet core
Net core
Damir Dobric694 views
Corey.Berry.Portfolio.2016Corey.Berry.Portfolio.2016
Corey.Berry.Portfolio.2016
Corey Berry118 views
1..Net Framework Architecture-(c#)1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)
Shoaib Ghachi71 views
Whats New in ASP.NET CoreWhats New in ASP.NET Core
Whats New in ASP.NET Core
Jon Galloway335 views
Dot Net Project Mini GameDot Net Project Mini Game
Dot Net Project Mini Game
varun arora193 views
The Next Leap in JavaScript PerformanceThe Next Leap in JavaScript Performance
The Next Leap in JavaScript Performance
Intel® Software1.6K views
System development using visual studioSystem development using visual studio
System development using visual studio
jeff23_athisbest943 views
Azure IoT CentralAzure IoT Central
Azure IoT Central
Marco Parenzan125 views
Resume_engResume_eng
Resume_eng
vilas jadhav309 views
ASP.NET Core: The best of the new bitsASP.NET Core: The best of the new bits
ASP.NET Core: The best of the new bits
Ken Cenerelli1.6K views
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core intro
Binary Studio125 views
Node azureNode azure
Node azure
Emanuele DelBono1.6K views
OwOw
Ow
juanjoaloloco242 views

Recently uploaded(20)

ThroughputThroughput
Throughput
Moisés Armani Ramírez31 views
METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...
METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...
Prity Khastgir IPR Strategic India Patent Attorney Amplify Innovation24 views
The Research Portal of Catalonia: Growing more (information) & more (services)The Research Portal of Catalonia: Growing more (information) & more (services)
The Research Portal of Catalonia: Growing more (information) & more (services)
CSUC - Consorci de Serveis Universitaris de Catalunya59 views
Green Leaf Consulting: Capabilities DeckGreen Leaf Consulting: Capabilities Deck
Green Leaf Consulting: Capabilities Deck
GreenLeafConsulting177 views
Java Platform Approach 1.0 - Picnic MeetupJava Platform Approach 1.0 - Picnic Meetup
Java Platform Approach 1.0 - Picnic Meetup
Rick Ossendrijver24 views

.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!