Upgrading from ASP.NET v5 Beta4 to Beta5 was a little bit painful, how hard is the upgrade to Beta6?
A cheatsheet like the beta4-beta5 answers would be handy...
The upgrade went fine. Here is the cheatsheet
Prerequisites
dnvm upgrade
dnvm install 1.0.0-beta6 -arch x64 -r clr
dnvm alias default 1.0.0-beta6 x64
dnvm use default -p
Beta 6 Changes
(Not all changes will be applicable to your project)
global.json
from beta5
to beta6
beta5"
and replace with beta6"
Microsoft.AspNet.Mvc.Core
app.UseErrorPage(ErrorPageOptions.ShowAll);
to app.UseErrorPage();
Context.Authentication.SignIn(...)
to SignInAsync(...)
app.UseSession(c=> c.IdleTimeOut = 30)
to app.UseSession()
"Autofac.Framework.DependencyInjection": "4.0.0-beta5-90"
to "Autofac.Framework.DependencyInjection": "4.0.0-beta6-150"
Deployment
dnu publish
scripts - see this question
Done
Other fixes might be found on the ASP.NET announcements repo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With