4
I have a project in ASP.Net MVC and I’m putting the authentication manually. Everything is going well, but I used as a reference a ready-made project that uses the Entityframework, but I want to use Latin for my operations. The problem is occurring in the code below:
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext()
: base("DefaultConnection", throwIfV1Schema: false)
{
}
public static ApplicationDbContext Create()
{
return new ApplicationDbContext();
}
}
The error generated is:
Error 2 The type 'System.Data.Entity.Dbcontext' is defined in an Assembly that is not referenced. You must add a Reference to Assembly 'Entityframework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Well, how could I solve this problem without using the Entityframework? Is there any way to use only the Inno for secure authentication? I did a lot of research, but I couldn’t find anything like.
Thanks for the reply my friend, but the goal is to put authentication without the Entityframework...
– Jedaias Rodrigues
Yes, I’m already editing the answer. Just a moment.
– Leonel Sanches da Silva