Daniel Roth Scott Hanselman B8001 NET Standard NET Standard allows sharing code binaries and skills between NET client server and all flavors NET Standard provides a specification for any platform to implement ID: 914863
Download Presentation The PPT/PDF document "Introducing ASP.NET Core 2.0" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Slide2Introducing ASP.NET Core 2.0
Daniel RothScott Hanselman
B8001
Slide3.NET Standard
.NET Standard allows sharing code, binaries, and skills between .NET client,
server, and all flavors
.NET Standard provides a specification for any platform to implement
All .NET runtimes provided by Microsoft implement the standard
WINDOWS
DESKTOP
WINDOWS UWP
CLOUD MICROSERVICES
IOS, ANDROID
.NET STANDARD
INFRASTRUCTURE
COMPILERS
LANGUAGES
RUNTIME COMPONENTS
GAMES/
3D
Visual Studio
Visual Studio Code
Visual Studio for Mac
Slide4Announcing .NET Standard 2.0 (Preview)
Has much bigger API surface
Extended to cover intersection between .NET Framework and
Xamarin
Also makes .NET Core 2.0 bigger as it implements .NET Standard 2.0~70%of NuGet
packages
are API compatible+20K
More APIs than.NET Standard 1.x
Can reference .NET Framework libraries
Compatibility shim allows referencing existing .NET Framework binaries
No recompile required – also covers existing
NuGet
packages
Limited to libraries that only use APIs that are available for .NET Standard
Slide5“Developer Delight” (remove papercuts)
Extending App Model
Performance
Better with Azure
ASP.NET Core 2.0 Preview - THEMES
Slide6Demo: ASP.NET Core 2.0 Preview 1
Slide7ASP.NET 4.6
(
WebForms
, MVC, Web API, Web Pages - present but separate)
ASP.NET = A unified web stack
ASP.NET Core 1.0
Web API + MVC
ASP.NET Core 2.0
Web API + MVC + Razor Pages
MVC
Web API
Web Pages
Web Forms
Slide8ASP.NET 4.6
(
WebForms
, MVC,
Web API, Web Pages)
ASP.NET = A unified web stack
ASP.NET Core 1.0
Web API+MVC
ASP.NET Core 2.0
Web API+MVC+Razor Pages
ASP.NET Core
vNext
Web API+MVC+Razor Pages+
SignalR
Slide9Demo: Razor Pages
Slide10Demo: Performance
Slide11ASP.NET 1.1 444,000
rps
ASP.NET 2.0.0 (current) 558,000
rps
Perf – Azure 4-core Ubuntu 16.04~25% faster!
Slide12Demo: Azure
Slide13Authorize
Token
Discovery
/
IdentityService
AccountController
Login.cshtml
Register.cshtml
HomeController
Identity
Store
App
Data
App + Identity
Store
Index.cshtml
_
Layout.cshtml
OpenID Connect
Azure AD B2C
ASP.NET Core Identity Service & Azure AD B2C
ASP.NET Core Web App
Slide14Resources
Try out new bits today
.NET Core
2.0 Preview 1
SDKhttp://www.tbd.comVS 2017 Update 3 Previewhttp://www.tbd.com.NET Architecturehttps://www.microsoft.com/net/architectureEditor Productivity & Refactoring Cheat Sheethttps://www.microsoft.com/net/architecture