Microsoft.IdentityModel vs System.IdentityModel

dreadwail picture dreadwail · Jan 20, 2011 · Viewed 13.4k times · Source

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?

Answer

Kalyan Krishna picture Kalyan Krishna · Nov 6, 2012

Microsoft.IdentityModel is used by WIF in .NET 4.0 and version before. System.IdentityModel is to be used in .NET 4.5 and beyond. More details here http://msdn.microsoft.com/en-us/library/jj157091.aspx