TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 65

Professional in C# and Visual Basic Part 65. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 12 Introduction to the Provider Model add name AspNetSql2005MembershipProvider type Version Culture neutral PublicKeyToken b03f5f7f11d50a3a connectionStringName LocalSql2005Server enablePasswordRetrieval false enablePasswordReset true requiresQuestionAndAnswer true applicationName requiresUniqueEmail false passwordFormat Hashed maxInvalidPasswordAttempts 5 minRequiredPasswordLength 7 minRequiredNonalphanumericCharacters 1 passwordAttemptWindow 10 passwordStrengthRegularExpression providers membership configuration Figure 12-8 597 Chapter 12 Introduction to the Provider Model With these changes in place the SQL Server 2005 instance is now one of the providers available for use with your applications. The name of this provider instance is AspNetSql2005MembershipProvider. You can see that this instance also uses the connection string of LocalSql2005Server which was defined in Listing 12-1. Pay attention to some important attribute declarations from Listing 12-2. The first is that the provider used by the membership system is defined via the defaultProvider attribute found in the main membership node. Using this attribute you can specify whether the provider is one of the built-in providers or whether it is a custom provider that you have built yourself or received from a third party. With the code from Listing 12-2 in place the membership provider now works with Microsoft SQL Server 2005 as shown in this example instead of the Microsoft SQL Server Express Edition files. Next you look at the providers that come built into the install starting with the membership system providers Membership Providers The membership system enables you to easily manage users in your applications. As with most of the systems provided in it features a series of server controls that interact with a defined provider to either retrieve or record information to and from the data store .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.