Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying ASP.NET 3.5 Social Networking
  • Table Of Contents Toc
ASP.NET 3.5 Social Networking

ASP.NET 3.5 Social Networking

By : Andrew Siemer
4.1 (10)
close
close
ASP.NET 3.5 Social Networking

ASP.NET 3.5 Social Networking

4.1 (10)
By: Andrew Siemer

Overview of this book

Table of Contents (19 chapters)
close
close

Solution


Now, let's take a look at how we can go about implementing all the new features.

Implementing the database

We will start by implementing our database, and we will work our way up from there.

The Accounts table

The Accounts table will store all the base information for a user. Most of this is easy to figure out as they have indicative names (a sign of good design).

However, there are a few columns that may not be 100% clear at first glance. I will explain those here.

EmailVerified

This is a bit flag to let us know if a user's email address has been verified or not.

CreateDate

This is the date on which the record was created. It has a default value of GetDate().

LastUpdateDate

This is similar to the CreateDate with the exception that we should update it every time we update the record. This could be done with a trigger, or done programmatically.

Timestamp

As stated before, LINQ requires us to have a Timestamp so that we can easily use the Attach() method for persisting...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
ASP.NET 3.5 Social Networking
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon