Nannette Thacker ShiningStar.net
<a href="http://weblogs.asp.net/nannettethacker/pages/senior-web-application-developer-consultant.aspx">ASP.net Web Application Development</a>
-
Deploying the ASPNETDB.MDF to a Remote SQL Server Database
Topic: Using Publish to Provider to generate scripts to create/move/copy .MDF databases to your remote SQL Server database.
-
Visual Studio 2008 does not support SQL Server 2008 - SP1 Needed
I just purchased Visual Studio 2008 and SQL Server 2008 Web Edition and after setting up the database server, I tried to add a connection to my Visual studio 2008 project to obtain a remote connection and was given this error message:
-
Log Out Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 14
When the user clicks to Log Out, we'll call our own custom functions to kill the cookies, possibly make database changes, and return them to the Log In page.
The built-in Log Out functionality is overridden in this example so that we can have more control over our cookies and what events actually take place. -
Register Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 13
On our Registration page, we'll look at a few Regular Expressions. We'll use client side validation using the RequiredFieldValidator and also the RegularExpressionValidator. On server side, we'll again check our validations using our FormUtility class and some Regex regular expressions defined there.
-
Log In Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 12
On our Log In Page, we use a custom Remember Me checkbox instead of the checkbox included with the log in control. This way we can remove our log in cookie ourselves and do any database changes needed to log the user out.
-
Cookie Handler class - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 11
When we log in to the site, we optionally set a Remember Me cookie. This cookie is checked each time the Master Page is loaded, so that if the user is not logged in, they are auto-logged into the web site. Below are our cookie handling classes:
Our AppCookie.vb class is a generic handler for all cookies. Our SSSCookie.vb class is specifically for the current application. -
Our Master Page - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 10
Continuing our series, we look at our source code for our Master Page.
-
Our Custom RoleProvider Class - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 9
We continue our series by displaying our source code for our Custom RoleProvider class.
-
Customizing our MembershipProvider Class - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 8
In this series, we are now ready to customize our MembershipProvider class. We will use a custom Remember Me log in cookie.
-
Creating Our Custom MembershipUser Class - Creating a Custom Membership Provider and Membership User utilizing a Data Set Table Adapter - Step 7
We are now ready to create our custom MembershipUser Class. First create a new class and add it to your ProviderClasses directory.