Sample C# code with user logins/passwords?

B

Burt

Hi All,

I need to develop an C# internet app with logins, eg you create a
username and password, the password can be emailed to you if you forget
it, you can change the password etc.

Before I reinvent the wheel, does anyone know of sample code online
that will do this? Perhaps something from MS? I looked around but
couldn't find anything.

Thanks,

Burt
 
L

Landi

I need to develop an C# internet app with logins, eg you create a
username and password, the password can be emailed to you if you forget
it, you can change the password etc.

look at system.web.mail namespace on MSDN
logins into the website: this will vary widely depending on what you want to
do. Questions you will have to ask yourself. Are you going to use a
database to store username and password information or are you going to use
flat files, xml files....You get the idea.
You need to sit down and figure out how you want your stuff to work before
you can start to code.
 
W

William Stacey [MVP]

do. Questions you will have to ask yourself. Are you going to use a
database to store username and password information or are you going to
use
flat files, xml files....You get the idea.
You need to sit down and figure out how you want your stuff to work before
you can start to code.

Most true. Also note you can use Local account DB (i.e. SAM) or AD for your
user principal roles security without getting into another seperate DB.
That way you can leverage all the existing user account tools.
 
B

Burt

Landi and William,

Thanks for your replies. SQL Server will be the back end. There are no
current users. I was just hoping to find something prebuilt that I
could use as a starter, since this functionality is common to most of
the websites I've been to.

Thanks,

Burt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top