如何在C#中使用asp.net在3-Tier中创建登录页面 [英] How to create Login page in in 3-Tier using asp.net with C#

查看:98
本文介绍了如何在C#中使用asp.net在3-Tier中创建登录页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生/女士,
如何在3-Tier体系结构中使用c#在asp.net中创建登录页面.任何人都可以使用C#

Hi Sir/Madam,
How to create login page in asp.net with c# in 3-Tier architecture.Could any one forward the code for login 3-Tier architecture using asp.net with C#

推荐答案

这是一个很好的教程:
http://www.4guysfromrolla.com/webtech/110701-1.shtml [ ^ ]
签出
Here a good tutorial:
http://www.4guysfromrolla.com/webtech/110701-1.shtml[^]
Check it out


hiii,

请阅读这篇文章,这一定会对您有所帮助

http://www.dotnetfunda.com/articles/article71.aspx [ http://www.c-sharpcorner.com/uploadfile/paulabraham/building3tierapppa11282005053625am/building3tierapppa.aspx [ ^ ]
hiii,

please read this articles this will definitely help you

http://www.dotnetfunda.com/articles/article71.aspx[^]

or

http://www.c-sharpcorner.com/uploadfile/paulabraham/building3tierapppa11282005053625am/building3tierapppa.aspx[^]


层体系结构和层体系结构之间是有区别的,希望您问的是层级体系结构.

考虑下面是图层,

用户界面
业务,
数据

UI包含一个aspx表单登录页面,您可以使用该页面上asp.net 2.0中可用的开箱即用登录控件,并与Asp.Net成员资格提供程序,角色提供程序结合使用,您可以实现用户和角色,(身份验证和授权).

您可以覆盖默认的成员资格/角色提供程序以实现自定义行为,创建自己的用户,角色表,并在数据层具有DAO对象,为用户/角色周围的所有其他业务规则提供业务对象.使用提供程序中的这些对象.
There is a difference between, tier architecture and layer architecture, I hope you are asking layered architecture.

Consider below are the layers,

UI
Business,
Data

UI holds an aspx form login page, you can use out of the box login controls that are available in the asp.net 2.0 on the page, combined with Asp.Net Membership Providers, Role Providers, you can implement users and roles, (authentication and authorization).

you can override the default membership/role providers for custom behavior, create your own user, role tables and have the DAO objects at Data layer, have business object for any additional business rules around users/roles. use these objects from Provider.


这篇关于如何在C#中使用asp.net在3-Tier中创建登录页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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