1 / 22

Introduction to ASP.NET 5

Introduction to ASP.NET 5. Pranav Rastogi | @rustd. M333. Professional ASP.NET 4.5 in C# and VB Azure Redis Cache ASP.NET. What is ASP.NET 5?. A new open-source and cross-platform framework for building modern cloud-based Web applications using .NET. ASP.NET 5 is NOT.

fayre
Télécharger la présentation

Introduction to ASP.NET 5

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to ASP.NET 5 Pranav Rastogi | @rustd M333

  2. Professional ASP.NET 4.5 in C# and VBAzure Redis CacheASP.NET

  3. What is ASP.NET 5? A new open-source and cross-platform framework for building modern cloud-based Web applications using .NET

  4. ASP.NET 5 is NOT . . . The death of Web Forms The VB killer A 99.9% backwards compatible release of System.Web Windows first, xplat later Done yet

  5. ASP.NET and the Modern Web Totally Modular Faster Development Cycle Seamless transition from on-premises to cloud Choose your Editors and Tools Open Source with Contributions Cross-Platform OSS Fast

  6. ASP.NET 4.6 and 5 in a Nutshell MVC / Web API 6 Web API 2.2 Web Forms MVC 5.x ASP.NET 5 ASP.NET 4.6 (System.Web) .NET Execution Environment (DNX) Core CLR .NET Native .NET Framework 4.6 .NET Core 5 Modular libraries & runtime optimized for server and cloud workloads Full .NET Framework for any scenario and library support on Windows

  7. .NET 2015 Open Sourcing .NET Platforms General purpose .NET Core runtime, compilers and libraries ASP.NET 5 web server stack Fully Supported cross-platform Windows, Linux and OS X Visual Studio tooling support (e.g. debugging and deploying to Docker in Linux) Omnisharp extensions to cross-plat IDEs (Sublime, Emacs…) Open Source .NET Core and ASP.NET 5 source being developed on GitHub Contributions accepted, tested and fully supported Close collaboration with Mono community What is Microsoft Open Sourcing? .NET Framework 4.6 .NET Core 5 Common Get started from: • Libraries • Runtime components • Compilers github.com/microsoft/dotnet • .NET Compiler Platform • (“Roslyn”) • Languages • .NET Core 5 Libraries • .NET Framework 4.6 Libraries • RyuJIT, SIMD • Core-CLR

  8. Getting Started with ASP.NET 5 Windows Install Visual Studio 2015 *NEW* Install beta7 update! OS X/Linux Install Visual Studio Code Download the .NET Version Manager (DNVM) Install latest .NET Execution Environment (DNX) Docs: https://docs.asp.net Samples and code: https://github.com/aspnet

  9. Intro to ASP.NET 5 Daniel Roth

  10. ASP.NET frameworks - similar, but different Web Pages MVC Web API Razor HTML Helpers HTML Helpers Controllers Controllers Actions Actions Filters Filters Model binding Model binding DI DI

  11. MVC + Web API + Web Pages =ASP.NET MVC 6

  12. MVC 6: MVC, Web API, Web Pages One set of concepts – remove duplication Web UI and Web APIs Smooth transition from Web Pages to MVC (future) Built DI first Built on ASP.NET 5 Runs on IIS or self-hosted Supports .NET Core

  13. Intro to MVC 6 Daniel Roth

  14. New in MVC 6 - TagHelpers HTML helpers expressed as tags Ex. Instead of: @Html.LabelFor(m => m.UserName, new { @class = "col-md-2 control-label" }) Write this: <label asp-for="UserName" class="col-md-2 control-label"></label> Easier to customize with additional attributes Work seamlessly with the HTML editor

  15. Tag Helpers Daniel Roth

  16. SPEED https://github.com/aspnet/benchmarks

  17. ASP.NET 5 Roadmap https://github.com/aspnet/home/wiki/roadmap Beta6 27 Jul 2015 Beta7 24 Aug 2015 Beta8 21 Sep 2015 RC1 Nov 2015 1.0.0 Q1* 2016

  18. Related Ignite NZ Sessions 1 Azure Redis Cache Thursday 1.55p Malborough (SKY CITY) • Find me later at… • Hub Happy Hour Wed 5:30-6:30pm • Hub Happy Hour Thu 5:30-6:30pm

  19. Resources Microsoft Virtual Academy TechNet & MSDN Flash • Free Online Learning http://aka.ms/mva • Subscribe to our fortnightly newsletter http://aka.ms/technetnzhttp://aka.ms/msdnnz • Sessions on Demand http://aka.ms/ch9nz

  20. Complete your session evaluation now and be in to win!

  21. Thank You!

More Related