Skip to content

TypecastException/AspNet-Identity-2-Extensible-Project-Template

Repository files navigation

AspNet Identity 2.0 Extensible Project Template

This project expands upon the work done by the ASP.NET Identity Team in the Identity Samples project. The goal is to provide a basic project template wherein the core identity Model classes are easily extensible without messing about with the generic type arguments.

While extending the basic ApplicationUser class provided in the original Identity Samples project was always relatively straightforward, Extending the Role implementation required some significant work.

In this project, you can simply add additional properties and/or methods to any of the Identity Model classes as defined in the IdentityModels.cs file.

For more information, see:

The code in this repo is for a project where the Identity models use string keys. If you prefer integer keys (and database PK fields) see this repo instead:

AspNet Identity 2.0 Extensible Project Template (integer keys)

There is a lot of good information here about how things work under the hood with the generic types, even if you don;t plan to use the integer keys:

Please feel free to open issues, report bugs, and/or shoot me a pull request if you see potential fixes/improvements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages