Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

asp.net-identity

(asp.net core mvc) How can I use identityUser in UI layer with product in entity layer

September 3, 2022 by Magenaut

I’ve used Identity package in WebUI layer. I want to associate these users with the product that I keep in the entity layer.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core-mvc, asp.net-identity, entity-framework-core, model-view-controller Leave a comment

Unable to resolve service for type ‘Microsoft.AspNetCore.Identity.SignInManager’

September 3, 2022 by Magenaut

When I inject SignInManager in ASP.NET Core 3.1, I get the exception message

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-identity Leave a comment

What is ASP.NET Identity’s IUserSecurityStampStore interface?

September 3, 2022 by Magenaut

Looking at ASP.NET Identity (new membership implementation in ASP.NET), I came across this interface when implementing my own UserStore:

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, asp.net-mvc, asp.net-mvc-5 Leave a comment

Configure the authorization server endpoint

September 3, 2022 by Magenaut

app.UseOAuthAuthorizationServer/OAuthAuthorizationServerMiddleware: as the name suggests, OAuthAuthorizationServerMiddleware was an OAuth2 authorization server middleware and was used to create and issue access tokens. This middleware won’t be ported to ASP.NET Core: OAuth Authorization Service in ASP.NET Core.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-identity, c#, oauth Leave a comment

ASP.NET_SessionId + OWIN Cookies do not send to browser

September 3, 2022 by Magenaut

I have a strange problem with using Owin cookie authentication.

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, katana, owin Leave a comment

ASP.NET Identity’s default Password Hasher – How does it work and is it secure?

September 3, 2022 by Magenaut

I am wondering wether the Password Hasher that is default implemented in the UserManager that comes with MVC 5 and ASP.NET Identity Framework, is secure enough? And if so, if you could explain to me how it works?

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, c#, passwords, security Leave a comment

ASP.NET Identity DbContext confusion

September 3, 2022 by Magenaut

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:

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, asp.net-mvc, asp.net-mvc-5, entity-framework Leave a comment

IdentityServer4 Role Based Authorization for Web API with ASP.NET Core Identity

September 3, 2022 by Magenaut

I am using IdentityServer4 with .Net Core 2.1 and Asp.Net Core Identity. I have two projects in my Solution.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-identity, c#, identityserver4 Leave a comment

How to get the current logged in user ID in ASP.NET Core?

September 3, 2022 by Magenaut

I’ve done this before with MVC5 using User.Identity.GetUserId() but that doesn’t seem to work here.
The User.Identity doesn’t have the GetUserId() method.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core-1.0, asp.net-core-mvc, asp.net-identity Leave a comment

Asp.net Identity password hashing

September 3, 2022 by Magenaut

The new ASP.net Identity project has brought some useful code and interfaces for website security. To implement a custom system using the interfaces (instead of using the standard Entity Framework implementation included in the MVC 5 template) an IPasswordHasher is required.

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, identity, security Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page14 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress