Skip to content

diegocapadi/UpAndRunningWithAspNet5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 62.1%
  • HTML 18.7%
  • JavaScript 12.3%
  • CSS 6.9%