1 / 10

ASP.NET 2.0 Member/Role Management with IIS

ASP.NET 2.0 Member/Role Management with IIS. Peter Kellner, Software Engineer/Consultant http://peterkellner.net (download for class on Web Site). Overview. What is Member Management and Why do we need it? Using Member Management in the Real World, Demo. What Microsoft Provides

meg
Download Presentation

ASP.NET 2.0 Member/Role Management with IIS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ASP.NET 2.0 Member/Role Management with IIS Peter Kellner, Software Engineer/Consultant http://peterkellner.net (download for class on Web Site)

  2. Overview • What is Member Management and Why do we need it? • Using Member Management in the Real World, Demo. • What Microsoft Provides • Details about the Drop in Component for Managing Users and Roles

  3. Main Points From HillFinder Demonstration (Real World App) • Registration • Login Authentication • Password changing/recovery • Login Status • Membership Approval • Security Based On Roles • Roles In Action (hiding controls)

  4. The Member Management Page • What Gets Delivered with ASP.NET 2.0 out of the box? Web Configuration Lots of Nice Controls (Login, etc.) Provider API with several plugins (SqlExpress, SqlServer, others) What’s Missing??? IE Web Configuration!

  5. Membership Tab Page From HillFinder Application • Review Membership Page • Create a Sample User Page • Create a Sample Detail User page Including ComboBox For Selection • (DataKeyNames=“ProviderUserKey”)

  6. The DataObject • Show Overall Structure (Page 6) • Parameters In Select,Insert,Delete and Update • Review Insert,Delete and Update (Pages 7,8) • Review Get (Select) / Properties Page 9

  7. ObjectDataSource Declarations • Wizard driven, but really need to understand what is doing. • Reflection • Readonly, Writeonly Properties • Primary Key’s (Membership API a little Schizophrenic when it comes to UserName and ProviderUserKey)

  8. Sorting Have to’s, A Litte Tricky • To GridView, Must add to declaration: AllowSorting="True“ • To ObjectDataSource Declaration, Just Add SortParameterName="SortData“ (or whatever your Member Function Name is) • To GridView Column Attributes, Must add SortExpression="UserName“ • Dataobject must implement IComparable

  9. SecurityA Lot To Cover, Maybe Next TimeQuestions?

  10. Wow, Done… Questions?

More Related