|
Dear Master,
I m looking for a example of asp.net security system in 3 tier(memebership, role, profile, SiteMap and Menu according to role in 3 tier), i tried to find it on web but unable to find it. if any one have it please share with me.
Thanks a lot.
Shafeeq
|
|
|
|
|
shafeeq_dba wrote: in 3 tier
3 tier is nothing but how code is managed and decoupled. Any of the above asked feature will not change because of it. There are number of articles on memebership, role, profile, SiteMap and Menu on web. Go through them and use them. Post specific issue if you face.
For 3 tier:
Create a class library - BusinessLogic. Add a reference of it in UI layer project.
Create a class library - DataAccess. Add a reference of it in BL layer project.
Now, from your UI, use the object model and pass on to BusinessLogic project class. This class is a Business logic class. Do the changes as per your need here.
Now, pass on the changed data from business logic class to dataAccess project class. In this class, use ADO.NET and pass on the needed values to Stored Procedure.
For getting back data, it will be transferred from DA to BL and then BL to UI layer.
Have a look at these, explaination with samples:
3-tier architecture in C#[^]
3-Tier Architecture Examples[^]
3-Tier Architecture in ASP.NET with C#[^]
|
|
|
|
|