This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IniFormatter : IFormatter | |
{ | |
public class IniTypeBinder : SerializationBinder | |
{ | |
public override Type BindToType(string assemblyName, string typeName) => Type.GetType(typeName.Split('=')[1]); | |
public override void BindToName(Type serializedType, out string assemblyName, out string typeName) | |
{ | |
assemblyName = $"{IniFormatter.AssemblyNameKey}={serializedType.Assembly.FullName}"; | |
typeName = $"{IniFormatter.ClassNameKey}={serializedType.AssemblyQualifiedName}"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The first demo shows how to extend the user information stored in the database. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demos showcasing data protection capabilities of ASP.NET Identity Core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Creating a custom ticket store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Extending anti-forgery tokens in ASP.NET Core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demo showing how to hook up custom callbacks for token creation and validation. |