productivity of visual studio + flexibility of web interactive html / css tools for web apps that...

32
ASP.NET vNext Jon Galloway Microsoft Technical Evangelist @jongalloway | [email protected]

Upload: arthur-prosper-burns

Post on 22-Dec-2015

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

ASP.NET vNext

Jon GallowayMicrosoft Technical Evangelist@jongalloway | [email protected]

Page 2: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

active installs of .NET

1.8B

.NET professional developers6

M

From 64k embedded systems, PCs, tablets, phones, up to

and past 64-way Cloud Servers

Page 3: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

.NET – Current state of Web and Services

Standardsbased

Productivity of Visual Studio + Flexibility of WebInteractive HTML / CSS tools for web apps that look and behave the same across any browser

Highlyinteractive apps

Powerful tools and technologies for interactive appsDevelop JavaScript/TypeScript complex logic with powerful editing, debugging and diagnostics.

Suited for LOB apps

Supports demanding needs of LOB appsHybrid cloud requirements, flexibility, productivity, Tools to develop and test complex web applications that scale.

Page 4: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

What we are hearing from customers“Our role is more important than ever before”

“We are required to innovate and deliver much faster”

“I need a cross-device development strategy”

“Open Source enriches the platform and the community”

“…but I have existing applications to run and evolve”

Page 5: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Innovation at the core for your existing and future applications

Continuous modular releases

Transparent, open and community driven

.NET innovation

Flexibility and agile delivery

Openness

Our new approach to building .NET

OSS

.NET

Page 6: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Openness

Community

Rapid innovation

The .NET Foundation

.NET API for Hadoop WebClient

.NET Compiler Platform ("Roslyn").NET Map Reduce API for Hadoop

.NET Micro Framework

ASP.NET MVCASP.NET Web API

ASP.NET Web Pages

ASP.NET SignalR

Composition (MEF2)

Entity Framework

Linq to Hive

MEF (Managed Extensibility Framework)

OWIN Authentication Middleware

Rx (Reactive Extensions)

Web Protection Library

Windows Azure .NET SDK

Windows Phone Toolkit

WnsRecipe

Mimekit Xamarin.Auth

Xamarin.Mobile

Couchbase for .NET

Join the conversation with the

community http://www.dotnetfoundation.org@dotnetfdn // #dotnetfdn

Mailkit

System.Drawing

Page 7: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

.NETvNext Web and services

Future of .NET

Device optimized Native compilation Small footprint, side-by-side Cross-device enabled

Cloud optimized High throughput Small footprint, side-by-side Cross-platform enabled

Windows Store, WPF, Windows Forms, Console apps and related libraries.

ASP.NET vNext: Web Forms, MVC, Web Pages, Web API, SignalRWCF

Client apps

Next gen JIT (“RyuJIT”)

SIMD (Data Parallelization)

Runtime

Compilers.NET Compiler Platform (“Roslyn”)

Languages innovationBCL and PCLEntity Framework

Libraries

Common

Openness

Multi-purpose

Specialized

Page 8: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

ASP.NET vNext: The Future of .NET on the Server

New flexible and cross-platform runtimeNew modular HTTP request pipelineBuilt cloud readyFriendly frameworks . . . with benefits!Agile development with the tools of your choiceOpen source on GitHub (http://github.com/aspnet/home)

Page 9: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

New flexible and cross-platform runtimeFlexible and cross-platform CLR hosting.NET - Maximum compatibilityCloud Optimized – Be fully self-contained and support true side-by-side versioning!Mono – Run on Mac/Linux!

Better dependency managementAssembly references → NuGet package dependencies

Integrated runtime compilation with Roslyn

Page 10: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

.NET - Cloud OptimizedSlimmed down to just the “Core” (a.k.a. CoreCLR)No WinForms, WebForms, WCF, WIF, WF, etc.

Modernized API surface areaUse API Portability Analyzer tool to find out what’s different

Factored as NuGet packagesTrue side-by-side versioning

Page 11: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

New modular HTTP request pipelineModularFast and leanFlexible hostingSupports OWIN

Page 12: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Built cloud readyNew environment based config systemNo more complicated web.config and config transforms

Integrated DIReduce COGSIntegrated tracing and diagnosticsETW, App Insights

Page 13: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Command-line Toolsk k runtime – runs the application

kvm k version managerinstalls / manages versions

kpm k package managerinstalls / manages packages

Page 14: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

ASP.NET vNext Demo

Windows Command Line

Page 15: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

The world today – similar, but different

MVC Web APIWeb Pages

Razor

HTML Helpers HTML Helpers

Controllers Controllers

Actions Actions

Filters Filters

Model binding Model binding

DI DI

Page 16: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

MVC + Web API + Web Pages =

ASP.NET MVC 6!

Page 17: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Frameworks – all the familiar facesMVC 6: Aligned MVC, Web API, Web PagesOne set of concepts – remove duplicationWeb UI and Web APIsSmooth transition from Web Pages to MVCBuilt DI firstRuns on IIS or self-hostBased on the new request pipeline in ASP.NET vNextRuns cloud-optimized!

Other frameworks you know and loveSignalR, Identity, Entity Framework

Page 18: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

ASP.NET vNext Demo

Visual Studio “14”

Page 19: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Agile developmentPremier developer experience in Visual Studio “14”Cross-platform command-line supportLeverage online or third party editors

Page 20: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Tag Helpers

Benefits of HTML Helpers …but get to stay in HTML editor

Page 21: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Tag Helpers@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) { @Html.AntiForgeryToken() @Html.ValidationSummary(true)

<fieldset> <legend>Log in Form</legend> <ol> <li> @Html.LabelFor(m => m.UserName) @Html.TextBoxFor(m => m.UserName) @Html.ValidationMessageFor(m => m.UserName) </li>

Page 22: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Tag Helpers<form anti-forgery=“true“ validation-summary=“true” action="Create“>

<fieldset> <legend>Log in Form</legend> <ol> <li> <label for=“UserName”>

<input for=“UserName”><span validation-for="Name"

style="color:blue" /></li>

Page 23: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Tag Helpers

Page 24: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Tag Helpers

Page 25: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

Dependency Injection

Page 26: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

ASP.NET vNext Demo

Tag Helpers

Page 27: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

ASP.NET vNext - CompatibilityWeb Forms, MVC 5, Web API 2, Web Pages 3, SignalR 2, EF 6Fully supported on .NET vNext

MVC, Web API, Web Pages 6, SignalR 3Run on new runtime and request pipeline only (no System.Web.dll)Merged MVC, Web API, Web Pages frameworkNew project systemNew configuration system

.NET vNext (Cloud Optimized)Subset of the .NET FrameworkModernized API surface areaThings you depend on might not be available yet (images, etc)

Page 28: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

ASP.NET vNext Demo

OSX

Page 29: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

TimelineJune ASP.NET vNext announced, Alpha1July Alpha2Aug Alpha3Sept Alpha4EOY BetaQ1 2015 Release CandidateQ2 2015 RTW

Page 30: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful

ASP.NET vNext resourcesGet started at http://www.asp.net/vnextGitHub project at https://github.com/aspnet/home

Page 31: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful
Page 32: Productivity of Visual Studio + Flexibility of Web Interactive HTML / CSS tools for web apps that look and behave the same across any browser Powerful