The Modern ASP.NET Tech Stack! 6/19/2018 10:55 AM THR2144 The Modern ASP.NET Tech Stack! Sam Basu | @samidip Telerik Developer Advocate | Progress © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
When did Web dev get so hard? 6/19/2018 10:55 AM When did Web dev get so hard? © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6/19/2018 10:55 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Let’s make a beautiful Web ASP.NET | Frameworks | Tooling | Simplicity © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Let’s talk .NET & Tooling Progress
COMMON INFRASTRUCTURE 6/19/2018 10:55 AM .NET – The Big Picture .NET FRAMEWORK WINDOWS APPLICATIONS .NET CORE CROSS-PLATFORM SERVICES MOBILE APPLICATIONS XAMARIN TOOLS Visual Studio .NET STANDARD LIBRARY Visual Studio for Mac Visual Studio Code COMMON INFRASTRUCTURE $_ Compilers Languages Runtime components Command Line © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Meet .NET Core 2.0 Everything begins @ http://dot.net 6/19/2018 10:55 AM Meet .NET Core 2.0 Everything begins @ http://dot.net .NET Core is lean, modular & sports a X-Platform CLR Fastest .NET ever Much wider API surface area Tooling is mature now CLI & Visual tooling given equal preference Simplified project portability amongst CLI & VS family Comes with .NET Standard 2.0 support © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Better Unification & Portability 6/19/2018 10:55 AM Better Unification & Portability © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
A Grown-Up CLI dotnet new dotnet restore dotnet build dotnet run 6/19/2018 10:55 AM A Grown-Up CLI dotnet new dotnet restore dotnet build dotnet run dotnet test dotnet pack dotnet publish $_ New Commands/Parameters | Easy Extensibility © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Few Things in ASP.NET Core Progress
6/19/2018 10:55 AM Welcome to ASP.NET Core 2.0 One of the fastest full-featured Web frameworks Full support for .NET Core 2.0 Backward compatibility on .NET Framework 4.6.1 Combined MVC and Web API stack Super fast API backend for Mobile apps New Razor Pages support New project templates Improved Logging, App Insight & Azure tooling © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6/19/2018 10:55 AM Love thy .NET APIs? © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
ASP.NET Core 2.0 Out of The Box!
Introducing Razor Pages! New feature in ASP.NET Core MVC Auto-enabled for simple page-focused scenarios Directive turns Pages into MVC Actions .. Handles requests directly Skips the Controller orchestration .. Between MVC & MVVM patterns CSHTML View with optional Code-behind Razor syntax, TagHelpers and MVC validations built-in PageModel contains Handlers to support HTTP verbs Simple convention-based routing .. Served from Pages directory
Razor sharp simplicity!
WebForms & Migration WebForms isn’t dead .. just not in ASP.NET Core WebForms gets HTTP2 and Model Binding support WebForms > MVC > Core No magic wand for migration to ASP.NET Core .. but there is some help Evaluate .NET Standard compatibility, API usage and benefits API Port | .NET Portability Analyzer | I Can Has .NET Core
ASP.NET Core WebAPI .. For MBaaS
Holy Package Managers! Progress
Let’s talk JavaScript! Progress
Holy SPA Templates!
Who needs Build Automation? Progress
Need some UI? Progress
Complete Rich .NET Toolbox Any App | Any Platform Progress
The Modern ASP.NET Tech Stack! 6/19/2018 10:55 AM The Modern ASP.NET Tech Stack! Thank You! Let’s keep chatting - @samidip © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Please evaluate this session Tech Ready 15 6/19/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite https://myignite.microsoft.com/evaluations Phone: download and use the Microsoft Ignite mobile app https://aka.ms/ignite.mobileapp Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.