Re: Help with ASP.NET Memberships
- From: Phil H <google@xxxxxxxxxxxxxxx>
- Date: Mon, 15 Oct 2007 13:29:26 -0700
Dear Jonathan
The ASPNETDB database that is created can support multiple
applications. It has been designed to act as a common resource. One of
the fields in the tables is "Application ID"
It is not true that only Windows and Passport modes of authentication
are supported. It does indeed support Forms mode, in fact there are
special web controls for it e.g. the Login control which is available
in the toolbox of the VS2005 designer.
If you want to integrate the membership database with your application
database then the easiest way is to add your own tables etc to the
ASPNETDB database. The latter can be renamed to something else but you
will need to ammend the web.config file accordingly.
I'm afraid it's all too complicated to deal with here, I suggest you
study it further and give yourself a chance to absorb it all before
trying to implement it in an actual project. There are a lot of other
issues that need to be addressed, not the least is whether you can use
the default mode of access via so called "User instances" where
the .mdb file is attached "on the fly" to the SQL server, or whether
you set it up as a permanently attached database (SQL 2005 Express
edition will support it).
Having said that it's a great tool for controlling who can do what and
the various views that different users can have of the site and its
resources. It's well worth persevering with.
HTH
On 15 Oct, 20:37, "Jonathan Wood" <jw...@xxxxxxxxxxxxxxxx> wrote:
I'm taking my first stab at using ASP.NET memberships and could use some
help.
I'm following along in a book, which recommends I use the Web Application
Administration Tool in VS 2005.
A couple of problems:
1. The only choices it gives me for the authentication method are Windows
and Passport. Based on what I read, forms is what I need. Can anyone tell me
why this option isn't available?
2. I see it generated a complete, new database to store the membership
information in. That's okay I guess but doesn't it have the option of
storing those tables in my main database? Is it the standard to create a
separate database? Most of the data I need to store will be associated with
the users and so I assume I'd want to combine database and be able to extend
the user information that ASP.NET created. Am I off-track here?
Thanks for any help.
--
Jonathan Wood
SoftCircuits Programminghttp://www.softcircuits.com
.
- Follow-Ups:
- Re: Help with ASP.NET Memberships
- From: Jonathan Wood
- Re: Help with ASP.NET Memberships
- References:
- Help with ASP.NET Memberships
- From: Jonathan Wood
- Help with ASP.NET Memberships
- Prev by Date: Re: Help with ASP.NET Memberships
- Next by Date: Re: ASP .NET 2.0 Unanswered questions...
- Previous by thread: Re: Help with ASP.NET Memberships
- Next by thread: Re: Help with ASP.NET Memberships
- Index(es):
Relevant Pages
|