Simple Asp.net Identity Core Without Entity Framework

 Sample Demo Project with Simple Asp.net Identity Core just a Login functionality.  No Entity Framework, Custom approach to suit our own database table user object.  No Role based login, a simple login with custom password hashing and user details. Technical DetailsSuppose w

C# (442.2 KB)
 
 
 
 
 
3.1 Star
(23)
8,947 times
Add to favorites
7/7/2014
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Could you please resubmit this so it compiles
    2 Posts | Last post July 21, 2015
    • Hi,
      
      This solution doesn't seem to compile. Could you please re-submit it with fixes so it compiles?
      
      Compile error 1
      The name 'UserManager1' does not exist in the current context
      
      Compile error 2	
      'System.Web.HttpContextBase' does not contain a definition for 'GetOwinContext' and no extension method 'GetOwinContext' accepting a first argument of type 'System.Web.HttpContextBase' could be found (are you missing a using directive or an assembly reference?)	
      
      Thanks
      
      -- Lee
    • I had the same problems I fixed this way :
      
      - change 'UserManager1' por 'PCustomUserManager'
      - update the NuGet's packages
  • How to get compiling
    1 Posts | Last post August 29, 2014
    • You need to add a NuGet package reference to Microsoft.Owin.Host.SystemWeb
      
      And you need to change UserManager1 to PCustomUserManager
      
      -- Lee
  • Which version?
    2 Posts | Last post May 29, 2014
    • Which version of Asp.NET.Identity are you using here?  I tried compiling this under vs2012 using .NET 4.5.1, but IdentityDbContext is unresolve despite using Nuget restore. 
      
      
      
      
      
      
    • Reply Identity 1.0