Top Banner
Building Next Generation Web Apps and Services using ASP.NET 5
21

Building Next Generation Web Apps and Services using ASP.NET 5

Jan 21, 2018

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Building Next Generation Web Apps and Services using ASP.NET 5

Building Next Generation Web Apps and Services using ASP.NET 5

Page 2: Building Next Generation Web Apps and Services using ASP.NET 5

• Shravan Kumar Kasagoni

• Senior Development Engineer @ Pramati

• Microsoft MVP – ASP.NET/IIS

• http://theshravan.net

• https://flipboard.com/@techieshravan

• @techieshravan

Your Speaker

Page 3: Building Next Generation Web Apps and Services using ASP.NET 5

• Modern trends in web applications development

• Getting started with ASP.NET 5

• Resources

Agenda

Page 4: Building Next Generation Web Apps and Services using ASP.NET 5

ASP.NET History

2010• ASP.NET Web Pages

2012• ASP.NET Web API, SignalR

2015• ASP.NET 5

1996• Active Server Pages(ASP)

2002• ASP.NET

2008• ASP.NET MVC

Page 5: Building Next Generation Web Apps and Services using ASP.NET 5

What is ASP.NET 5?

Page 6: Building Next Generation Web Apps and Services using ASP.NET 5
Page 7: Building Next Generation Web Apps and Services using ASP.NET 5

Choose your Editors

and Tools

Open Source

with ContributionsCross-PlatformOSS

Seamless transition

from on-premises to cloud

Faster Development CycleTotally Modular

Fast

Page 8: Building Next Generation Web Apps and Services using ASP.NET 5

• Install ASP.NET with Visual Studio

• Install ASP.NET Standalone

Installing ASP.NET 5 On Windows

Page 9: Building Next Generation Web Apps and Services using ASP.NET 5

Install ASP.NET with Visual Studio

Install the latest version of Visual Studio 2015. While installing

Visual Studio 2015, be sure to specify that you want to install

the Microsoft Web Developer Tools.

Page 10: Building Next Generation Web Apps and Services using ASP.NET 5

• Install the .NET Version Manager (DNVM)

• Install the .NET Execution Environment (DNX)

Install ASP.NET Standalone

Page 11: Building Next Generation Web Apps and Services using ASP.NET 5

Install the .NET Version Manager (DNVM)

@powershell -NoProfile

-ExecutionPolicy unrestricted

-Command

"&{$Branch='dev';iex ((new-object net.webclient).

DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"

Page 12: Building Next Generation Web Apps and Services using ASP.NET 5
Page 13: Building Next Generation Web Apps and Services using ASP.NET 5

Install the .NET Execution Environment (DNX)

• To install the latest version of DNX using DNVM, run: dnvm upgrade

Page 14: Building Next Generation Web Apps and Services using ASP.NET 5

• http://docs.asp.net/en/latest/getting-started/installing-on-mac.html

• http://docs.asp.net/en/latest/getting-started/installing-on-linux.html

Installing ASP.NET 5 On Other Platforms

Page 15: Building Next Generation Web Apps and Services using ASP.NET 5

Before ASP.NET 5

Web Pages 2 MVC 5 Web API 2

Dependency Resolver

Model Binding

Filters

Actions

Controllers

HTML Helpers

Dependency Resolver

Model Binding

Filters

Actions

Controllers

HTML Helpers

Razor

Page 16: Building Next Generation Web Apps and Services using ASP.NET 5

MVC 6

With ASP.NET 5

Web Pages 2 MVC Web API

Dependency Resolver

Model Binding

Filters

Actions

Controllers

HTML / Tag Helpers

Razor

Page 17: Building Next Generation Web Apps and Services using ASP.NET 5

Before DNX

Operating System

Runtime Loader

Runtime

Platform Libraries

Application Host

Web Server

Windows

IIS: WebEngine4.dll

Exe: OS

.NET CLR

.NET BCL & FCL

System.Web

IIS

Application Frameworks

Libraries

Application

FCL, GAC, Nuget

Loose, GAC, Nuget

MSBuild, CodeDOM->csc.exe

Page 18: Building Next Generation Web Apps and Services using ASP.NET 5

DNX

DNX - .NET Execution Environment

DNVM - .NET Version Manager

dnx dnu RoslynCore CLR

BCL

Page 19: Building Next Generation Web Apps and Services using ASP.NET 5

With DNX

Operating System

Runtime Loader

Runtime

Platform Libraries

Application Host

Web Server

Windows

IIS: WebEngine4.dll

Exe: OS

.NET CLR

.NET BCL & FCL

System.Web

IIS

Application Frameworks

Libraries

Application

FCL, GAC, Nuget

Loose, GAC, Nuget

MSBuild, CodeDOM->csc.exe

Windows, OSX, Linux

DNX

.NET CLR, .NET Core CLR

.NET BCL & FCL, .NET on Nuget

DNX

IIS, HTTP.SYS, Kestrel

Nuget

Nuget

DNX (Roslyn)

Page 20: Building Next Generation Web Apps and Services using ASP.NET 5

Demos

Page 21: Building Next Generation Web Apps and Services using ASP.NET 5

• http://docs.asp.net

• http://blogs.msdn.com/b/webdev

• http://theshravan.net

Resources