Upload
ian-philpot
View
57
Download
0
Embed Size (px)
Citation preview
ASP.NET Core Apps and DockerIan PhilpotSr. Technical Evangelist@tripdubroot
• 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
• Architecture• Not User Experience
ASP.NET Core is a rethinking of the platform
• 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?
• 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?
• 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?
CoreCLR is a subset of the .NET framework. You’ll need to work around missing functionality outside of the ASP.NET Core.
• 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
• 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
Installing ASP.NET Core
Hello World .NET Core
Hello World VS Code
Hello World Visual Studio
VSTS Build
Dockerize…
© Copyright Microsoft Corporation. All rights reserved.