Flylib.com
List of Listings
Previous page
Table of content
Chapter 2: Accessing Data in ADO.NET
Listing 2-1: Auto-Generated Stored Procedures for the Dat_Issue Table
Listing 2-2: The Abstract Base Class for All Business Objects
Listing 2-3: The Issue Business Object Definition
Listing 2-4: The Abstract Base Class for All Business Object Collections
Listing 2-5: The IssueCollection Business Object Collection
Listing 2-6: IssueCollection Implementation with an Optional Group Action Method
Listing 2-7: The SelectOne Method That Populates a Single Business Object
Listing 2-8: The SelectAll Method That Populates a Business Object Collection
Listing 2-9: The Insert Method That Writes a Filled Business Object to the Database
Listing 2-10: The Update Method That Replaces a Filled Business Object in the Database
Listing 2-11: The Delete Method That Removes a Matching Business Object from the Database
Chapter 3: Using Networking Directory Services
Listing 3-1: The User Business Object Class
Listing 3-2: Validating a User Login Against Active Directory
Listing 3-3: Evaluating the User Profile Against Active Directory Values
Listing 3-4: Evaluating the User Profile Against Active Directory Values
Chapter 4: Applying Reliable Messaging
Listing 4-1: The MessagingFramework Class
Listing 4-2: Creating a New Message Queue
Listing 4-3: Deleting an Existing Message Queue
Listing 4-4: MessageComposer Test Application
Listing 4-5: MessageConsole Test Application
Listing 4-6: MessageConsole Application with Message Peeking
Listing 4-7: Displaying Multiple Messages Within a Message Queue
Listing 4-8: Outputting All Available Message Queues
Listing 4-9: Specifying a Message Queue by Criteria
Listing 4-10: Checking to See If a Message Queue Exists
Listing 4-11: Purging All Messages from a Queue
Listing 4-12: Designating an Administration Queue for Acknowledgment Messages
Listing 4-13: Resending Failed Messages
Listing 4-14: Sending a Message Containing a Serialized Object
Listing 4-15: Receiving a Message Containing a Serialized Object
Listing 4-16: Sending a Series of Messages as a Transaction
Listing 4-17: Receiving a Message Within a Transaction
Listing 4-18: AnalysisService Implementation
Chapter 5: Integrating Mail Services
Listing 5-1: The BusinessService Abstract Class Definition
Listing 5-2: The E-Mail Business Service Definition
Listing 5-3: The SendMessage Method Implemented in the EmailService Object
Listing 5-4: EmailService Client Code
Listing 5-5: EmailService Client Code with an Attachment
Listing 5-6: The MailMessageTemplate Business Object
Listing 5-7: Adding Property Accessors to the EmailService Object
Listing 5-8: Sample E-Mail Template for an Object-Driven Message
Listing 5-9: Implementing the Object-Driven SendMessage Method within EmailService
Listing 5-10: Implementing the GetMail Method in the EmailService Object
Chapter 6: Automating Business Processes
Listing 6-1: The Application Integration Component Skeleton Class
Chapter 7: Building Web Applications
Listing 7-1: Login Page Implemented Using the Grid Layout
Listing 7-2: Login Page Target for Netscape Navigator 4.0
Listing 7-3: Abstracting Issue Set and Get Functions with the IssueManager Class
Listing 7-4: Abstracting User Set and Get Methods with the UserManager Class
Listing 7-5: Abstracting Reference Data Retrieval with the ReferenceDataManager Class
Listing 7-6: Binding Web Form Controls to Reference DataTable Objects
Listing 7-7: Data Binding a DataGrid to a Custom Business Object Collection
Listing 7-8: Dynamically Populating Web Form Controls Using Reflection
Listing 7-9: Inheriting from ReflectionPage Instead of the Page Base Class
Listing 7-10: Storing a User Object to the Session
Listing 7-11: Retrieving a User Object from the Session
Listing 7-12: Web Form Values Assigned to a Matching Business Object
Listing 7-13: The Business Object Implementing a Validate Method That Checks the Values
Listing 7-14: Implementing the Page_Load Method of the AppMenu.ascx Control
Listing 7-15: A New Event Handler to Validate Credentials and Save to the Session
Chapter 8: Developing Desktop Applications
Listing 8-1: Displaying a Child Form Within the MDI Parent
Listing 8-2: The ObjectMappingEntry Class
Listing 8-3: The Controller Object
Listing 8-4: The MDI Application's Form_Load Event Handler
Listing 8-5: Using the Controller Class to Process User Actions
Listing 8-6: Filling a List View with Summary Data
Listing 8-7: Data Binding with Form Controls
Listing 8-8: An Improved Process Method for the Controller Class
Listing 8-9: Implementing the FrameworkViewer Base Class
Listing 8-10: Storing Application Configuration Settings in the app.config File
Listing 8-11: Accessing the app.config File for Controller Settings
Listing 8-12: Filling Combo Box Controls with Complex Data Binding
Listing 8-13: Selecting the Viewable Data in a Collection Using the BindingContext
Listing 8-14: Data Binding DataGrid Controls to DataTables
Listing 8-15: Implementing a Timer Control to Display the Time
Listing 8-16: Adding a Long Delay Method in Response to User Action
Listing 8-17: Implementing a Simple Delay Method
Listing 8-18: Shifting the Delay Method to Another Thread for Better Application Response
Listing 8-19: Beginning the Drag Process
Listing 8-20: Beginning the Process with a Drag
Listing 8-21: Determining If a Drop Should Be Allowed
Listing 8-22: Ending the Process with a Drop
Listing 8-23: Reading from the System Registry at the Start of the Application
Listing 8-24: Writing to the System Registry upon Application Close
Listing 8-25: An Updated Timer Event Handler Displaying the Date in a Different Culture
Listing 8-26: Performing Date Mathematics with the DateTime Object
Listing 8-27: Formatting a Currency Value According to a Culture
Chapter 9: Using XML and Web Services
Listing 9-1: issuedata.xml
Listing 9-2: issuedata.qualified.xml
Listing 9-3: issuedata.default.xml
Listing 9-4: DataSetIssueTracker.xsd (Partial Listing)
Listing 9-5: Exporting XML Data from the ReferenceDataSet Object
Listing 9-6: Importing XML Data into the ReferenceDataSet Object
Listing 9-7: LoginServices.cs in the Web Service Project
Listing 9-8: Adding Capability to Validate a Login Key
Listing 9-9: IssueServices.cs in the Web Service Project
Listing 9-10: Implementing the GetSpecificIssueXml Business Facade Method
Listing 9-11: Retrieving an Issue Record As XML
Listing 9-12: The app_IssueSelectAsXml Database Stored Procedure
Listing 9-13: XML Output from the GetSpecificIssue Web Service Method
Listing 9-14: FormLogin.cs in the WinUI Project
Listing 9-15: The Definitions Element of a Sample WSDL File
Listing 9-16: The Types Element of a Sample WSDL File
Listing 9-17: The Message Element of a Sample WSDL File
Listing 9-18: The Ports and Channels Element of a Sample WSDL File
Listing 9-19: The Types Operations of a Sample WSDL File
Listing 9-20: The Service Element of a Sample WSDL File
Chapter 11: Deploying .NET Applications on Wireless Devices
Listing 11-1: Displaying Form Data from an XML Document
Listing 11-2: Reading a List of Issues from a Transferred XML Document
Listing 11-3: Synchronizing the SQL Server CE Database
Listing 11-4: Displaying Issues Based on SQL Server CE Data
Listing 11-5: Displaying Issue Details Based on Data Retrieved from a Web Service
Listing 11-6: Displaying the IssueTracker Splash Screen
Listing 11-7: An Audio Playback Layer Based on Platform Method Invocation
Listing 11-8: Accessing the Audio Playback Layer
Listing 11-9: Changing the Device Cursor Based on Platform Method Invocation
Listing 11-10: Implementing Forms Authentication for Mobile Clients
Listing 11-11: Form Security Changes to the web.config File
Listing 11-12: Integrating Web Service Data into a Mobile Application Form
Listing 11-13: Data Binding to Mobile Form Controls
Listing 11-14: Creating a Dynamic Chart in a Mobile User Control
Chapter 12: Integrating .NET Applications
Listing 12-1: Adding the IIntegrationAdapter Interface to the IntegrationCommon Project
Listing 12-2: Creating the DatabaseAdapterService Class
Listing 12-3: The XML Extraction Stored Procedure
Listing 12-4: Retrieving a Database Record As XML
Listing 12-5: The Resulting XML Produced by the ReadRecord Method
Listing 12-6: Retrieving Data Records from a CSV File As XML
Listing 12-7: The XML Retrieved from an Export Document
Listing 12-8: Implementing the Changed Event Handler for the FileSystemWatcher Control
Listing 12-9: The Document Integration Adapter Configuration File
Listing 12-10: Retrieving Configuration Settings for the Integration Adapter
Listing 12-11: Defining a Common Integration Server Interface
Listing 12-12: Creating the Integration Server Windows Service
Listing 12-13: Managing Application-to-Application Data Mappings with the MappingEntry Object
Listing 12-14: The Integration Service Configuration File
Listing 12-15: Retrieving Configuration Settings for the Integration Server
Listing 12-16: Using the <xsl:if> and <xsl:choose> Instructions to Evaluate Source Data
Listing 12-17: Invoking XSLT Processing Within the Integration Server
Listing 12-18: Implementing Adapter to Server Communication with MSMQ
Listing 12-19: Processing Incoming Data Messages in the Integration Server
Listing 12-20: Implementing Remoting Services Within the Integration Adapter
Listing 12-21: Implementing Remoting Services Within the Integration Server
Chapter 13: Understanding .NET Security and Cryptography
Listing 13-1: Web.config File Set to Windows Authentication Mode
Listing 13-2: Web.config File Set to Refuse Anonymous Connections
Listing 13-3: Spanning the Web.config Directory Permissions Across Multiple Directories
Listing 13-4: Viewing a User's Login Identity
Listing 13-5: Enabling Forms Authentication in the Web.config File
Listing 13-6: Processing the FormsAuthentication Object
Listing 13-7: Validating Forms Authentication Against a Database
Listing 13-8: Changes to the Login Event Handler to Support Database Validation
Listing 13-9: Implementing a Logout Web User Control
Listing 13-10: Enabling Passport Authentication in the Web.config File
Listing 13-11: Rendering the Passport Sign In/Sign Out Buttons and Status
Listing 13-12: Assigning a User to a Specific Set of Roles
Listing 13-13: Dynamically Rendering Application Menus Based on User Role
Listing 13-14: Enabling Code Access Security for Specific Methods and Roles
Listing 13-15: Public Key Generation Method
Listing 13-16: Data Encryption Method
Listing 13-17: Data Decryption Method
Chapter 14: Installing .NET Applications
Listing 14-1: The DatabaseSetup Installer Class
Listing 14-2: Implementing the Create New Database Function
Appendix A: Building the IssueTracker Database
Listing A-1: Dat_Company
Listing A-2: Dat_Issue
Listing A-3: Dat_User
Listing A-4: Val_IssueType
Listing A-5: Val_MailMessages
Listing A-6: Val_Priority
Listing A-7: Val_Reports
Listing A-8: Val_Status
Previous page
Table of content
Developing .NET Enterprise Applications
ISBN: 1590590465
EAN: 2147483647
Year: 2005
Pages: 119
Authors:
John Kanalakis
BUY ON AMAZON
High-Speed Signal Propagation[c] Advanced Black Magic
Impedance of Linear, Time-Invariant, Lumped-Element Circuits
Pcb (printed-circuit board) Traces
The Future of On-Chip Interconnections
150-Ohm STP-A Cabling
Daisy-Chain Clock Distribution
The CISSP and CAP Prep Guide: Platinum Edition
Telecommunications and Network Security
The Certification Phase
Appendix C The Information System Security Architecture Professional (ISSAP) Certification
Appendix D The Information System Security Engineering Professional (ISSEP) Certification
Appendix F Security Control Catalog
Adobe After Effects 7.0 Studio Techniques
Study a Shot like an Effects Artist
Rotoscoping and Paint
Expressions
Cineon Log Space
Working with Light
Cisco IP Telephony (CIPT) (Authorized Self-Study) (2nd Edition)
Implementing Telephony Call Restrictions and Control
Time-of-Day Routing Overview
Blocking Endpoint Attacks
Excel Scientific and Engineering Cookbook (Cookbooks (OReilly))
Using Exponents in Formulas
Working with Data Types
Debugging VBA Code
Using Trigonometry Functions
Calculating the Second Moment of an Area
Digital Character Animation 3 (No. 3)
The Language of Movement
Conclusion
Chapter Eight. Animal Motion
Acting Vs. Animating
Developing a Story
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies