- No Entitity Framework
- Used Biggy as store
Uninstall-Package Microsoft.AspNet.Identity.EntityFramework
Install-Package Microsoft.AspNet.Identity.Core
Install-Package Microsoft.AspNet.Identity.Owin (for the SignInManager)
Asp.Net Identity with Biggy
Uninstall-Package Microsoft.AspNet.Identity.EntityFramework
Install-Package Microsoft.AspNet.Identity.Core
Install-Package Microsoft.AspNet.Identity.Owin (for the SignInManager)
Hello,
I have an implementation of this project for my work and I'm facing a difficulty in retrieving the list of users/roles from the local DB to create a table of users and assigned roles.
I've tried to create a ToList() function in the UserStore class but I'm unable to access the UserStore in the controller, UserManager doesn't have any implementation of custom functions.
I've also tried to retrieve the list of users through the IEnumerator from the UserManager, but I'm getting an error (the error comes from the Users object UserManager.Users.GetEnumerator():
System.NotSupportedException: 'Store does not implement IQueryableUserStore.'
Here is the code of the controller that I'm trying to use:
//
// GET: /Account/Users
[Authorize(Roles = "Administrators")]
public ActionResult Users()
{
var EnumeratorUsers = UserManager.Users.GetEnumerator();
List<User> users = new List<User>();
while (EnumeratorUsers.MoveNext() == true)
{
users.Add(EnumeratorUsers.Current);
}
return View(users);
}```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.