Microsoft Build 2016 11/11/2018 2:12 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
ASP.NET Core Deep Dive into MVC Microsoft Build 2016 11/11/2018 2:12 AM B812 ASP.NET Core Deep Dive into MVC Daniel Roth Senior Program Manager © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
ASP.NET Core (previously ASP.NET 5) A new open-source and cross-platform framework for building modern cloud-based Web applications using .NET
ASP.NET Core and the Modern Web Totally Modular Faster Development Cycle Seamless transition from on-premises to cloud Choose your Editors and Tools OSS Open Source with Contributions Cross-Platform Fast
Getting Started with ASP.NET 5 RC1 Go to http://get.asp.net Docs: https://docs.asp.net Samples and code: https://github.com/aspnet
ASP.NET 5 in a Nutshell .NET Framework .NET Core Web Forms MVC Web API 11/11/2018 ASP.NET 5 in a Nutshell Web Forms MVC Web API MVC 6 ASP.NET 4.6 (System.Web) ASP.NET 5 .NET Execution Environment (DNX) .NET Framework .NET Core Full .NET Framework for any scenario and library support on Windows Modular libraries & runtime optimized for server and cloud workloads © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
ASP.NET Core in a Nutshell Web Forms MVC Web API ASP.NET Core MVC ASP.NET 4.6 (System.Web) ASP.NET Core 1.0 (Microsoft.AspNetCore) .NET Framework .NET Core Full .NET Framework for any scenario and library support on Windows Modular libraries & runtime optimized for server and cloud workloads
ASP.NET Core features Hosting Middleware Dependency Injection Kestrel, Startup Middleware Routing, authentication, static files, diagnostics, error handling, session, CORS, localization, custom Dependency Injection Configuration Logging Application frameworks MVC, Identiy, SignalR (future)
ASP.NET frameworks - similar, but different Web Pages MVC Web API Razor HTML Helpers HTML Helpers Controllers Controllers Actions Actions Filters Filters Model binding Model binding DI DI
MVC + Web API + Web Pages = ASP.NET Core MVC
ASP.NET Core MVC One set of concepts – remove duplication Web UI and Web APIs Built on ASP.NET Core Supports .NET Core Runs on IIS or self-hosted Deep integration with DI *NEW* Tag Helpers
CODE
New stuff you just saw Built on ASP.NET Core Dependency injection Self-hosting Controllers Routing Views via @inject Tag Helpers Default attribute routing Inline defaults, optionality, constraints Built-in and custom tag helpers Routes fall through Fantastic editor intellisense Razor improvements Web API Async, @await Core without views Flush points Content negotiation C# 6 support Swagger via Swashbuckle @using
More cool stuff CORS JsonPatch AntiRequestForgery Logging Localization Performance
Related sessions Introducing ASP.NET Core 1.0 ASP.NET Core and SPA Deploying ASP.NET Core Applications Entity Framework Core 1.0
Join us! Code: https://github.com/aspnet/home Docs: http://docs.asp.net Live: http://live.asp.net
Please Complete An Evaluation Form Your input is important! 11/11/2018 Please Complete An Evaluation Form Your input is important! or © 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11/11/2018 2:12 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.