Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

ASP.NET Core in 2017: The Future of Web Apps

3,550 views

Published on

Initially named ASP .NET 5, the new ASP .NET Core introduces some great new capabilities, the ability to host on multiple server platforms, and a number of new tools that you will want to get familiar with. Learn about the future of ASP.NET Core MVC, Web API, Web Page, .NET Core Tools and Visual Studio 2017!

Published in: Technology

ASP.NET Core in 2017: The Future of Web Apps

  1. 1. ASP.NET Core* in 2017 Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft @shahedC WakeUpAndCode.com The Future of Web Apps * aka ASP.NET 5 before RC1
  2. 2. Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Q&A
  3. 3. Introduction
  4. 4. Sources asp.net/vNext Scott Guthrie’s Blog MSDN Blogs, Feb 2015 Update dotnetConf 2015 on MSDN Ch9https://channel9.msdn.com
  5. 5. Blog Posts in 2016 RC2: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx Community Standup Notes: https://blogs.msdn.microsoft.com/webdev/
  6. 6. Blogs To Read in 2017 Scott Hanselman’s Blog: https://www.hanselman.com/blog/ Community Standup Notes: https://blogs.msdn.microsoft.com/webdev/
  7. 7. Visual Studio 2017 Launch Videos https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch?sort=viewed&direction=asc
  8. 8. Build Conference http://build.microsoft.com
  9. 9. Docs + Tutorials Tutorials: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/ Docs: https://blogs.msdn.microsoft.com/webdev/2017/02/07/asp-net-documentation-now-on-docs-microsoft-com/
  10. 10. .NET Core for Cross-Platform Dev Info and Downloads: https://www.microsoft.com/net
  11. 11. ASP.NET Core 1.0 Info and Downloads: http://www.asp.net/
  12. 12. .NET Across Windows/Web Platforms http://blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx
  13. 13. ASP.NET Web API Active Server Pages (Classic ASP) ASP.NET (Web Forms) ASP.NET MVC 1/2/3/4/5 ASP.NET Web Pages ASP.NET MVC 6 Unified MVC, Web API and Web Pages ASP.NET Web API Active Server Pages (Classic ASP) ASP.NET (Web Forms) ASP.NET MVC 1/2/3/4/5 ASP.NET Web Pages ASP.NET MVC 6 Core MVC Unified MVC, Web API and Web Pages Evolution of ASP and ASP .NET
  14. 14. 5 5 .NET Core 5 Names & Version Numbers
  15. 15. C# 7.0 in VS2017 https://docs.microsoft.com/en-us/dotnet/articles/csharp/csharp-7
  16. 16. ASP.NET Core Roadmap https://github.com/aspnet/Home/wiki/Roadmap
  17. 17. ASP.NET Core 1.1 Update https://blogs.msdn.microsoft.com/dotnet/2017/01/30/january-2017-update-for-asp-net-core-1-1/
  18. 18. .NET Core Roadmap https://github.com/dotnet/core/blob/master/roadmap.md
  19. 19. .NET Core 2.0 (May 2017) https://github.com/dotnet/corefx/milestone/4
  20. 20. 20 https://blogs.msdn.microsoft.com/dotnet/2017/02/07/announcing-net-core-tools-updates-in-vs-2017-rc/ Announcing .NET Core Tools Updates in VS 2017 RC
  21. 21. .NET Standard Library + Tooling Source: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx
  22. 22. Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Q&A
  23. 23. .NET Framework & .NET Core
  24. 24. .NET in 2015: High-Level Overview
  25. 25. ASP.NET Core High-Level Overview
  26. 26. Compilation Process
  27. 27. What About .NET Framework 4.6? Core is
  28. 28. ASP .NET Core
  29. 29. ASP.NET Core 1.x Features
  30. 30. ASP.NET Core Summary
  31. 31. Relevant XKCD Comic https://xkcd.com/303/
  32. 32. How about Entity Framework? DB ORM Entities in Code Core )
  33. 33. Visual Studio 2017
  34. 34. New Installer!
  35. 35. File  New Project  Web • Web App (4.x) • Core Web App (.NET Core) • Core Web App (.NET framework)
  36. 36. Select a Template 1.0 and 1.1 Templates • Empty • Web API • Web Application
  37. 37. Startup.cs Configuration
  38. 38. project.json
  39. 39. .csproj project file
  40. 40. Right-click  (Project) Properties
  41. 41. Choose Profile While Debugging
  42. 42. New Razor Pages! http://www.hishambinateya.com/welcome-razor-pages
  43. 43. New: Live Unit Testing https://blogs.msdn.microsoft.com/visualstudio/2016/11/18/live-unit-testing-visual-studio-2017-rc/
  44. 44. DEMO
  45. 45. Migrating from MVC to MVC Core https://docs.microsoft.com/en-us/aspnet/core/migration/mvc
  46. 46. Visual Studio Code Download https://code.visualstudio.com
  47. 47. .NET Version Manager (DNVM) • .NET SDK Version Manager • Formerly KVM • Get list of DNXs (aka KRE) GitHub: https://github.com/aspnet/dnvm
  48. 48. Tooling Changes and NETStandard
  49. 49. dotnet/cli on GitHub This repo contains the .NET Core command- line (CLI) tools, used for building .NET Core apps and libraries. GitHub: https://github.com/dotnet/cli
  50. 50. References • ASP.NET vNext: http://asp.net/vnext • Intro: https://weblogs.asp.net/scottgu/introducing-asp-net-5 • Feb 2015 Updates: http://blogs.msdn.com/b/webdev/archive/2015/02/23/aspnet-5-updates- for-feb-2015.aspx • dotnetConf March 2015: https://channel9.msdn.com/Events/dotnetConf/2015 • Build 2015: https://channel9.msdn.com/Events/Build/2015 • Understanding .NET 2015: http://blogs.msdn.com/b/bethmassi/archive/2015/02/25/understanding-net-2015.aspx • Grunt & Bower: http://www.asp.net/vnext/overview/aspnet-vnext/grunt-and-bower-in-visual- studio-2015 • Tutorial: http://www.asp.net/vnext/overview/aspnet-vnext/vc • ASP.NET Community Standup Notes: https://blogs.msdn.microsoft.com/webdev/ • Update on ASP.NET RC2: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx • Additional Tutorials: See Starter Web Project Template
  51. 51. Other Resources • Roadmap: https://github.com/aspnet/Home/wiki/Roadmap • ASP.NET Identity: http://www.asp.net/identity/overview/getting- started/introduction-to-aspnet-identity • KRE, KVM, KPM: http://gunnarpeipman.com/2014/10/asp-net-5-what- are-kre-kvm-kpm/ • Grunt, JS Task Runner: http://gruntjs.com/ • Gulp, Workflow Automation: http://gulpjs.com/ • Bower, Package Manager: http://bower.io/ • npm, Node Package Manager: https://www.npmjs.com/
  52. 52. Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Q&A
  53. 53. Q & A
  54. 54. Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Q&A
  55. 55. Email: shchowd@microsoft.com  Twitter: @shahedC

×