Get up to speed on ASP.NET 5

ASP.NET 5 Videos:

  • Introducing ASP.NET 5 (Channel 9)
    • user secret – how to hide your connection strings demo
    • environment config which replaces web.config transform demo.
  • Deep Dive into ASP.NET 5 (Channel 9)
    • Razor page @Inject demo
    • dnx, dnvm, dnu overview
    • debug for dependency injection bug
    • issues with dependencies for injection and frameworks
    • comments of movements of code in 5 core using example CultureInfo (core) vs System.Threading(legacy)
    • demo of no longer creating bin debug folder during build and how to produce output to artifacts folder
    • nuspec is not needed as project.json takes care of that
    • nuget package explorer demo (go git it)
    • dnu pack demo
    • how to create a tag helper demo
  • Deep Dive into Microsoft ASP.NET 5 (Channel 9)
    • “‘dnx’ is not recognized as an internal…” how to set active dnx using dnvm demo
    • dnvm use default -p demo to set user and process path for dnx
    • dnu publish --out C:\code\output\yourpath --no-source demo t to publish without source
    • how to create self contained app package example cmddnu publish --out C:\code\output\yourpath --no-source --runtime runtime_folder_name --runtime runtime_folder_name2 if you use .net 4.6 it will still require the framework to be installed. Warning when using multiple –runtime bash file only uses first path passed in.
    • IIS doesn’t know anything about .NET 5. The web.config and asp.netloader put in wwwroot for IIS to work
    • debugging dnx example and structure overview
    • example of how to register Autofac
  • Introduction to Microsoft ASP.NET 5 ASP.NET in a nutshell
    • project.json is replacement for old csproj file
    • ASP.NET 5 empty project template compared to base node.js install
    • Example of adding diagnostic dependencies to project.json
    • Overview of frameworks configuration
    • No more transforms using new configuration library. Framework is pushing configuration towards environment variables. Web.config is still available but only for configuring IIS.
    • project.json for server side configuration, config.json for configuration of application
    • Roslyn formatted string example things in {} are C#.
    • configuration.AddEnvironmentVariables – Comment about how environment variables in azure will override config settings (33:33)
    • Everything in ASP.NET 5 has dependency injection turned on by default (35:08)
  • ASP.NET Community Standup

Documentation Links:

Install ASP.NET 5

  • ASP.NET 5 preview is installed with VS 2015 RC. ASP.NET 5 will still be in beta when VS 2015 goes RTM. Get VS 2015 with ASP.NET 5 from MSDN subscriber downloads or ASP.NET Getting Started