Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 715 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
715
Dung lượng
14,97 MB
Nội dung
[...]... Relational Database Design Concepts 276 v Build YourOwn ASP.NET 2.0 Web Site UsingC#& VB Foreign Keys Using Database Diagrams Implementing Relationships in the Dorknozzle Database Diagrams and Table Relationships Summary 278 280 284 287 292 8 Speaking SQL 293 Reading Data from a Single Table 294 Using the SELECT Statement 297 Selecting... Summary 49 3 VB and C# Programming Basics 51 Programming Basics 51 Control Events and Subroutines 52 Page Events 56 Variables and Variable Declaration 59 Arrays 62 Functions 65 Operators 68 Conditional Logic 70 Loops 72 Build YourOwn ASP.NET 2.0 Web Site UsingC#& VB Object Oriented Programming... vii Build YourOwn ASP.NET 2.0 Web Site UsingC#& VB Binding DataSets to Controls Implementing Paging Storing Data Sets in View State Implementing Sorting Filtering Data Updating a Database from a Modified DataSet Summary 498 504 506 509 520 521 526 13 Security and User Authentication 527 Basic Security Guidelines 528 Securing ASP.NET. .. with Forms Authentication 532 ASP.NET 2.0 Memberships and Roles 544 Creating the Membership Data Structures 544 Usingyour Database to Store Membership Data 547 Using the ASP.NET Web Site Configuration Tool 552 Creating Users and Roles 554 Changing Password Strength Requirements 556 Securing your Web Application 559 Using the ASP.NET Login Controls 561 Summary... 645 HtmlGeneric Control 646 HtmlImage Control 647 HtmlInputButton Control 647 HtmlInputCheckBox Control 648 HtmlInputFile Control 649 ix Build YourOwn ASP.NET 2.0 Web Site UsingC#& VB HtmlInputHidden Control HtmlInputImage Control HtmlInputRadioButton Control HtmlInputText Control HtmlSelect Control HtmlTable Control ... Constructing ASP.NET Web Forms Web forms are the ASP.NET equivalent of web pages but, as we’ll see, the process of building ASP.NET web forms is a lot like composing a castle with Lego bricks! ASP.NET is bundled with hundreds of controls—including HTML controls, web controls, and so on—that are designed for easy deployment within your applications This chapter will introduce you to these building blocks,... you to the basics of ASP.NET We’ll walk through the process of installing it on your web server, and step through a simple example that demonstrates how ASP.NET pages are constructed But first, let’s define what ASP.NET actually is ASP.NET is a server-side technology for developing web applications based on the Microsoft NET Framework Let’s break that jargon-filled sentence down ASP.NET is a server-side... wondering what makes ASP.NET so good The truth is that there are many server-side technologies around, each of which has its own strengths and weaknesses Yet ASP.NET has a few features that really are unique: ❑ ASP.NET lets you use your favorite programming language, or at least one that’s close to it The NET Framework currently supports over 40 languages, and many of these may be used to build ASP.NET web... 2005 Finally, we’ll create a simple ASP.NET page to make sure that everything’s running and properly configured Chapter 2: ASP.NET Basics In this chapter, you’ll create your first useful ASP.NET page We’ll explore all of the components that make up a typical ASP.NET page, including directives, controls, and code Then, we’ll walk through the process of deployment, focusing specifically on allowing the... Pages 132 Using Cascading Style Sheets (CSS) 135 Types of Styles and Style Sheets 136 Summary 141 5 Building Web Applications 143 Introducing the Dorknozzle Project 144 Using Visual Web Developer 147 Meeting the Features 148 Executing your Project 156 Using Visual Web Developer’s Built-in Web Server 157 Using IIS . 659
Build Your Own ASP. NET 2.0
Web Site Using C# & VB
by Cristian Darie
and Zak Ruvalcaba
Build Your Own ASP. NET 2.0 Web Site Using C# & VB
by. 170
Using Application State 173
Working with User Sessions 180
Using the Cache Object 182
iv
Build Your Own ASP. NET 2.0 Web Site Using C# & VB
Using