Skip to content

Latest commit

 

History

History
80 lines (63 loc) · 5.43 KB

README.md

File metadata and controls

80 lines (63 loc) · 5.43 KB

Up and Running With ASP.NET 5

Demo source code and links for Lynda.com Up and Running with ASP.NET 5 training course

Course Links

Exercise File versions

Release Notes

beta4 to beta8 (Full file comparison)

Updated Tooling

Namespace/Library changes

  • Hosting in IIS via the Microsoft.AspNet.Server.IIS package is no longer supported and has been discontinued
  • Microsoft.Framework.ConfigurationModel renamed to Microsoft.Framework.Configuration
  • Microsoft.Framework.Runtime renamed to Microsoft.Dnx.Runtime

API changes

  • Configuration
    • [Startup.cs: line 21] Must use ConfigurationBuilder instead of Configuration to create configuration objects
    • [Startup.cs: line 21] New ConfigurationBuilder requires base path for configuration files; inject IApplicationEnvironment into the Startup constructor [Startup.cs: line 19] and pass the value of IApplicationEnvironment.ApplicationBasePath into IConfiguration.SetBasePath()
    • [Startup.cs: line 26] Must call .Build() after adding configuration sources to generate configuration object
  • Diagnostics
    • [Startup.cs: line 68] .UseErrorPage() middleware has been renamed to .UseDeveloperExceptionPage()
    • [Startup.cs: line 72] .UseErrorHandler() middleware has been renamed to .UseExceptionHandler()
  • Entity Framework
    • [BlogDataContext.cs: line 36] ModelBuilder.ForSqlServer() extension no longer provided/required - removed entire extraneous section
  • Identity
    • [AccountController.cs: line 58] Synchronous version of SignInManager.SignOut() no longer offered - must use .SignOutAync().
      Also converted the controller action to an async action, though this is not required

beta4 to beta7 (Full file comparison)

Updated Tooling

Namespace/Library changes

  • Microsoft.Framework.ConfigurationModel renamed to Microsoft.Framework.Configuration
  • Microsoft.Framework.Runtime renamed to Microsoft.Dnx.Runtime

API changes

  • Configuration
    • [Startup.cs: line 21] Must use ConfigurationBuilder instead of Configuration to create configuration objects
    • [Startup.cs: line 21] New ConfigurationBuilder requires base path for configuration files; inject IApplicationEnvironment into the Startup constructor [Startup.cs: line 19] and call IApplicationEnvironment.ApplicationBasePath
    • [Startup.cs: line 26] Must call .Build() after adding configuration sources to generate configuration object
    • [Startup.cs: lines 55, 65] IConfiguration.Get() no longer offered - must use array indexer, which returns a string
  • Entity Framework
    • [BlogDataContext.cs: line 36] ModelBuilder.ForSqlServer() extension no longer provided/required - removed entire extraneous section
  • Identity
    • [AccountController.cs: line 58] Synchronous version of SignInManager.SignOut() no longer offered - must use .SignOutAync().
      Also converted the controller action to an async action, though this is not required

beta4 to beta6 (Full file comparison)

Namespace/Library changes

  • Microsoft.Framework.ConfigurationModel renamed to Microsoft.Framework.Configuration

API changes

  • Configuration
    • [Startup.cs: line 21] Must use ConfigurationBuilder instead of Configuration to create configuration objects
    • [Startup.cs: line 21] New ConfigurationBuilder requires base path for configuration files; inject IApplicationEnvironment into the Startup constructor [Startup.cs: line 19] and call IApplicationEnvironment.ApplicationBasePath
    • [Startup.cs: line 26] Must call .Build() after adding configuration sources to generate configuration object
    • [Startup.cs: lines 55, 65] IConfiguration.Get<T>() no longer offered - must use non-generic version, which returns a string
  • Entity Framework
    • [BlogDataContext.cs: line 36] ModelBuilder.ForSqlServer() extension no longer provided/required - removed entire extraneous section
  • Identity
    • [AccountController.cs: line 58] Synchronous version of SignInManager.SignOut() no longer offered - must use .SignOutAync().
      Also converted the controller action to an async action, though this is not required