Re: using custom database for membership and rolls ?




"out of the box" will run on Express, 2005 "normal" editions, and even 2000.
Go here:
http://www.google.com/search?source=ig&hl=en&rlz=&q=MembershipProvider+%22Sql+Server+2000%22

and you'll see how an alternate, but still "out of the box" system can work.
This is using the SqlMembershipProvider.

....................

No, if you have a custom database...and you've written a custom membership
provider, you don't need any setup tool.

However, you need to configure your config file to actually use the custome
membership provider you have.

,,,,,,

Here is a good learning exercise:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=404
and it will take you to
http://msdn2.microsoft.com/en-us/asp.net/Aa336558.aspx Sample Access
Providers

This is how to use Access (Jet database) for membership.

Obviously, you're probably not going to actually use Access, but if you get
the Access thing working, and the CustomMembershipProvider(viaAccess)
working, you will begin to understand how it all fits.

...

There aren't alot of shortcuts. You actually gotta understand how an
alternative one works, then you can start to code your own.

Work thru the Access, and it'll start to make sense.

You got the tools and links now, now you gotta make the attempt.




"darrel" <notreal@xxxxxxxxxxx> wrote in message
news:OdxBSpuIIHA.588@xxxxxxxxxxxxxxxxxxxxxxx
If you have a custom database, you need to write a custom membership
provider which interacts with that database.

Ah! I might be beginning to see the light!

Is it fair to say the 'out of the box' is really only suitable for SQL
Express?

If one is writing their own custom mebership provider, does one still need
to run the command-line tool to 'setup' their custom database?

Are there any articles/tutorials that focus more on the 'write your own'
rather than the 'click click wizard' technique?

-Darrel



.



Relevant Pages

  • Re: Replacing VS .NETs SQL Server Express Edition Integration
    ... You could write a custom membership provider. ... You could add the tables you need to your existing database table. ... As for configuring ASP.NET 2.0 membership to connect SQL Server 2000, ...
    (microsoft.public.dotnet.framework.aspnet)
  • programmatic database access
    ... I will use this class to do the gruntwork for a custom membership ... Second I need help with the programmatic access of the database. ... provider when it appears in the web.config membership provider tag. ... static string to hold the connectionString for the connection setup. ...
    (microsoft.public.dotnet.languages.csharp)
  • WebControls.Login.MembershipProvider
    ... I've also configured the web.config to specify the new database as the ... role provider and the membership provider. ... membership provider is specified as default in the web.config). ... Express installed on the same machine, along with SQL Server 2000 as ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Membership and SQL Server 2000
    ... ASP.NET 2.0 Membership and Login thread. ... Writing a Custom Membership Provider ... Installing the Database using aspnet_regsql.exe ... > It works fine with SQL Express, but i need to link it up to my existing db. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: typed datasets vs. business objects
    ... When I use a business object to populate a gridview, for example, I ... don't have to loop through anything. ... I have done lots and lots and lots of reading on them vs custom ... DAL objects that the in-house written database engine used. ...
    (microsoft.public.dotnet.general)