Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 4th, 2010, 06:05 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default 3rd party roles provider broken; can I work around?

What happens if you have a custom membership provider that's working fine, but the custom roles provider which goes with it is broken?

Can users log in like normal except that everyone has the same access rights?
Can you access their data in the membership table?
Or are roles required for membership to function?

What would be your recommended approach: deploy the basic functionality, build my own roles provider and use that instead? Or am I screwed and need to wait however many months it takes these guys to solve the problem and release a new version?
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.

Last edited by chroniclemaster1; January 4th, 2010 at 06:07 PM..
 
Old January 4th, 2010, 09:30 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

You don't need roles to use Membership. They work together, but they actually use seperate providers and APIs.

This means that you could use a custom Membership provider with the out-of-the-box AspNetSqlRoleProvider, if you put the correct schema / sprocs in place for that.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
chroniclemaster1 (January 4th, 2010)
 
Old January 4th, 2010, 09:55 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

Thanks Lee!

I knew they were separate providers, but I didn't want to spend a couple weeks trying to get a login system working only to query the forum and hear "Oh yeah, it won't work without that."

I will see what I can pull together on my own then.
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to obtain 3rd party components MichaelBate General .NET 1 August 29th, 2008 08:00 PM
3rd party application invoke from ASP MehulCSC Classic ASP Professional 1 June 9th, 2008 01:45 PM
3rd party application from ASP MehulCSC Classic ASP Basics 1 June 9th, 2008 01:18 PM
Favorite 3rd party software with MySQL MySQLGeek MySQL 0 January 11th, 2008 05:32 AM
Crystal and Oracle and 3rd Party narooma.12 Crystal Reports 0 January 4th, 2005 04:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.