
C# ПІДРУЧНИКИ / c# / Hungry Minds - ASP.NET Bible VB.NET & C#
.pdf
Figure 18-8: Bike.aspx displayed on a cell phone
Figure 18-9: Bike.aspx displayed on a Pocket PC
Figure 18-10: Bike.aspx displayed in a browser
Figure 18-11: A simple list
Figure 18-12: A bulleted mobile list
Figure 18-13: Selecting road bike
Figure 18-14: Viewing your first page of text
Figure 18-15: Viewing your next page of text
Figure 18-16: Listselect.aspx on the Pocket PC emulator
Figure 18-17: Listselect.aspx on the Openwave emulator
Figure 18-18: A TextBox on a cell phone
Figure 18-19: A TextBox on a Pocket PC
Chapter 19: ASP.NET Security
Figure 19-1: The Userauth.aspx page Figure 19-2: The Default.aspx page
Figure 19-3: Setting Integrated Windows Authentication for a virtual directory in IIS Figure 19-4: The Default.aspx page using Integrated Windows Authentication
Figure 19-5: Output after implementing role-based security (Teller1 is part of the Tellers role)
Chapter 20: Localizing ASP.NET Applications
Figure 20-1: Sample output of the SampleCulture.aspx file Figure 20-2: Sample output of a resource-aware application
Chapter 21: Deploying ASP.NET Applications
Figure 21-1: File System Editor
Figure 21-2: File System Editor button in Solution Explorer Figure 21-3: Add Project Output Group dialog box
Figure 21-4: Registry Editor
Figure 21-5: Registry Editor button in Solution Explorer Figure 21-6: File Types Editor
Figure 21-7: File Types Editor button in Solution Explorer Figure 21-8: Select Item In Project dialog box
Figure 21-9: User Interface Editor
Figure 21-10: User Interface Editor button in Solution Explorer Figure 21-11: Add Dialog dialog box
Figure 21-12: Custom Actions Editor
Figure 21-13: Custom Actions Editor button in Solution Explorer Figure 21-14: Launch Conditions Editor
Figure 21-15: Launch Conditions Editor button in Solution Explorer
Chapter 22: Introduction to Web Services
Figure 22-1: An HTTP -GET request with a query string Figure 22-2: The UDDI Find page
Figure 22-3: The UDDI Register page
Chapter 23: Web Services Infrastructure
Figure 23-1: Microsoft Web Services platform architecture
Chapter 24: Understanding SOAP
Figure 24-1: Structure of a SOAP Message
Figure 24-2: Structure of a SOAP message contained within an HTTP Post request
Chapter 25: Building a Web Service
Figure 25-1: Internet Information Services window Figure 25-2: Virtual Directory Creation Wizard Figure 25-3: Virtual Directory Alias panel
Figure 25-4: Web Site Content Directory panel Figure 25-5: Access Permissions panel
Figure 25-6: Final step of the Virtual Directory Creation Wizard Figure 25-7: Web service help page
Figure 25-8: WSDL document in Web browser Figure 25-9: Web method help page
Figure 25-10: XML results returned from method execution

Figure 25-11: .NET SDK Debugger window
Figure 25-12: .NET Debugger Processes dialog box Figure 25-13: Setting a breakpoint
Figure 25-14: Examining input arguments
Figure 25-15: Results window of successful method call
Chapter 26: Deploying and Publishing Web Services
Figure 26-1: UDDI home page
Figure 26-2: UDDI Web site personal registration page Figure 26-3: UDDI business registration administration page Figure 26-4: UDDI Service Registration page
Figure 26-5: UDDI service classification and bindings page Figure 26-6: UDDI Binding Detail page
Chapter 27: Finding Web Services
Figure 27-1: Using the Disco tool to find Web services
Figure 27-2: Using the Disco tool to discover information about the CTemp Web Service
Figure 27-3: The Microsoft UDDI Search Page
Figure 27-4: UDDI business registration information for Microsoft Figure 27-5: Microsoft Smart Searching Web Service bindings detail Figure 27-6: Results of executing the wsdl tool
Chapter 28: Consuming Web Services
Figure 28-1: Obtaining the WSDL document via the disco tool Figure 28-2: Generating the CTemp proxy class using the wsdl tool Figure 28-3: VB.NET compiler output
Figure 28-4: CTemp client user interface Figure 28-5: Results of temperature conversion
Chapter 29: ASP.NET Blackjack
Figure 29-1: The game begins. Figure 29-2: Hit me.
Figure 29-3: You busted.
Figure 29-4: You got 21! You win! Figure 29-5: You win!
Figure 29-6: You lose.
Chapter 30: Chatty Discussion Forum
Figure 30-1: The Topics page Figure 30-2: The Threads page Figure 30-3: The Messages page
Figure 30-4: The post message form at the bottom of the Messages page Figure 30-5: The NewThread page
Appendix A: Visual Basic Syntax
Figure A-1: The VB.NET GUI with the major sections highlighted Figure A-2: The New Project dialog box options
Figure A-3: Creating a new project
Figure A-4: The completed menu structure in MDI Form Figure A-5: The code editor for the File → Exit option Figure A-6: The new form definition window
Figure A-7: The completed Help About window design
Figure A-8: Running Mailman application showing Help About window open Figure A-9: Second step of the Data Form Wizard
Figure A-10: Completed connection portion of Data Form Wizard Figure A-11: The field selection page of the Data Form Wizard Figure A-12: Data display page of the Data Form Wizard
Figure A-13: Running application with the Address form open and operational
Appendix B: Visual Basic Functions and Features
Figure B-1: Module creation and naming window Figure B-2: Compiler options window
Figure B-3: Sample splash window
Figure B-4: Debug window showing results of the MenuCheck subroutine

Figure B-5: The Properties page of a push button object Figure B-6: Successful build results in the Output window Figure B-7: Debug menu items
Figure B-8: Debugging session showing the current line of code with a watch variable set
Figure B-9: Debug window showing set break point
Appendix C: Visual Basic Object-Oriented Programming
Figure C-1: The class hierarchy
Figure C-2: A sample Web application form
Figure C-3: A newly created class
Figure C-4: The sample output
Appendix D: C# Syntax
Figure D-1: The completed New Project dialog box
Figure D-2: The Solution Explorer window depicting the new project Figure D-3: Code that you need to delete to be able to add your code Figure D-4: The complete code of the HelloWorld.cs class
Figure D-5: Output of the while code Figure D-6: Output of the do...while code Figure D-7: Output of the for code Figure D-8: Output of the foreach code Figure D-9: Output ofthe if...else code
Figure D-10: Output of the switch...case code Figure D-11: Output of the exception-handling code
Appendix E: C# Classes
Figure E-1: A sample output of a Console application Figure E-2: A sample Windows form
Figure E-3: Output of the ASP.NET Web application
Figure E-4: Sample output of the application using an indexer Figure E-5: Sample output of the application using an event
Appendix F: C# Components
Figure F-1: Sample output of the Calculate class that uses CalculateAmount.dll as a component
Figure F-2: Sample Order Form
Figure F-3: The Add Reference dialog box
Figure F-4: Sample output of an ASP.NET Web application that uses CalculateAmount.dll
Figure F-5: The preliminary structure of a class with a namespace Figure F-6: A sample Calculator form
List of Tables
Chapter 1: Understanding the .NET Framework
Table 1-1: Fragment of an ASP.NET Page Trace Table 1-2: Common Type System Data Types Table 1-3: Non-CTS -compliant Data Types Table 1-4: Visual Studio .NET's Major Features
Chapter 3: Building Forms with Web Controls
Table 3-1: IDs of different controls
Table 3-2: Properties of the Label control Table 3-3: Properties of the TextBox control
Table 3-4: Properties of the CheckBox and CheckBoxList controls Table 3-5: Properties of the RadioButton and RadioButtonList controls Table 3-6: Properties of the ListBox control
Table 3-7: Properties of the DropDownList control Table 3-8: Properties of the HyperLink control Table 3-9: Properties of the TableCell object Table 3-10: Properties of the Image control


List of Sidebars
Chapter 17: Understanding Caching
State management in classic ASP