Microsoft.IdentityModel vs System.IdentityModel
问题 I'm working on a claims-based authorization system using Forms Authentication and ASP.NET MVC 2. I see that one namespace "Microsoft.IdentityModel" provides a lot of the same things as the other "System.IdentityModel". System.IdentityModel Microsoft.IdentityModel Why do these 2 namespaces exist seperately, when the functionality appears to overlap? 回答1: If you are using Claims Based authentication/authorization, then you will need to use Microsoft.IdentityModel as that is part of the Windows