ASP.NET Core* in 2017 The Future of Web Apps Shahed Chowdhuri

Slides:



Advertisements
Similar presentations
02 | New Features for Web Developers Susan Ibach| Technical Evangelist Christopher Harrison | Head Geek.
Advertisements

The Future of Web WakeUpAndCode.com.
Meet Jeremy Thake Jeremy recently joined Microsoft as Technical Product Manager for the Visual Studio Developer story for Office 365 development.
Multiple Framework Targeting Split View CSS Task Panes.
ASP.NET vNEXT & development tools Marco De
08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
02 | Introduction to Express Framework Stacey Mulcahy | Technical Evangelist Rami Sayar | Technical Evangelist.
Cloud Roadshow. Getting Started with the Office 365 APIs.
06 | Debugging and Deploying on Azure Stacey Mulcahy | Technical Evangelist Rami Sayar | Technical Evangelist.
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core * aka ASP.NET 5 before.
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core RC2 * aka ASP.NET 5 before.
ASP.NET Core* 1.0 The Future of Web Apps Shahed Chowdhuri
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core * aka ASP.NET 5 before.
03 | The Power of Visual Studio Jon Galloway | Technical Evangelist Christopher Harrison | Content Developer.
Modernizing your. NET applications with. NET Standard,
Build and Learn ASP.NET Workshop.
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Introduction to ASP.NET Core
Windows Azure Jeffrey Ferman Program Manager 3-006
ASP.NET Core: Web apps, cloud apps, and containers
TechEd /1/2018 7:56 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
The Future of C# The Future of C# and VB 2-577
ASP.NET Core 2.0 Fundamentals
The Modern ASP.NET Tech Stack!
ASP.NET Core* 1.0 The Future of Web Apps Shahed Chowdhuri
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Modern Front-End Web Development with Visual Studio
DNN Connect 2017 Microsoft Keynote
Entity Framework Core*
Microsoft Build /8/2018 3:30 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Build /11/2018 2:12 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
Building Modern Web Apps with ASP.NET MVC 6
11/18/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Office 365 Development July 2014.
ASP.NET Roadmap Mike Ormond Developer & Platform Group Microsoft Ltd
What’s new in Visual Studio for web developers
Visual Studio 2013 for web developers
Microsoft Ignite /28/2018 8:58 AM
Working with different JavaScript frameworks and libraries
Getting started with SharePoint Framework
A Quick Overview of ASP.NET Core 1.0
12/2/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Tech·Ed North America /2/2019 4:47 PM
Jim Nakashima Program Manager Cloud Tools
ASP.NET Core* MVC and Web API Shahed Chowdhuri
Tech for Startups By Shahed Chowdhuri Sr. Technical Evangelist
TechEd /22/2019 9:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Development.
What is Visual Studio Code?
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
ASP.NET Roadmap: One ASP.NET – Web Forms, MVC, Web API, and more
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
Azure Mobile Services in the Cloud
Capturing Your Audience with Kinect
Deploy Your Web Site/App on Azure
Tech Ed North America /12/2019 6:45 AM Required Slide
Understand design from code with code maps
Brandon Bray Principal Group Program Manager Microsoft Corporation
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
The complete developer's guide to the SkyDrive API
ASP.NET Roadmap: One ASP.NET – Web Forms, MVC, Web API, and more
Build /15/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
7/19/2019 2:53 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Getting Productive with ASP.NET MVC 3
Erik Porter Program Manager ASP.NET Microsoft Corporation
Intro to HoloLens Development
ASP.NET Core 2.0 The Future of Web Apps Shahed Chowdhuri
What’s ASP.NET 5 and Why? Scott Hunter | Director of Program Management Scott Hanselman | Principal Program Manager.
Presentation transcript:

ASP.NET Core* in 2017 The Future of Web Apps Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft @shahedC WakeUpAndCode.com * aka ASP.NET 5 before RC1

Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Q&A Agenda

Introduction Introduction

Sources MSDN Blogs, Feb 2015 Update asp.net/vNext https://channel9.msdn.com Scott Guthrie’s Blog dotnetConf 2015 on MSDN Ch9

Blog Posts in 2016 Community Standup Notes: https://blogs.msdn.microsoft.com/webdev/ RC2: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx

Blogs To Read in 2017 Community Standup Notes: https://blogs.msdn.microsoft.com/webdev/ Scott Hanselman’s Blog: https://www.hanselman.com/blog/

Visual Studio 2017 Launch Videos https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch?sort=viewed&direction=asc

Build Conference http://build.microsoft.com

Docs + Tutorials Docs: https://blogs.msdn.microsoft.com/webdev/2017/02/07/asp-net-documentation-now-on-docs-microsoft-com/ Tutorials: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/

.NET Core for Cross-Platform Dev Info and Downloads: https://www.microsoft.com/net

ASP.NET Core 1.0 Info and Downloads: http://www.asp.net/

.NET Across Windows/Web Platforms Source: http://blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx

Evolution of ASP and ASP .NET Web API Active Server Pages (Classic ASP) (Web Forms) MVC 1/2/3/4/5 Web Pages MVC 6 Core MVC Unified MVC, Web API and Web Pages ASP.NET Web API Active Server Pages (Classic ASP) (Web Forms) MVC 1/2/3/4/5 Web Pages MVC 6 Unified MVC, Web API and Web Pages

Names & Version Numbers C# 7.0 .NET Framework 4.6 ASP.NET 5 Core 1.x (runs on .NET Core 5 1.x or .NET Framework 4.5.2+) ASP.NET MVC 6 Core MVC .NET Core 5 .NET Core 1.x SignalR C# 6.0 .NET Framework 4.6 ASP.NET 5 (runs on .NET Core 5 or .NET Framework 4.5.2+) ASP.NET MVC 6 .NET Core 5 SignalR 3

C# 7.0 in VS2017 https://docs.microsoft.com/en-us/dotnet/articles/csharp/csharp-7

ASP.NET Core Roadmap https://github.com/aspnet/Home/wiki/Roadmap

ASP.NET Core 1.1 Update https://blogs.msdn.microsoft.com/dotnet/2017/01/30/january-2017-update-for-asp-net-core-1-1/

.NET Core Roadmap https://github.com/dotnet/core/blob/master/roadmap.md

.NET Core 2.0 (May 2017) https://github.com/dotnet/corefx/milestone/4

Announcing .NET Core Tools Updates in VS 2017 RC https://blogs.msdn.microsoft.com/dotnet/2017/02/07/announcing-net-core-tools-updates-in-vs-2017-rc/

.NET Standard Library + Tooling Source: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx

Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Q&A Agenda

.NET Framework & .NET Core Variables, Operators & Loops

.NET in 2015: High-Level Overview

ASP.NET Core High-Level Overview

Compilation Process

What About .NET Framework 4.6? Core is

ASP .NET Core ASP .NET 5.0

ASP.NET Core 1.x Features

ASP.NET Core Summary

Relevant XKCD Comic Source: https://xkcd.com/303/

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail 9/29/2017 ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development .NET Core or full .NET Framework .NET Core is cross-platform Deploy Core runtime with app No need for unused features Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Unified: MVC Web API Web Pages Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail HTML Helpers in your views! Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Edit code Save changes Refresh browser See changes! Compiled language with benefits of interpreted language! Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower  client-side pkg mgr e.g. JS, CSS Grunt & Gulp  task runners compile LESS/CoffeeScript, Typescipt run JSLint minify JS files Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Manage dependencies with NuGet packages Edit project.json file (?) Enjoy IntelliSense! Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Configuration in code Edit Startup.cs file No need to use Web.config Use JSON, XML, env vars Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) minimalistic DI container replace with others Autofac, Ninject, etc use [FromServices] attribute Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development New HTTP pipeline modular add components as needed no longer dependent on System.Web Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) GitHub! Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Post-RC2 Tooling Changes Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) ASP.NET Core Preview Templates Empty Starter Web Web API Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Open ID Connect OAuth2 Template auth logic based on OWIN and Open ID Connect (not WIF) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) More granular control (than HttpClientHandler) over individual aspects of HTTP redirects, auth, cookies, etc Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

ASP.NET Core Features in Detail Flexible, Cross Platform runtime Unified Programming Model Tag Helpers Dynamic Development Bower, Grunt, Gulp Simplified Dependency Mgmt Cloud-Ready Config Dependency Injection (DI) Fast HTTP Performance Open Source New Project Templates Identity Updates Command Line Tools New HTTP client-role API

How about Entity Framework? DB ORM Entities in Code Core )

Visual Studio 2017 ASP .NET 5.0

New Installer!

File  New Project  Web Web App (4.x) Core Web App (.NET Core) Core Web App (.NET framework)

Select a Template 1.0 and 1.1 Templates Empty Web API Web Application

Startup.cs Configuration

project.json

.csproj project file

Right-click  (Project) Properties

Choose Profile While Debugging

New Razor Pages! http://www.hishambinateya.com/welcome-razor-pages

New: Live Unit Testing https://blogs.msdn.microsoft.com/visualstudio/2016/11/18/live-unit-testing-visual-studio-2017-rc/

DEMO

Migrating from MVC to MVC Core https://docs.microsoft.com/en-us/aspnet/core/migration/mvc

Visual Studio Code Download: https://code.visualstudio.com

.NET Version Manager (DNVM) (OBSOLETE) .NET SDK Version Manager Formerly KVM Get list of DNXs (aka KRE) GitHub: https://github.com/aspnet/dnvm

Tooling Changes and NETStandard

dotnet/cli on GitHub This repo contains the .NET Core command- line (CLI) tools, used for building .NET Core apps and libraries. GitHub: https://github.com/dotnet/cli

References ASP.NET vNext: http://asp.net/vnext Intro: https://weblogs.asp.net/scottgu/introducing-asp-net-5 Feb 2015 Updates: http://blogs.msdn.com/b/webdev/archive/2015/02/23/aspnet-5-updates- for-feb-2015.aspx dotnetConf March 2015: https://channel9.msdn.com/Events/dotnetConf/2015 Build 2015: https://channel9.msdn.com/Events/Build/2015 Understanding .NET 2015: http://blogs.msdn.com/b/bethmassi/archive/2015/02/25/understanding-net-2015.aspx Grunt & Bower: http://www.asp.net/vnext/overview/aspnet-vnext/grunt-and-bower-in-visual- studio-2015 Tutorial: http://www.asp.net/vnext/overview/aspnet-vnext/vc ASP.NET Community Standup Notes: https://blogs.msdn.microsoft.com/webdev/ Update on ASP.NET RC2: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx Additional Tutorials: See Starter Web Project Template

Other Resources Roadmap: https://github.com/aspnet/Home/wiki/Roadmap ASP.NET Identity: http://www.asp.net/identity/overview/getting- started/introduction-to-aspnet-identity KRE, KVM, KPM: http://gunnarpeipman.com/2014/10/asp-net-5-what- are-kre-kvm-kpm/ Grunt, JS Task Runner: http://gruntjs.com/ Gulp, Workflow Automation: http://gulpjs.com/ Bower, Package Manager: http://bower.io/ npm, Node Package Manager: https://www.npmjs.com/

Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Q&A Agenda

Q & A Additional Topics

Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Q&A Agenda

Contact Microsoft email: shchowd@microsoft.com Personal Twitter: @shahedC Dev Blog: WakeUpAndCode.com Email: shchowd@microsoft.com  Twitter: @shahedC