ASP.NET Core 2.0: The Future of Web Apps

of 58/58
ASP .NET Core 2.0 Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft @shahedC WakeUpAndCode.com The Future of Web Apps
  • date post

    22-Jan-2018
  • Category

    Technology

  • view

    2.038
  • download

    0

Embed Size (px)

Transcript of ASP.NET Core 2.0: The Future of Web Apps

  1. 1. ASP.NET Core 2.0 Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft @shahedC WakeUpAndCode.com The Future of Web Apps
  2. 2. Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Wrap-up + Q&A
  3. 3. Introduction
  4. 4. ASP.NET Core 2.0 Info and Downloads: http://www.asp.net/
  5. 5. .NET Core for Cross-Platform Dev .NET Core: https://www.microsoft.com/net
  6. 6. Blog Sources Scott Hanselmans Blog: https://www.hanselman.com/blog/ .NET Web Dev Blog: 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 2017: ASP .NET Core 2.0 https://channel9.msdn.com/Events/Build/2017/b8048
  9. 9. Other Video Sources MSDN Channel 9: https://channel9.msdn.com .NET Conf 2017: http://www.dotnetconf.net
  10. 10. 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/
  11. 11. .NET Across Windows/Web Platforms http://blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx
  12. 12. 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 Evolution of ASP and ASP .NET ASP.NET Core MVC Unified MVC, Web API and Razor Web Pages
  13. 13. Names & Version Numbers
  14. 14. C# 7.0 in VS2017 https://docs.microsoft.com/en-us/dotnet/articles/csharp/csharp-7
  15. 15. ASP.NET Core Roadmap https://github.com/aspnet/Home/wiki/Roadmap
  16. 16. ASP.NET Core 2.0 Update https://blogs.msdn.microsoft.com/webdev/2017/06/28/introducing-asp-net-core-2-0-preview-2/
  17. 17. .NET Core Roadmap https://github.com/dotnet/core/blob/master/roadmap.md
  18. 18. .NET Core 2.0 (Q3 2017) https://github.com/dotnet/corefx/milestone/4
  19. 19. 22 https://blogs.msdn.microsoft.com/dotnet/2017/03/07/announcing-net-core-tools-1-0/ Announcing .NET Core Tools 1.0 in VS2017
  20. 20. Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Wrap-up + Q&A
  21. 21. .NET Framework & .NET Core
  22. 22. ASP.NET Core High-Level Overview
  23. 23. Compilation Process
  24. 24. What About .NET Framework 4.6+? Core is 4.7
  25. 25. ASP .NET Core
  26. 26. ASP.NET Core Features
  27. 27. ASP.NET Core Summary
  28. 28. Relevant XKCD Comic https://xkcd.com/303/
  29. 29. How about Entity Framework? DB ORM Entities in Code Core ) 4.6+ 4.6+
  30. 30. Visual Studio 2017
  31. 31. New Installer!
  32. 32. File New Project Web ASP .NET Core Web App Web App (4.x)
  33. 33. Select a Template 1.0 , 1.1, 2.0 Templates Empty Web API Web App (Razor) Web App (MVC) Angular React.js React.js & Redux Other settings: Authentication Docker Support
  34. 34. Startup.cs Configuration
  35. 35. project.json
  36. 36. .csproj project file
  37. 37. Right-click (Project) Properties
  38. 38. Choose Profile While Debugging
  39. 39. New Razor Pages! http://www.hishambinateya.com/welcome-razor-pages
  40. 40. Intro to Razor Pages https://docs.microsoft.com/en-us/aspnet/core/mvc/razor-pages
  41. 41. Razor Syntax
  42. 42. Live Unit Testing https://blogs.msdn.microsoft.com/visualstudio/2016/11/18/live-unit-testing-visual-studio-2017-rc/
  43. 43. DEMO
  44. 44. Migrating from MVC to MVC Core https://docs.microsoft.com/en-us/aspnet/core/migration/mvc
  45. 45. Visual Studio Code Download https://code.visualstudio.com
  46. 46. .NET Version Manager (DNVM) .NET SDK Version Manager Formerly KVM Get list of DNXs (aka KRE) GitHub: https://github.com/aspnet/dnvm
  47. 47. Tooling Changes and NETStandard
  48. 48. 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
  49. 49. Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Wrap-up + Q&A
  50. 50. MEAN Stack? 72
  51. 51. NICE Stack! .NET IIS C# Entity Framework nicestack.io 73
  52. 52. DevHub on GitHub! 74 https://github.com/shahedc/DevHub
  53. 53. References ASP .NET: http://www.asp.net .NET Core: https://www.microsoft.com/net .NET Web Dev Blog: https://blogs.msdn.microsoft.com/webdev Scott Hanselmans Blog: https://www.hanselman.com/blog .NET Conf: http://www.dotnetconf.net MSDN Channel 9: https://channel9.msdn.com Tutorials: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app C# 7: https://docs.microsoft.com/en-us/dotnet/articles/csharp/csharp-7 ASP.NET Core Roadmap: https://github.com/aspnet/Home/wiki/Roadmap .NET Core Roadmap: https://github.com/dotnet/core/blob/master/roadmap.md
  54. 54. Other Resources New Razor Pages: http://www.hishambinateya.com/welcome-razor-pages Intro to Razor: https://docs.microsoft.com/en-us/aspnet/core/mvc/razor-pages Live Unit Testing: https://blogs.msdn.microsoft.com/visualstudio/2016/11/18/live- unit-testing-visual-studio-2017-rc Migrating from MVC to MVC Core: https://docs.microsoft.com/en- us/aspnet/core/migration/mvc Visual Studio Code: https://code.visualstudio.com dotnet/cli on GitHub: https://github.com/dotnet/cli
  55. 55. Q & A
  56. 56. Agenda Introduction > .NET (Framework & Core) > ASP.NET Core > Visual Studio Wrap-up + Q&A
  57. 57. Email: [email protected] Twitter: @shahedC