Professional Documents
Culture Documents
NET Core
Challenges & Opportunities
Dino Esposito
@despos | facebook.com/naa4e
#NoEstimates
#LongWayToTipperary
#WorkInProgress
#PlansSubjectToChange
@despos | facebook.com/naa4e
.NET Core and friends
is more crucial for Microsoft
than the rest of us
@despos | facebook.com/naa4e
It’s a relevant update …
FOR
EVERYBODY?
@despos | facebook.com/naa4e
Migration?
Challenges Opportunities
MVC only • X-platform
C# only • Improved API
New API • Same MVC paradigm
New hosting model
No IIS-centrism
New .NET FX
YOU DECIDE.
@despos | facebook.com/naa4e
What We Have Now…
@despos | facebook.com/naa4e
T
EN
R .NET Framework
R
CU
ASP.NET
INTEGRATED PIPELINE
Web Web
MVC API
Forms
AD HOC
system.web
OWIN
IIS
@despos | facebook.com/naa4e
RE
TU .NET Framework
FU
ASP.NET
MVC
OWIN
INTEGRATION
WEB SERVER
@despos | facebook.com/naa4e
Changes
Tight coupling between ASP.NET and IIS
• Presented as a big win only a few years ago
Platform dependence
• Windows only
@despos | facebook.com/naa4e
When they took
SYSTEM.WEB apart …
@despos | facebook.com/naa4e
• From EMPTY to
FUNCTIONAL in Visual
Studio 2015
@despos | facebook.com/naa4e
ASP.NET CORE has a nice programming
interface and an interesting set of new
programming features.
@despos | facebook.com/naa4e
Would be the perfect vN+1
@despos | facebook.com/naa4e
It’s a complete change of platform and to
some extent also tools and habits
@despos | facebook.com/naa4e
Migration Facts
Find out who moved the cheese
• ASP.NET CORE has a high cost of setup
• Costs tend to zero over time
@despos | facebook.com/naa4e
Good Reasons
New runtime environment
• Unification of ASP.NET and WebAPI pipelines
• Old system.web dropped
• Memory footprint
@despos | facebook.com/naa4e
Microsoft’s Motivation
Taking more people to the cloud
@despos | facebook.com/naa4e
DECISION POINT
You and IIS
Having problems with IIS?
• Looking for Apache Server?
Some node.js nostalgia?
• Wishing to call yourself a "geek" again?
cmd.exe
C:\> _
@despos | facebook.com/naa4e
DECISION POINT
You and ASP.NET
Having problems with Web Forms?
• Looked into ASP.NET MVC and/or plain SPAs?
@despos | facebook.com/naa4e
There’s not much left that
can be added to ASP.NET
@despos | facebook.com/naa4e
What if you’re planning a
complete rewrite?
@despos | facebook.com/naa4e
What’s different?
Configuration, startup, pipeline
• Free IoC though
• Full rewrite of HTTP modules (including tools)
New ways of doing old things
• Core authentication (except Identity)
• Embedded resources
• Project management
Development experience
• Test, build, deploy, manage dependencies
@despos | facebook.com/naa4e
ASP.NET MVC
No support for Web Forms
@despos | facebook.com/naa4e
The underlying .NET
.NET Framework
• As above
@despos | facebook.com/naa4e
Plan moving to ASP.NET Core especially if
you’re experiencing any of the following:
@despos | facebook.com/naa4e
Inevitably the future.
But nobody knows when
the future will be.
@despos | facebook.com/naa4e