zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

123 results in tag: asp.net-identity

Custom Membership with Microsoft.AspNet.Identity - CreateLocalUser fails

I've been trying to implement a custom version of the new Identity features in ASP.NET 4.5 (Microsoft.AspNet.Identity), using Visual Studio 2013. After many hours of playing around with this, I've simplified my code in an effort to get it running without...
asp.net-identity asp.net-mvc asp.net-mvc-5 entity-framework owin
asked by Vito

Could not load type 'System.Data.Entity.DbSetExtensions' from assembly 'EntityFramework

Updated from entityframework 6.0.0-beta1 to 6.0.0-rc1 and when logging into my MVC5 application i get the following error... {"Could not load type 'System.Data.Entity.DbSetExtensions' from assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, Publi...
asp.net-identity asp.net-mvc-5 entity-framework entity-framework-6
asked by Tim

IdentityStoreManager could not be found after upgrading Microsoft.AspNet.Identity to rc1

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 ...
asp.net-identity asp.net-mvc-5 entity-framework-6 visual-studio-2013
asked by Tim

Decoupling Microsoft.AspNet.Identity.*

I am working in Visual Studio 2013 RC and am testing Forms Authentication using new ...Microsoft.AspNet.Identity.*... packages....I would to integrate these concepts (Users, Roles, etc, etc) but want to use my own domain models (POCOs) which are in differ...
asp.net-identity asp.net-mvc asp.net-mvc-5 entity-framework owin
asked by zam6ak

Details of customizing ASP.NET Identity (OWIN) use of Entity Framework

This blog:...http://blogs.msdn.com/b/webdev/archive/2013/06/27/introducing-asp-net-identity-membership-system-for-asp-net-applications.aspx...about the ASP.NET identity provider states:...Persistence control...By default the ASP.NET Identity system will s...
asp.net-identity azure azure-table-storage entity-framework owin
asked by BenjiFB

Code First & Identity with Azure Table Storage

I'm working on a small web app and I've just hit the point in development where I need to start making database decisions. My original plan was to go EF Code First with MSSQL on Azure because it just simplifies the process of working with a database. Howe...
asp.net-identity azure azure-table-storage ef-code-first entity-framework
asked by Dragonseer

How can I map tables using fluent API in ASP.NET MVC 5, Entity Framework 6?

I am trying to create a one to one relationship using C# in Entity Framework 6 using ASP.NET MVC 5 with built-in user authentication....I am able to make tables and connections with the defaults that Entity Framework creates. But when I try to use fluent ...
asp.net-identity asp.net-mvc-5 c# entity-framework entity-framework-6
asked by Bob

Map tables using fluent api in asp.net MVC5 EF6?

I am trying to add profile/Membership information into my MVC5 application and adding configuration mappings....I get the following error message:...my.Models.IdentityUserLogin: : EntityType 'IdentityUserLogin' has no key defined. Define the key for thi...
asp.net-identity claims-based-identity entity-framework-6
asked by Alex51482

How to change type of id in Microsoft.AspNet.Identity.EntityFramework.IdentityUser

(ASP.NET MVC 5, EF6, VS2013)...I'm trying to figure out how to ...change the type of the "Id" field from string to int... in the type:...Microsoft.AspNet.Identity.EntityFramework.IdentityUser ...in order to have new user accounts be associated with an int...
asp.net-identity asp.net-mvc asp.net-mvc-5 entity-framework owin
asked by BenjiFB

Nullable fields are created when customizing IdentityUser class in asp.net Identity

I am trying to customize IdentityUser class in asp.net identity....public class ApplicationUser : IdentityUser { public ApplicationUser() { IsBlocked = false; } public bool IsBlocked { get; set; } } ...The problem is: when using c...
asp.net-identity ef-code-first entity-framework entity-framework-6
asked by aleyush

ASP.NET Identity DB Seed

I am trying to set up some seed data for my MVC 5 Web Application, but it doesn't seem to be creating any for IdentityUser. When I check the App_Data folder it's empty (Show All files is enabled)...Here is my WebAppDatabaseInitializer.cs...public class We...
asp.net-identity asp.net-mvc-5 c# entity-framework
asked by teh0wner

ASP.NET Identity DbContext confusion

A default MVC 5 App comes with this piece of code in IdentityModels.cs - this piece of code is for all the ASP.NET Identity operations for the default templates:...public class ApplicationDbContext : IdentityDbContext<ApplicationUser> { public Applica...
asp.net asp.net-identity asp.net-mvc asp.net-mvc-5 entity-framework
asked by PussInBoots

User in Entity type MVC5 EF6

I have created a class in MVC5, where I want a primary owner of the content and then I want to have some editors for the content:...public class Content { public int ID { get; set; } public IdentityUser Owner { get; set; } public ICollection<I...
asp.net asp.net-identity asp.net-mvc-5 c# entity-framework
asked by Gunnar

Create ASP.NET Identity tables using SQL script

I am attempting to incorporate ASP.NET Identity into a new application that currently uses a SQL script to create the database schema. As we will need to create Foreign Key constraints from other tables to the user tables, it is highly desirable that the ...
asp.net-identity code-first entity-framework sql-server
asked by pwdst

ASP.NET MVC 5 identity application user as foreign key

I know Visual Studio 2013 launches officially tomorrow and hopefully there will be more accompanying documentation especially as it regards ASP.NET Identity. I am hopping that in the meantime someone can help me out....All I am trying to do is to get the ...
asp.net-identity asp.net-mvc entity-framework
asked by Val Okafor

Best practices for integrating ASP.NET Identity - do they exist?

I'm using ASP.NET Identity with a new website and there don't seem to be many (any?) examples of how to do this in a decoupled manner. I do not want my domain model's ...DomainUser... class to have to inherit from ...Microsoft.AspNet.Identity.EntityFramew...
.net asp.net asp.net-identity entity-framework entity-framework-6
asked by joelmdev

How to implement Multi-tenant User Login using ASP.NET Identity

I'm developing a Multi-tenant solution and I want to use the latest ...ASP.NET Identity... framework specifically the ...Entity Framework... implementation....Basically I need to allow two users to have the same username, though it must be unique within a...
asp.net-identity entity-framework-6 multi-tenant
asked by James Skimming

ASPNET.Identity and MVC5

I am trying to build authentication using the new Identity and MVC5 but I would like to "join" a separate ...user... table to the registration and manage pages. I have read lots on extending the AspNetUser table, but I am desperate to find how to join a s...
asp.net-identity asp.net-mvc c#-5.0 entity-framework-6 sql
asked by Alex

Why isn't [Authorize(Roles = "Admin")] working in MVC 5 RTM with ASP.NET Identity?

Does ...[Authorize(Roles = "Admin")]... work out of the box in MVC 5 RTM with ...ASP.NET Identity...?...I've had no luck. Note that ...[Authorize]... and ...[Authorize(Users = "AdminUser")]... work just fine, and the AspNetUserRoles and AspNetRoles tables...
asp.net-identity asp.net-mvc-5 entity-framework
asked by Jeremy Cook

Entity Framework Seeding with Identity (Microsoft.Owin.Security) user

I have a class that seed the database which add 2 users with roles and custom fields. The problem I have is that it save the data in [dbo].[AspNetUsers] instead of [dbo].[IdentityUsers]. Both tables are created. When seeded, the data go into AspNetUser. W...
asp.net-identity asp.net-mvc entity-framework entity-framework-6
asked by Patrick Desjardins

Page 1 of 7
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • »

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!