Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "ASP.NET Core* in 2017 The Future of Web Apps Shahed Chowdhuri"— Presentation transcript:

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

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

3 Introduction Introduction

4 Sources MSDN Blogs, Feb 2015 Update asp.net/vNext
Scott Guthrie’s Blog dotnetConf 2015 on MSDN Ch9

5 Blog Posts in 2016 Community Standup Notes: RC2:

6 Blogs To Read in 2017 Community Standup Notes: Scott Hanselman’s Blog:

7 Visual Studio 2017 Launch Videos

8 Build Conference

9 Docs + Tutorials Docs: Tutorials:

10 .NET Core for Cross-Platform Dev
Info and Downloads:

11 ASP.NET Core 1.0 Info and Downloads:

12 .NET Across Windows/Web Platforms
Source:

13 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

14 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 ) 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 ) ASP.NET MVC 6 .NET Core 5 SignalR 3

15 C# 7.0 in VS2017

16 ASP.NET Core Roadmap

17 ASP.NET Core 1.1 Update

18 .NET Core Roadmap

19 .NET Core 2.0 (May 2017)

20 Announcing .NET Core Tools Updates in VS 2017 RC

21 .NET Standard Library + Tooling
Source:

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

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

24 .NET in 2015: High-Level Overview

25 ASP.NET Core High-Level Overview

26 Compilation Process

27 What About .NET Framework 4.6?
Core is

28 ASP .NET Core ASP .NET 5.0

29 ASP.NET Core 1.x Features

30 ASP.NET Core Summary

31 Relevant XKCD Comic Source:

32 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

33 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.

34 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

35 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

36 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

37 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

38 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

39 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

40 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

41 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

42 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

43 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

44 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

45 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

46 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

47 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

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

49 Visual Studio 2017 ASP .NET 5.0

50 New Installer!

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

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

53 Startup.cs Configuration

54 project.json

55 .csproj project file

56 Right-click  (Project) Properties

57 Choose Profile While Debugging

58 New Razor Pages!

59 New: Live Unit Testing

60 DEMO

61 Migrating from MVC to MVC Core

62 Visual Studio Code Download:

63 .NET Version Manager (DNVM)
(OBSOLETE) .NET SDK Version Manager Formerly KVM Get list of DNXs (aka KRE) GitHub:

64 Tooling Changes and NETStandard

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

66 References ASP.NET vNext: http://asp.net/vnext
Intro: Feb 2015 Updates: for-feb-2015.aspx dotnetConf March 2015: Build 2015: Understanding .NET 2015: Grunt & Bower: studio-2015 Tutorial: ASP.NET Community Standup Notes: Update on ASP.NET RC2: Additional Tutorials: See Starter Web Project Template

67 Other Resources Roadmap: https://github.com/aspnet/Home/wiki/Roadmap
ASP.NET Identity: started/introduction-to-aspnet-identity KRE, KVM, KPM: are-kre-kvm-kpm/ Grunt, JS Task Runner: Gulp, Workflow Automation: Bower, Package Manager: npm, Node Package Manager:

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

69 Q & A Additional Topics

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

71 Contact Microsoft Personal Dev Blog: WakeUpAndCode.com


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

Similar presentations


Ads by Google