如何在实体框架中使用存储库类创建身份验证(登录页面) [英] how to create authentication (login page) using repository class in entity framework

查看:56
本文介绍了如何在实体框架中使用存储库类创建身份验证(登录页面)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<pre lang="c#">





我是Mvc的新人所以我不喜欢如何创建。

i希望在EF中使用Repository类来创建登录页面。



I m new in Mvc so i don't how to create.
i want to crate login page in EF with Repository class.

推荐答案

你的问题显然是胡说八道。 EF与登录页面无关。

但是这里看一下MVC,表单身份验证和EF的示例: ASP.NET MVC应用程序中自定义窗体身份验证的初学者教程 [ ^ ]
Your question is clear nonsense. EF has nothing to do with the login page.
But look here for an example with MVC, form authentication and EF: A Beginner's Tutorial on Custom Forms Authentication in ASP.NET MVC Application[^]


这篇关于如何在实体框架中使用存储库类创建身份验证(登录页面)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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