Questions tagged as 'asp.net-identity'

1
answer

Separation of the Identity Bank with the Application [closed]

When using Asp.net Identity, a single bank is generated. And it is recommended to leave this bank only for Identity and create another bank for your application, as I read in some articles. So far so good ... I went to see a video lesson (lin...
asked by 14.10.2016 / 22:44
2
answers

How to redirect if user is unauthorized

I'm using in my application, roles and I'm trying to case, the user is not authorized, to be redirected to an error page. I'm using ASP.NET MVC com Identity , in internet search and here in StackOverFlow, I found some answers, bu...
asked by 28.10.2016 / 15:05
1
answer

Differentiate list of items shown in View using "Individual User Account" Asp.Net MVC 5

I do not have much practice in programming and I'm creating a system for registering items like movies, books, games, etc. for a college job. The problem is that I need to use a user manager system so that in the view index of each item type sho...
asked by 25.02.2016 / 20:12
1
answer

How to enable Migrations for Identity in Asp.net MVC

I need to unbind Identity from my Asp.net core MVC layer and throw it to another crosscutting layer of my DDD project. Based on Eduardo Pires' Equinox project, I managed to do it, but I'm finding it difficult to activate Migrations. For you to u...
asked by 07.02.2018 / 20:50
1
answer

Help to write to USERS and AspNetUsers at once

Help please. I lost all day redoing various parts of the system, trying a lot of different solutions but I ended up with no ideas. I have a multi-application solution. One of these applications (where I try to isolate data persistence) has th...
asked by 21.11.2017 / 23:21
1
answer

How to hide parts of a page based on user permissions using asp.net identity? [closed]

I have a project in mvc and I'm using asp.net identity, I have different types of profiles, example adm / tutor / master / user and I have access areas for each profile, besides the "home" view that has the urls that match each profile. I wanted...
asked by 07.12.2016 / 18:09
1
answer

Error IdentityConfig

I'm trying to implement Identity in my project but my IdentityConfig is giving several errors. I started briefly messing with Identity and I'm hitting myself a little bit. packages.config <package id="Antlr" version="3.4.1.9004...
asked by 03.08.2015 / 15:45
2
answers

How to redirect to another page when user does not have authorization

I have my Custom AuthorizeAttribute . It works perfectly the way I want, but it always directs the user to /Account/Login , I would like it to redirect to another page that I chose, since he does not have authorization, how do I d...
asked by 10.09.2014 / 23:55
1
answer

How to customize login screen in Asp.Net Core 2.1

With the following service settings below, I can log in to Twitter, Hotmail, Facebook. Noting that my project at creation time enabled the individual login option services.AddAuthentication() .AddTwitter(twitterOptions =>...
asked by 22.11.2018 / 01:39
1
answer

Using Identity with Entity Framework to make one-to-many relationship with other tables

In my scenario a user has several boats and a boat has several notes. So I need to relate the user to the boat so that this user can see these notes. I'm using the MVC 5 default identity template. So I need to relate the AspNetUser table t...
asked by 25.09.2018 / 21:12