Questions tagged as 'asp.net-identity'

2
answers

Translating Identity en

I'm using Identity in my application MVC 5.2.3 Microsoft.AspNet.Identity.Core 2.2.1 I also installed the translation package for it Microsoft.AspNet.Identity.Core.pt-br 2.2.1 Microsoft.AspNet.Mvc.pt-br 5.2.3 Microsoft.Owin.p...
asked by 01.09.2017 / 19:59
1
answer

ASP.NET Identity and Web API - Problem to register new user

I have a Web API project and I'm using Identity to manage user accounts, in my controller it looks like this: public async Task<IHttpActionResult> Register([FromBody]RegisterDto model) { if (!ModelState.IsValid) { return...
asked by 19.05.2015 / 22:42
1
answer

Allow Multiple Users per Browser

For example, Google allows you to keep n Google accounts stored in your browser . In the case of Google , it creates a control variable called authuser which receives a inteiro , it passes this va...
asked by 27.12.2016 / 13:20
3
answers

Capturing the user's real IP

How do I capture the real IP / Public IP of the user who is accessing the application? The IP of the computer I can capture normally, but I want to know the public IP of that client.     
asked by 03.09.2015 / 22:23
2
answers

How to redirect user to page after login?

I'm developing a web application, using Asp.Net MVC 5 com Identity and I'm using Roles to perform the authorization. I am trying to do that depending on the Role that the user has, it is directed to a different "Home" pag...
asked by 31.10.2016 / 11:05
1
answer

What encryption does Asp.net Identity use?

When creating a user using Asp.net Identity, it generates a hash, even a column exists in the database with the name of PasswordHash My question is, what kind of hash is generated? What encryption does Asp.net Identity use?     
asked by 10.12.2014 / 23:05
1
answer

How to retrieve user name logged in and display in View

I am trying to develop a page, where the user is logged in, he is redirected to an index, where he would like to display the user name. I'm using Identity default of ASP.NET MVC . Then I thought about putting the following cod...
asked by 09.11.2016 / 14:10
1
answer

Permissions system in ASP.NET MVC

I have long developed a system in ASP.NET MVC, where I used the MvcSiteMapProvider package, based on it I made some modifications to the AuthorizeAttribute to perform the user permissions check. In my SiteMap I made some additions, which were...
asked by 08.07.2016 / 13:42
2
answers

Problem creating relationship with user class (IdentityUser) using IdentityFramework

When I create any relationship with my user class: namespace Modelo.Cadastro { public class Usuario : IdentityUser { [StringLength(250, ErrorMessage = "O nome de usuário deve conter no mínimo 3 caracteres", MinimumLength = 3)]...
asked by 25.07.2016 / 20:30
1
answer

AspNet MVC database first or code first

I have an AspNet MVC 5 project in which I will use Owin and identity, I needed to customize identity (attributes and relations) to meet my needs, however I already have all the "ready" bank tables ), in these already existing tables I'll create...
asked by 11.08.2016 / 14:53