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

Post on 22-Dec-2015

222 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

ASP.NET vNext

Jon GallowayMicrosoft Technical Evangelist@jongalloway | jon.galloway@microsoft.com

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

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

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”

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

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

.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

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)

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

.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

New modular HTTP request pipelineModularFast and leanFlexible hostingSupports OWIN

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

Integrated DIReduce COGSIntegrated tracing and diagnosticsETW, App Insights

Command-line Toolsk k runtime – runs the application

kvm k version managerinstalls / manages versions

kpm k package managerinstalls / manages packages

ASP.NET vNext Demo

Windows Command Line

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

MVC + Web API + Web Pages =

ASP.NET MVC 6!

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

ASP.NET vNext Demo

Visual Studio “14”

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

Tag Helpers

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

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>

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>

Tag Helpers

Tag Helpers

Dependency Injection

ASP.NET vNext Demo

Tag Helpers

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)

ASP.NET vNext Demo

OSX

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

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

top related