Developing Cross-Platform Web Applications with ASP.NET Core 1.0
Agenda • Introduction and project structure • OWIN • DI • MVC, Web API • EF core • Authentication • Tag helpers • Application Insights • NPM, Bower • Gulp • Deployment options
Core Roadmap • Early 2014 – early work • Early 2015 - announce • Mid-2015 - Betas • Oct 2015 – Beta 8 • Nov 2015 - RC1 • May 2016 - runtime RC2, tools Preview1 • 6/27/16 - runtime RTM, tools Preview 2 • Late 2016 (VS “15” RTM) - Tools RTM
What’s new? All of it!
Not SO proof
Components Core CLR Core FX Core CLI ASP.NET Core Visual Studio
Open Source
What’s ready? What’s not ready? • Runtime • OWIN • DI • MVC • Web Api • Razor • Identity • EF partial • Azure support • VS Online support • SignalR • Tools • Docs • VB.NET • Web Pages • EF partial
Demo – Project
Demo – OWIN
Dependecy Injection • IServiceCollection • IServiceProvider • AddTransient • AddScoped • AddSingleton • AddInstance
Demo – DI
Configuration • ConfigurationBuilder • IConfigurationRoot • JSON by default • Options • Secrets
Demo – Configuration
Demo – MVC
Demo – Web Api
Entity Framework Core • .NET | .NET Core | UWP | OS X | Linux • SQL Server | SQLite | Postgres | SQL Server Compact | InMemory • Soon: MySQL | DB2 • Most runtime/tools ready • Faster • Migration snapshot now stored in DB • Enable-Migrations obsolete
Demo – EF Core
Demo – Auth
Demo – Tag Helpers
Demo – App Insights
Demo – NPM
Demo – Gulp
Deployment • Slightly changed the mechanism • Deploys in cloud, on prem, and within CI the same way • Based on MsBuild
Demo – Azure GitHub CI
Hanc marginis exiguitas non caperet
Deployment – Other cases • IIS • Azure App Services • Visual Studio Online • Docker • AWS • Github web hook • Windows Nano • Azure Service Fabric • Linux • Raspberry Pi
Resources • dot.net • live.asp.net • github.com/aspnet • github.com/ebt-techtalk/asp.net • bit.ly/1ThzNeC bit.ly/1Tq2CCP bit.ly/1WpqKFv bit.ly/1TmqRiQ
Questions?
Wait, there’s more • .NET Core • .NET Standard • .NET Foundation • Xamarin/Mono • UWP • Testing • NuGet • Open Source
THANK YOU Dmitriy Podrezov Developer dpodrezov@eastbanctech.com 571-598-7316 eastbanctech.com

Developing Cross-Platform Web Apps with ASP.NET Core1.0