ASPNET5 / MVC6

Overview and Walkthrough

Sept. 25, 2015

Disclaimer: this content is stale, and will not be updated.

It's an awesome time to be a Web Developer!

Topics

  • Re-imagined .Net
  • Project Structure
  • Fundamental Changes
  • Limitations
  • Deployment
  • Release Schedule
  • Tangential Topics of Interest
  • Resources
  • Q/A

Re-imagined .Net

  • Open Source
  • Cross Platform
  • Target Frameworks
    • Full Framework (traditional)
    • Core Framework
  • NuGet everywhere
  • New tools
    • dnvm
    • dnu
    • dnx
    • Kestrel
    • UserSecrets

Project Structure

  • Goodbye *.csproj, Hello project.json
  • Goodbye global.asax, Hello Startup.cs
  • Goodbye web.config
  • Hello wwwroot
  • walkthrough: Web project layout

Fundamental Changes

  • No more System.Web
  • Edit -> Refresh (no recompile)
  • Dependency Injection
  • Configuration & UserSecrets
  • MVC6 = MVC + WebApi
  • Attribute Based Routing
  • Tag Helpers
  • Authentication & Authorization
  • More async everywhere
  • Entity Framework 7 (code first only)

walkthrough

Limitations

  • Not everything available in CoreFX
    • Charting
    • Legacy EF
    • many others
  • Above can be overcome with Full Framework
  • SignalR
  • Visual Basic
  • Web Pages 4

Deployment

  • Your app is a Nuget Package
  • dnu to package application
  • All dependencies bundled (can include runtime)
  • Integrated pre-compilation
  • IIS + Kestrel
  • nginx + Kestrel

Release Schedule

  • beta 8: Oct. 5 (feature complete)
  • rc1*: Nov 2015 (stabilization)
  • 1.0: Q1 2016

*released with go-live license

Tangential Topics

Resources

Questions?

Answers?