16
ASP.NET Core Apps and Docker Ian Philpot Sr. Technical Evangelist @tripdubroot

ASP.NET Core and Docker

Embed Size (px)

Citation preview

Page 1: ASP.NET Core and Docker

ASP.NET Core Apps and DockerIan PhilpotSr. Technical Evangelist@tripdubroot

Page 2: ASP.NET Core and Docker

• The web stack is old• Weighed down by old unused code• Primarily in system.web

• Depending on machine level upgrades to .net was problematic

• Performance was as fast it could be on existing platform

Why Reinvent ASP.NET

Page 3: ASP.NET Core and Docker

• Architecture• Not User Experience

ASP.NET Core is a rethinking of the platform

Page 4: ASP.NET Core and Docker

• Complete re-write of the platform• Cross-platform• Open source• Single platform (MVC and WebAPI)• WebForms is gone• Everything is a dependency – your app will be lean• Low memory footprint• Multiple Deployment

What is ASP.NET?

Page 5: ASP.NET Core and Docker

• Overview• Unix/Linux/OSX• .net core• Mono• Self-hosted – dotnet cli

• Windows• .net 4.6• .net core• Hosting – IIS Native Loader• Self-hosted – dotnet cli

What is ASP.NET?

Page 6: ASP.NET Core and Docker

• Three Frameworks• Frameworks are about cross-platform• .NET 4.6• The .NET you’ve always known

• .Net Core• The cross-platform .net framework in progress

• Mono• The existing open source cross-platform .net framework

What is ASP.NET?

Page 7: ASP.NET Core and Docker

CoreCLR is a subset of the .NET framework. You’ll need to work around missing functionality outside of the ASP.NET Core.

Page 8: ASP.NET Core and Docker

• Everyting above .NET layer is a NuGet Package• Frameworks are bootstrapped and CLR• MVC, StaticFiles, Logging, Configuration, Identity

are just packages• Everything is optional

Completely Composed

Page 9: ASP.NET Core and Docker

• Uses existing Web Development tooling• NPM for tooling support• Bower for client-side lib support• Grunt and Gulp for build automation• NuGet for .Net Packages• None of this is required

Embraces Open Web Development

Page 10: ASP.NET Core and Docker

Installing ASP.NET Core

Page 11: ASP.NET Core and Docker

Hello World .NET Core

Page 12: ASP.NET Core and Docker

Hello World VS Code

Page 13: ASP.NET Core and Docker

Hello World Visual Studio

Page 14: ASP.NET Core and Docker

VSTS Build

Page 15: ASP.NET Core and Docker

Dockerize…

Page 16: ASP.NET Core and Docker

© Copyright Microsoft Corporation. All rights reserved.