.NET Daily

Recommended Resources


Popular Content


Navigation
TagThe instance of entity type ‘User’ cannot be tracked
Featured

Microsoft ASP.NET

ASP.NET Core and EF: The instance of entity type ‘User’ cannot be tracked

Posted on July 9th, 2017.

This exception caused me to lose a bit more than expected before finding the right solution. That happened even though the ASP.NET team already documented this Entity Framework behavior very well here but, you know, who has time to read that much documentation… So, the full exception message is the following: InvalidOperationException:...