Linked Questions

2 votes
2 answers
1k views

I'm developing an ASP.NET MVC 5 application which rely on a Model First approach using Entity Framework 6. I've already generated my database using my .edmx and everything works fine. Now, I'd like ...
user avatar
62 votes
5 answers
104k views

I need to integrate Asp.Net latest MVC version with an existing database which has an additional column String Address to table dbo.AspNetUsers I need to create an instance ApplicationUser which has ...
GibboK's user avatar
  • 74.2k
36 votes
1 answer
42k views

I am learning MVC5 identity authentication and was reading materials on www.asp.net. I have a few questions here. If I want to use identity authentication, is there a reason not to use MVC template? ...
sfdcnoob's user avatar
  • 787
12 votes
2 answers
12k views

I am migrating my old website from PHP to C# MVC. I want to use Microsoft's Identity set-up as it looks rather neat. I already have my solution set up using database-first entity framework. I have ...
Luke's user avatar
  • 23.8k
7 votes
3 answers
8k views

I'm migrating a SaaS app from Classic ASP to .NET MVC5 and will use EF6 Database First. The login form for end users is customisable by each tenant (on their own subdomain but pointing to the same web ...
Marcus's user avatar
  • 9,559
13 votes
2 answers
16k views

I'm trying to rename the default table names generated by ASP.net Identity 2.0. I read all the articles, the questions and the answers on stackoverflow but im still getting the same error. I renamed ...
Yehia A.Salam's user avatar
5 votes
1 answer
5k views

There are many samples online using OWIN/Katana to find users in a database based on ausername/password combination and generate a claims principal, such as... var userManager = context.OwinContext....
EvilDr's user avatar
  • 9,711
12 votes
1 answer
7k views

I am a novice programmer, learning as I work on my first code project. I started with MVC 4 and managed to get CRUD working for a single entity. I decided to try to tackle security next. When Visual ...
Jim Hill's user avatar
  • 131
7 votes
2 answers
7k views

I have an application which uses EntityFramework edmx models and i want to be able to use the same dbContext for my Identity classes and the entity classes. Someone has raised a Similar Query but i ...
Tim's user avatar
  • 7,461
2 votes
1 answer
5k views

My current project has two database connections: The first is used for the IdentityModel and uses a local .mdf file. The second i created on an external SQL Server and was imported using Database ...
phicon's user avatar
  • 3,627
3 votes
2 answers
6k views

Below is Required Code For my application . I am getting error stated above in my Account Controller file . I am using built in Account Register & Login code in MVC 4 . Unable to register the User ...
user avatar
3 votes
2 answers
2k views

I am currrently using ASP .Net MVC 5 Identity framework to manage user authentication in my simple MVC 5 application. My Database contains 5 Identity related tables: dbo.AspNetUsers dbo.AspNetRoles ...
Dmytro's user avatar
  • 17.3k
0 votes
2 answers
5k views

I'm currently working on a website which is being developed in ASP.NET and C#. To get theUserId from AspNetUsers table by simply doing User.Identity.GetUserId() which returns something like m13t79j0-...
Izzy's user avatar
  • 6,898
6 votes
1 answer
4k views

Like several others I have tried to implement ASP.NET Identity Model First. Everything works fine once you have tried, errored, fumed, searched and resolved.. I thought. See also: ASP.NET Identity ...
JeroenW's user avatar
  • 763
5 votes
4 answers
2k views

I wish to implement OWIN as per the example I could find here: http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api However, since this way of working is new to me especially ...
reaper_unique's user avatar

15 30 50 per page