Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

new version something is wrong in nuget package 2.1.0 for ASP.NET Core 2.1 Identity server

$
0
0

Hello 

I have just upgraded my test project and I had got this error (when I was trying login) . Microsoft.AspNetCore.All 2.1.0 - Microsoft.VisualStudio.Web.CodeGeneration.Design - 2.1.0

If I downgrade (demote) my project , there is no problem  Microsoft.AspNetCore.All 2.0.8

An unhandled exception occurred while processing the request.

<div class="titleerror">InvalidOperationException: Cannot create a DbSet for 'ApplicationUser' because this type is not included in the model for the context.</div>

Microsoft.EntityFrameworkCore.Internal.InternalDbSet<TEntity>.get_EntityType()

....................

MIS.WebUI.Controllers.SecurityController.Login(LoginViewModel loginViewModel, string returnUrl) in SecurityController.cs

<div class="source">
  1. ApplicationUser user = await UserManager.FindByEmailAsync(loginViewModel.Username);
</div>

hata


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>