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 2.0
Shahed Chowdhuri
Sr. Technical Evangelist @ Microsoft
@shahedC
WakeUpAndCode.com
The Future of Web Apps
Agenda
Introduction
> .NET (Framework & Core)
> ASP.NET Core
> Visual Studio
Wrap-up + Q&A
Introduction
ASP.NET Core 2.0
Info and Downloads: http://www.asp.net/
.NET Core for Cross-Platform Dev
.NET Core: https://www.microsoft.com/net
Blog Sources
Scott Hanselman’s Blog: https://www.hanselman.com/blog/
.NET Web Dev Blog: https://blogs.msdn.microsoft.com/w...
Visual Studio 2017 Launch Videos
https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch?sort=viewed&dire...
Build 2017: ASP .NET Core 2.0
https://channel9.msdn.com/Events/Build/2017/b8048
Other Video Sources
MSDN Channel 9: https://channel9.msdn.com
.NET Conf 2017: http://www.dotnetconf.net
Docs + Tutorials
Tutorials: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/
Docs: https://blogs.msdn...
.NET Across Windows/Web Platforms
http://blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx
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...
Names & Version Numbers
C# 7.0 in VS2017
https://docs.microsoft.com/en-us/dotnet/articles/csharp/csharp-7
ASP.NET Core Roadmap
https://github.com/aspnet/Home/wiki/Roadmap
ASP.NET Core 2.0 Update
https://blogs.msdn.microsoft.com/webdev/2017/06/28/introducing-asp-net-core-2-0-preview-2/
.NET Core Roadmap
https://github.com/dotnet/core/blob/master/roadmap.md
.NET Core 2.0 (Q3 2017)
https://github.com/dotnet/corefx/milestone/4
22
https://blogs.msdn.microsoft.com/dotnet/2017/03/07/announcing-net-core-tools-1-0/
Announcing .NET Core Tools 1.0 in VS2...
Agenda
Introduction
> .NET (Framework & Core)
> ASP.NET Core
> Visual Studio
Wrap-up + Q&A
.NET Framework
& .NET Core
ASP.NET Core High-Level Overview
Compilation Process
What About .NET Framework 4.6+?
Core is
4.7
ASP .NET Core
ASP.NET Core Features
ASP.NET Core Summary
Relevant XKCD Comic
https://xkcd.com/303/
How about Entity Framework?
DB
ORM
Entities
in Code
Core
)
4.6+
4.6+
Visual Studio 2017
New Installer!
File  New Project  Web
• ASP .NET Core Web App
• Web App (4.x)
Select a Template
1.0 , 1.1, 2.0 Templates
• Empty
• Web API
• Web App (Razor)
• Web App (MVC)
• Angular
• React.js
• Reac...
Startup.cs Configuration
project.json
.csproj project file
Right-click  (Project) Properties
Choose Profile While Debugging
New Razor Pages!
http://www.hishambinateya.com/welcome-razor-pages
Intro to Razor Pages
https://docs.microsoft.com/en-us/aspnet/core/mvc/razor-pages
Razor Syntax
Live Unit Testing
https://blogs.msdn.microsoft.com/visualstudio/2016/11/18/live-unit-testing-visual-studio-2017-rc/
DEMO
Migrating from MVC to MVC Core
https://docs.microsoft.com/en-us/aspnet/core/migration/mvc
Visual Studio Code
Download https://code.visualstudio.com
.NET Version Manager (DNVM)
• .NET SDK Version
Manager
• Formerly KVM
• Get list of DNXs
(aka KRE)
GitHub: https://github....
Tooling Changes and NETStandard
dotnet/cli on GitHub
This repo
contains
the .NET
Core
command-
line (CLI)
tools, used
for
building
.NET Core
apps and
libr...
Agenda
Introduction
> .NET (Framework & Core)
> ASP.NET Core
> Visual Studio
Wrap-up + Q&A
MEAN Stack…?
72
NICE Stack!
•.NET
•IIS
•C#
•Entity Framework
nicestack.io
73
DevHub on GitHub!
74
https://github.com/shahedc/DevHub
References
• ASP .NET: http://www.asp.net
• .NET Core: https://www.microsoft.com/net
• .NET Web Dev Blog: https://blogs.ms...
Other Resources
• New Razor Pages: http://www.hishambinateya.com/welcome-razor-pages
• Intro to Razor: https://docs.micros...
Q & A
Agenda
Introduction
> .NET (Framework & Core)
> ASP.NET Core
> Visual Studio
Wrap-up + Q&A
Email: shchowd@microsoft.com  Twitter: @shahedC
ASP.NET Core 2.0: The Future of Web Apps
Upcoming SlideShare
Loading in …5
×

ASP.NET Core 2.0: The Future of Web Apps

2,805 views

Published on

The all-new ASP .NET Core 2.0 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, Razor Web Pages, .NET Core Tools and Visual Studio 2017!

Published in: Technology
  • Be the first to comment

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 Hanselman’s 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 Hanselman’s 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: shchowd@microsoft.com  Twitter: @shahedC

×