Download presentation
Presentation is loading. Please wait.
1
ASP.NET Core 2.0 Fundamentals
6/15/2018 1:41 PM THR1053 ASP.NET Core 2.0 Fundamentals Maher Jendoubi Medical Imaging Project Manager Gustave Roussy Hospital © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
About Me Maher Jendoubi
6/15/2018 1:41 PM About Me Maher Jendoubi Medical Imaging Project Manager Gustave Roussy Hospital (Paris Area) MVP (Visual Studio and dev technologies) ASP.NET Core Advocate Pluralsight Paris Study Group Leader © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Plan 1 5 2 6 3 7 4 Platform design goals Middleware basics
6/15/2018 1:41 PM Plan Platform design goals 1 Middleware basics 5 Installation of framework and tools 2 Dependency injection support 6 Creating apps from templates 3 ASP.NET Core MVC, Web API and Razor Pages 7 Startup configuration 4 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
Platform design goals Modular Cloud and container optimized
6/15/2018 1:41 PM Platform design goals Modular Cloud and container optimized Open-source with contributions Fast Cross-platform Choice of tools and editors Efficient development cycle © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
6/15/2018 1:41 PM What is a middleware? ASP.NET Core middleware is a software component that is assembled into an application pipeline to handle requests and responses. Routing, authentication, static files, diagnostics, error handling, session, CORS, localization, custom © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
ASP.NET Core Pipeline 6/15/2018 1:41 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
Dependency Injection (DI) Support
6/15/2018 1:41 PM Dependency Injection (DI) Support Designed from the ground up to support DI built-in container : Be explicit about your classes’ dependencies ! Inject services through the constructor ! Configure services in Startup ConfigureServices method ! © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
8
MVC + Web API + Razor Pages =
6/15/2018 1:41 PM MVC + Web API + Razor Pages = ASP.NET Core MVC Runs on all the same MVC infrastructure Better encapsulation and grouping of UI details Fewer folders and files © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
9
Demo Maher Jendoubi 6/15/2018 1:41 PM No web.config (configuration)
No Global.asax or App_Start No CSS / JS in project root (wwwroot) bower and bowerrc bundleconfig.json New Program.cs / Startup.cs Run with IISExpress / Kestrel © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
Conclusion ASP.NET Core is a new open-source and cross-platform framework for building modern cloud-based web applications using .NET.
11
Session Resources github.com/aspnet
6/15/2018 1:41 PM Session Resources github.com/aspnet github.com/aspnet/Mvc/tree/dev/src/Microsoft.AspNetCore.Mvc.TagHelpers docs.microsoft.com Docs.asp.net Dot.net/core forums.asp.net/1255.aspx/1?ASP+NET+Core © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12
Please evaluate this session
Tech Ready 15 6/15/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite Phone: download and use the Microsoft Ignite mobile app Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.