Download e-book for iPad: Building a Web 2.0 Portal with ASP NET 3.5 by Omar AL Zabir

Implementing the Start Page of a Web Portal | 43 Example 3-2.

Registered user accounts are in aspnet_membership table. They aren’t shown in Figure 2-3 because there’s no relationship between aspnet_membership table and the tables. • The Page table contains foreign key references on the aspnet_users table’s UserId column. • The Widget table contains the widget inventory or master list. It defines each widget’s title and the location from where the widget is dynamically loaded. It also defines the widgets created by default during a user’s first visit. • The WidgetInstance table has the foreign key references on the PageId and WidgetId columns, as well as the Page and Widget table’s ID columns, respectively.

Although you can use a site like Dropthings for quite a while without registering, registration will save the pages permanently so that when you use a different computer, you can log in and get the same pages with the same widget setup. The ASP. NET membership and profile provider allows anonymous users to have a persistent state but convert to a registered user after signup. The page and widget states are stored in their own tables. NET membership provider contributes the user and roles. If the user has one or more pages, each page can contain one or more widget instances.

Download PDF sample

Building a Web 2.0 Portal with ASP NET 3.5 by Omar AL Zabir

by Kevin

Rated 4.56 of 5 – based on 43 votes