Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
Thousands of businesses have used Microsoft ASP.NET to build professional, dynamic websites. In this course, web developer David Gassner demonstrates the tools needed to build and deploy a dynamic site using ASP.NET 3.5 or 4.5. Covering everything from installing and configuring Visual Web Developer 2008 or Visual Studio Express 2012 for Web and SQL Server Express to creating web form pages, this course is designed to give beginning and intermediate developers hands-on experience.
The ASP.NET Framework supports three automatic modes of authentication known as Windows authentication, Forms authentication and Passport authentication. Windows authentication means that you build authentication against the built-in authentication system of the Windows operating system. With Forms authentication, you work against a database in which you store user information. And with Passport authentication, you are authenticating users against their passport credentials, a system of user names and passwords that's stored by Microsoft itself.
In this chapter, I'll focus on Forms authentication. The Forms authentication model requires configurations to your website in the web.config file and then creation of the setup pages. In this first step, I'm going to open a website. I'll go to the menu, and select File > Open Web Site and then I'll open the folder Security. Then I'll go to the file web.config. I'll open up the web.config file to full screen by pressing Alt+Shift+Enter. When you first create a website, it's setup with Windows based authentication. Press Ctrl+F for Find, and I'll search for the string authentication, starting with the tag character.
The authentication is set initially with a mode attribute set to Windows. I'll change that value to Forms and save the changes. And click the Full Screen button to return to regular display. Once you have turned on Forms based authentication, you are then ready to create the user interface. In the remaining videos of this chapter, I'll describe creating a login page with Login.aspx and a page to add new users called Signup.aspx. And I'll show you how to add logout functionality through the Application menu.
Find answers to the most frequently asked questions about ASP.NET Essential Training.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.