Asp.Net MVC 5身份创建数据库管理界面 [英] Asp.Net MVC 5 Identity Create Database Admin Interface

查看:170
本文介绍了Asp.Net MVC 5身份创建数据库管理界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个新的asp.net的MVC应用5对一个小公司,我试图找出如何使用新的asp.net识别系统创建会员数据库。我认为有可能是一个管理界面,我可以用这将创建数据库,并允许我补充一些用户/角色。是否有该任务或另一种方式,我将需要完成它的管理界面?有没有在做这样的事情任何教程?所有我已经能够到目前为止发现已经处理了使用其他供应商,如Facebook或谷歌外部登录。

I'm working on a new asp.net mvc 5 app for a small company and am trying to figure out how to create the membership database using the new asp.net Identity system. I thought there might be an admin interface I can use which would create the database and allow me to add a few users/roles. Is there an admin interface for this task or another way I will need to accomplish it? Are there any tutorials on doing something like this? All I have been able to find so far has dealt with external logins using other providers such as Facebook or Google.

推荐答案

我是pretty确保它是基于关闭实体框架code首先的。当您创建数据库的背景下,它会自动创建表给你。

I'm pretty sure that it's based off of Entity Framework Code First. When you create the db context, it should create the table for you automatically.

http://msdn.microsoft.com/en-us/data/ jj193542.aspx

这篇关于Asp.Net MVC 5身份创建数据库管理界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆