/
By Shahed Chowdhuri Sr. Technical Evangelist By Shahed Chowdhuri Sr. Technical Evangelist

By Shahed Chowdhuri Sr. Technical Evangelist - PowerPoint Presentation

giovanna-bartolotta
giovanna-bartolotta . @giovanna-bartolotta
Follow
345 views
Uploaded On 2019-06-29

By Shahed Chowdhuri Sr. Technical Evangelist - PPT Presentation

ASP NET 5 aka ASP NET vNext The Future of Web Apps shahedC WakeUpAndCodecom Agenda Introduction Sources aspnet vNext Scott Guthries Blog MSDN Blogs Feb 2015 Update dotnetConf ID: 760563

http net dependency asp net http asp dependency bower api project grunt identity open cross unified gulp platform client

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "By Shahed Chowdhuri Sr. Technical Evange..." 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.


Presentation Transcript

Slide1

By Shahed ChowdhuriSr. Technical Evangelist

ASP .NET 5 (aka ASP .NET vNext)

The Future of Web Apps

@shahedC

WakeUpAndCode.com

Slide2

Agenda

Slide3

Introduction

Slide4

Sources

asp.net/

vNext

Scott Guthrie’s Blog

MSDN Blogs, Feb 2015 Update

dotnetConf

2015 on MSDN Ch9

(Coming Soon!)

Slide5

.NET Across Windows/Web Platforms

Source:

http://

blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx

Slide6

Evolution of ASP and ASP .NET

ASP.NET

Web API

Active Server Pages(Classic ASP)

ASP.NET(Web Forms)

ASP.NETMVC1/2/3/4/5

ASP.NETWeb Pages

ASP.NET

MVC

6

Unified MVC, Web API and Web Pages

Slide7

Names & Version Numbers

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

Slide8

Agenda

Slide9

.NET Framework

& .NET Core

Slide10

.NET 2015: High-Level Overview

Slide11

.NET Core & App Models

Slide12

Compilation Process

Slide13

What About .NET Framework 4.6?

Slide14

ASP .NET 5.0

Slide15

ASP.NET 5.0 Overview

Slide16

ASP.NET 5.0 Summary

Slide17

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

Slide18

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

.NET Cor

e or full .NET Framework

.NET Core is cross-platform

Deploy Core runtime with app

No need for unused features

Slide19

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

Unified:

MVC

Web API

Web Pages

Slide20

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

HTML Helpers in your views!

Slide21

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

Edit code

Save changes

Refresh browser

See changes!

Compiled language with benefits of interpreted language!

Slide22

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

Bower

 client-side

pkg

mgr

e.g. JS, CSS

Grunt & Gulp  task runners

compile LESS/

CoffeeScript

,

Typescipt

run

JSLint

minify JS files

Slide23

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

Manage dependencies with

NuGet

packages

Edit

project.json

file

Enjoy IntelliSense!

Slide24

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

Configuration in codeEdit Startup.cs fileNo need to use Web.configUse JSON, XML, env vars

Slide25

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

minimalistic DI container

replace with others

Autofac

,

Ninject

,

etc

use [Activate] attribute

Slide26

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

New HTTP pipelinemodularadd components as neededno longer dependent on System.Web

Slide27

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

GitHub!

Slide28

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

K Package Manager (KPM)

bundle application

build

NuGet

packages

build assemblies

Slide29

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

ASP.NET 5 Preview Templates

Empty

Starter Web

Web API

Slide30

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

Open ID Connect

OAuth2

Template

auth

logic based on OWIN and Open ID Connect (not WIF)

Slide31

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

More granular control (than

HttpClientHandler

) over individual aspects of HTTP

redirects,

auth

, cookies,

etc

Slide32

ASP.NET 5.0 Features

Flexible, Cross Platform runtime

MVC6 – 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

Command Line Tools

Identity Updates

New HTTP client-role API

Slide33

How about Entity Framework?

DB

ORM

Entities in Code

Slide34

Visual Studio 2015 Preview

Slide35

File  New Project  Web

Web App

Class Lib?

Console App?

Slide36

Select a Template

Slide37

Startup.cs

Configuration

Slide38

project.json

packages.config

not needed!

Slide39

Right-click  (Project) Properties

Application tab

Debug

tab

Use specific KRE version!

Slide40

Choose CLR Type While Debugging

Slide41

DEMO

Slide42

Beyond Visual Studio

Website:

http://www.omnisharp.net/ Cross-platform .NET development!No VS? No Windows? No problem!Sublime on MacOS! Emacs on Ubuntu!

https://github.com/aspnet/dnvm

/ .NET SDK Version ManagerFormerly KVMGet list of DNXs (aka KRE)

DNVM

Slide43

References

http

://asp.net/vnext

https://weblogs.asp.net/scottgu/introducing-asp-net-5

http://blogs.msdn.com/b/webdev/archive/2015/02/23/aspnet-5-updates-for-feb-2015.aspx

https://channel9.msdn.com/Events/dotnetConf/2015

http://

blogs.msdn.com/b/bethmassi/archive/2015/02/25/understanding-net-2015.aspx

http

://

www.asp.net/vnext/overview/aspnet-vnext/grunt-and-bower-in-visual-studio-2015

http://

www.asp.net/vnext/overview/aspnet-vnext/vc

Tutorials in Starter Web Template

Slide44

Other Resources

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

/

Slide45

Agenda

Slide46

Q & A

Slide47

Agenda

Slide48

Contact

Email: shchowd@microsoft.com  Twitter: @shahedC