Download presentation
Presentation is loading. Please wait.
Published byIda Yuwono Modified over 6 years ago
1
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.
2
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.
3
ASP.NET Core (previously ASP.NET 5)
A new open-source and cross-platform framework for building modern cloud-based Web applications using .NET
4
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
5
Getting Started with ASP.NET 5 RC1
Go to Docs: Samples and code:
6
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.
7
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
8
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)
9
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
10
MVC + Web API + Web Pages = ASP.NET Core MVC
11
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
12
CODE
13
New stuff you just saw Built on ASP.NET Core Dependency injection
Self-hosting Controllers Routing Views 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 Core without views Flush points Content negotiation C# 6 support Swagger via Swashbuckle @using
14
More cool stuff CORS JsonPatch AntiRequestForgery Logging Localization
Performance
15
Related sessions Introducing ASP.NET Core 1.0 ASP.NET Core and SPA
Deploying ASP.NET Core Applications Entity Framework Core 1.0
16
Join us! Code: https://github.com/aspnet/home
Docs: Live:
17
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.
18
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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.