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 5 Overview: Post RTM

4,951 views

Published on

Blog post: http://wakeupandcode.com/asp-net-5-overview-at-cmap-baltomsdn-caparea

ASP.NET 5 Overview, post RTM release of Visual Studio 2015

Published in: Technology
  • Be the first to comment

ASP.NET 5 Overview: Post RTM

  1. 1. The Future of Web Apps @shahedC WakeUpAndCode.com
  2. 2. Introduction > .NET (Framework & Core) > ASP.NET 5.0 > VS2015 Q&A
  3. 3. docs.asp.net
  4. 4. http://blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx
  5. 5. Introduction > .NET (Framework & Core) > ASP.NET 5.0 > VS2015 Preview Q&A
  6. 6. https://xkcd.com/303/
  7. 7. • .NET Core or full .NET Framework • .NET Core is cross-platform • Deploy Core runtime with app • No need for unused features
  8. 8. Unified: • MVC • Web API • Web Pages
  9. 9. • HTML Helpers in your views!
  10. 10. 1. Edit code 2. Save changes 3. Refresh browser 4. See changes! Compiled language with benefits of interpreted language!
  11. 11. • Bower  client-side pkg mgr • e.g. JS, CSS • Grunt & Gulp  task runners • compile LESS/CoffeeScript, Typescipt • run JSLint • minify JS files
  12. 12. • Manage dependencies with NuGet packages • Edit project.json file • Enjoy IntelliSense!
  13. 13. • Configuration in code • Edit Startup.cs file • No need to use Web.config • Use JSON, XML, env vars
  14. 14. • minimalistic DI container • replace with others • Autofac, Ninject, etc • use [FromServices] attribute
  15. 15. New HTTP pipeline • modular • add components as needed • no longer dependent on System.Web
  16. 16. GitHub!
  17. 17. K Package Manager (KPM) • bundle application • build NuGet packages • build assemblies
  18. 18. ASP.NET 5 Preview Templates • Empty • Starter Web • Web API
  19. 19. • Open ID Connect • OAuth2 • Template auth logic based on OWIN and Open ID Connect (not WIF)
  20. 20. More granular control (than HttpClientHandler) over individual aspects of HTTP • redirects, auth, cookies, etc
  21. 21. DB ORM Entities in Code
  22. 22. https://code.visualstudio.com/
  23. 23. https://github.com/aspnet/dnvm/
  24. 24. http://asp.net/vnext https://weblogs.asp.net/scottgu/introducing-asp-net-5 http://blogs.msdn.com/b/webdev/archive/2015/02/23/aspnet-5-updates-for-feb- 2015.aspx https://channel9.msdn.com/Events/dotnetConf/2015 https://channel9.msdn.com/Events/Build/2015 http://blogs.msdn.com/b/bethmassi/archive/2015/02/25/understanding-net- 2015.aspx http://www.asp.net/vnext/overview/aspnet-vnext/grunt-and- bower-in-visual-studio-2015 http://www.asp.net/vnext/overview/aspnet-vnext/vc
  25. 25. http://www.asp.net/identity/overview/getting- started/introduction-to-aspnet-identity http://gunnarpeipman.com/2014/10/asp-net-5-what-are- kre-kvm-kpm/ http://gruntjs.com/ http://gulpjs.com/ http://bower.io/ https://www.npmjs.com/
  26. 26. Introduction > .NET (Framework & Core) > ASP.NET 5.0 > VS2015 Preview Q&A
  27. 27. Introduction > .NET (Framework & Core) > ASP.NET 5.0 > VS2015 Preview Q&A
  28. 28. Email: shchowd@microsoft.com  Twitter: @shahedC

×