IdentityStoreManager不能升级到Microsoft.AspNet.Identity后RC1中找到 [英] IdentityStoreManager could not be found after upgrading Microsoft.AspNet.Identity to rc1

查看:156
本文介绍了IdentityStoreManager不能升级到Microsoft.AspNet.Identity后RC1中找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级Microsoft.AspNet.Identity.Core到1.0.0-RC1几个错误后出现这是由在Visual Studio 2013的默认​​模板MVC5产生的AccountController.cs而AppModel.cs类。

After Upgrading Microsoft.AspNet.Identity.Core to 1.0.0-rc1 several errors appear in the AccountController.cs And AppModel.cs classes which are generated by the default MVC5 templates in Visual Studio 2013.

是否有任何发行说明,解释如何解决重大更改?

Are there any release notes to explain how to resolve the breaking changes?

推荐答案

更​​新以下的NuGet包:

Update the following nuget packages:


  • 微软ASP.NET身份的EntityFramework版本=1.0.0-RC1

  • Microsoft.Owin.Security版本=2.0.0-RC1

  • Microsoft.Owin.Security.OAuth版本=2.0.0-RC1

获取这些:


  • Microsoft.AspNet.Identity.Owin版本=1.0.0-RC1

  • Microsoft.Owin.Host.SystemWeb版本=2.0.0-RC1

那么你仍然会有很多错误在你AccountController.cs文件。
但是,现在你有类项目,以解决这些问题,或者你可以得到它固定我的AccountController.cs文件,以及它编译和运行应用程序,但有一个点(与待办事项评论:),我不知道约呢。

Then you will still have a lot of errors in your AccountController.cs file. But now you have the classes in your project to fix them, or you could get my AccountController.cs file which is fixed, well it compiles and the application runs, but there is a spot (commented with todo:) that I am not sure about yet.

您可以从我的样本项目在GitHub上下载我AccountController.cs文件:
<一href=\"https://github.com/onybo/Asp.Net-Identity-RC1-sample-app\">https://github.com/onybo/Asp.Net-Identity-RC1-sample-app

You can download my AccountController.cs file from my sample project on github here: https://github.com/onybo/Asp.Net-Identity-RC1-sample-app

这篇关于IdentityStoreManager不能升级到Microsoft.AspNet.Identity后RC1中找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆