Questions tagged as 'asp.net-identity'

1
answer

Asp.Net Identity, how to use only Roles or Claims?

Returning to the same subject: ASP.NET Identity with EntityFramework . Regardless of the size or planning of my project, if I need to use only the Roles part or just the Claims , is this possible? And most of all, how? Finally, i...
asked by 15.09.2014 / 03:16
2
answers

ASP.NET Identity and Windows Identity Foundation (WIF)?

Once again talking about ASP.NET Identity . There is another theme within the same subject that I believe to be of great importance to the community (especially to me, the main stakeholder). This is Windows Identity Foundation (WIF). What i...
asked by 19.05.2014 / 19:04
4
answers

How to notify Api Web user with SignalR?

When I receive a post in an application Web Api I need to notify a certain client that a new record has been entered. This user will see this notification in a separate client application ( javascript ) of the Web Api...
asked by 29.09.2014 / 05:04
1
answer

ASP.NET Identity and Claims

Still about ASP.NET Identity , following another question I asked about it ( ASP.NET Identity Example using SQL Server ), an interesting topic within the same subject would be about < in> Claims . What is it about? What would be a...
asked by 19.05.2014 / 18:58
2
answers

How to structure a solution separating WebApi from WebUI using ASP.NET Identity?

How should a solution be organized that will have at least three projects, such as: Class Library as Infrastructure Web Application as Web Api MVC Web Application for WebUI (user interface) Where ASP.NET Identity will be used as an au...
asked by 20.11.2014 / 01:58
2
answers

Fluent API with ASP.NET Identity

As this tutorial , I transported Identity in < in> class library to encapsulate the system business rule. However, the entire system is using the Fluent API to map the entities and Identity generates the tables through the code first . I...
asked by 13.02.2015 / 17:10
1
answer

Query user data logged in Windows Authentication

In my application I use authentication mode="Windows" as a form of authentication. In this way, I can know the user name, referring to the field in the AD and the domain of the user using HttpContext.Current.User.Identity.Name ,...
asked by 27.05.2015 / 15:47
1
answer

How to log in without using the Identity pattern?

An update on Api of Facebook made the default login form of Identity stop working. The way I'm doing that stopped working looks like this: public void ConfigureAuth(IAppBuilder app) { app.CreatePerOwinContext(Applicatio...
asked by 30.03.2017 / 01:16
1
answer

Authorization in Asp.Net MVC

I'll try to be clear. In most instances of authentication and authorization of access in ASP.NET MVC, I see that the authorization control is usually done in Controller , with the decoration of the class itself inherited from Control...
asked by 24.11.2015 / 19:16
1
answer

How to solve the medium trust problem in asp.net

I'm developing a website in Asp.Net MVC5. When I publish the site in LocaWeb and try to login with my user I received the message: Attempt by security transparent method 'Microsoft.AspNet.Identity.ClaimsIdentityFactory'2+<CreateAsync>d__...
asked by 30.05.2014 / 03:38