NO STARCH PRESS
"the finest in geek entertainment"™
Home  | Catalog  | Where to buy  | About  | Jobs  | Media  | Blog  | Cart


book main | contents | reviews | updates

Introduction
Chapter 1: Why .NET
Business Problems Addressed by .NET
Performance and Scalability
The Benefits of .NET
Acceptance of Open Standards
   Web Services
Visual Studio .NET Development Features and Enhancements
   Visual Studio .NET Designers
Common Language Runtime
   .NET Languages
   Intermediate Language
   Server-to-Server Communication
Summary
Chapter 2: Evolution of Tier Development
Evolution of Tier Development
   Centralized Management
   Distributed Computing
   Performance
   Scalability
   Business Rules
   User Experience
Two-Tier Development
   Two-Tier Code Management
   Performance
   Data Access
   Business Rules
Three-Tier Development
   User Services
   Business Services
   Data Services
   Code Management
   Scalability
   Business Rules
N-Tier Development
   Dividing Business Services
   Facades Class
   Main Business Class
   Data Access Class
   Data-Specific Business Rules
   Business Processes
Constraints
   GUIDs
   Using a CHECK Constraint
   Triggers
The Downside
What to Do?
Application State
   Maintaining Application State in the Database
   Maintaining Application State in the Client
   The ASP .NET Solution
   Final Thoughts on Session State
Web Services
   Web Services Tier Model
   Why Web Services?
   Making Data Available
   Reducing Development
   Enhancing the User Experience
Candidates for Web Services
Summary
Chapter 3: Visual Studio .NET Walkthrough
Installing Visual Studio .NET
   Installation Walkthrough
Customizing the Visual Studio .NET IDE
   The Start Page
   Visual Studio .NET Macros
   Add-ins
    Add-in Wizard
The Visual Studio .NET Development Environment
   Preferred Access Connection
   Solution Explorer
   Dynamic Help
   Searching Help
   Task List
Command Window
Tool Box Window
   Server Explorer
   Document Window
   Properties Window
   Object Browser
Customization Options
   Environment
   Source Control
   Text Editor
   Database Tools
   Debugging
   Projects
Visual Basic .NET
   Creating a Visual Basic .NET Application
   Adding "Hello World" Code
   Building the Project
   Running the "Hello World" Application
C#
   Creating a C-Sharp "Hello World" Application
   Building, Running, and Debugging C# Code
ASP.NET
   Creating the "Hello World" ASP .NET project
   Creating the "Hello World" ASP.NET Page
   Viewing the "Hello World" Page
XML
   Examining a Simple XML Document
Web Services
   Creating a Simple Web Service
   Running the Sum_WebService Application
   Testing the Web Service
ADO.NET
   Scalability
   XML Persistence
   Creating a Simple ADO.NET Project
.NET Assemblies
   Compatibility
   Building Blocks
   Full Name Example Component
Summary
Chapter 4: The .NET Framework
The Common Language Runtime
Managed Code
Microsoft Intermediate Language
Just-In-Time Compilers
Assembly
   The Manifest
   Assembly Versioning
   Global Assembly Cache
Application Domains
Common Type System
Runtime Host
Namespace
.NET Class Framework
Summary
Chapter 5: Visual Studio .NET Tools
The Event Log
   Accessing the Event Log
   Event Types
   Event Log Types
   Managing Event Logs
   Filtering the log viewer
   Logging Application Events
Debugging
   Locals Window
   Autos Window
   Watch Window
   QuickWatch Dialog Box
   Call Stack Window
   Command Window
   Breakpoints
Package and Deployment
   Visual Studio .NET Wizards
   The Cab Project
   The Deployment Wizard
   The Merge Module Project
Summary
Chapter 6: Designers, Database and Monitoring Tools
The Windows Form Designer
Web Form Designer
The Component Designer
The XML Designer
   Schema View
   Data View
   Source View
The User Control Designer
Visual Database Tools
   Database Projects
   Database Designer
   Query Designer
   Script Editor
   Stored Procedures
Database Objects
   Index objects
   Constraints: The Implementation of Business Rules
Visual Studio Analyzer
   Visual Studio Analyzer Architecture
Crystal Reports
Enterprise Templates
Summary
Chapter 7: A Visual Basic .NET Crash Course
What's New in Visual Basic .NET?
   Option Explicit
   Option Strict
   Option Compare
   Option Base
   Boxing
   ReDim
   StringBuilder
Structures
Variable Scope
Regions
Windows Forms
Project Structure
ErrorProvider
Implementing Namespaces
Structured Exception Handling
   Exception Handling Rules
Basic Rules
Exception Handling Examples
   Try... Catch
   The Finally Clause
   The Exit Try Statement
   Multiple Catch Statements
Getting Exception Information
   Exception Class Properties and Methods Example
Object Oriented Programming (OOP)
   Abstraction
   Encapsulation
   Polymorphism
   Inheritance
   Properties
   Methods
Declaration Options
   Object Instantiation
Early and Late Binding
Components
Simple OOP Examples
   Adding Abstraction
   Adding Encapsulation
   Adding Polymorphism or Interface-based Inheritance
   Working with Inheritance
Summary
Chapter 8: ASP.NET
ASP Versus ASP.NET
Compiled Code
HTML and Server Controls
Postback
Application State (_ViewState)
SmartNavigation
ASP.NET Address Book Walkthrough
   System Requirements
   Visual Studio .NET
   IIS Server
   SQL Server 2000
Building the Address Book Database
   Creating the Database
   Creating the Table
   Creating a New ASP.NET Application
   Laying out the Page
   Behavior Functions
   Page_Load
   Page.IsPostBack
   Adding Data to the DataGrid
   Jazzing up our DataGrid
Summary
Chapter 9: Promoting Application Scalability
ADO.NET: An Introduction
   Implementing ADO.NET
Connection Object
   Setting OleDbConnection Properties
   Building a Connection Object
   SQLConnection
Command Object
   Building a Pass Through Query
   Command Objects Button
   CommandType.Text
   CommandType.TableDirect:
   CommandType.StoredProcedure
   Command object Execution Methods
   ExecuteNonQuery
   ExecuteReader
   ExecuteScalar
   ExecuteXmlReader
DataReader Object
   DataReader Object Example
   Initializing the DataReader Object
   Populate ComboBox Example
   DataReader Performance Tips
   Second Look at the AddressBook Example
DataAdapter Object
   DataAdapter Object Initialization
   DataAdapter Object Example
   DataAdapter Fill Method
   Resolving Changes
DataSet Object
   Quick Look at the AddressBook
   DataSet Object Example
   Building a DataSet Table from Excel
   Building a DataSet Table from SQL Server
   Building the Relationship
   Extracting XML
Stored Procedures
Upgrading to Stored Procedures
Running Stored Procedure Scripts
   ab_GetAddressBookInfo_ssp
   ab_GetContactDetailInfo_ssp
   ab_InsertContact_isp
   ab_UpdateContact_usp
   ab_DeleteContact_dsp
   Creating the New SP_GetAddressBookInfo Function
   Creating the New SP_GetContactDetailInfo function
   Creating the New SP_InsertContact Function
   Creating the New SP_UpdateContact Function:
   Creating the New SP_DeleteContact Function
Replacing Function Calls
   PopulateAddressBook
   GetContactDetail
   InsertRecord
   UpdateRecord
   DeleteRecord
Running the AddressBook Application
Using Stored Procedures and XML
   Insert and Update
   ab_InsertContactXML_isp...
Updating the AddressBook Functions...
XML Batch Insert Example...
Summary
Chapter 10: Web Services
Web Service Technologies
   XML
   XML Schema
   XSLT
   HTTP
   WSDL
   UDDI
   Eliminating Batch Processing Paradigms
   Ability to Charge for Web Services
   Web Service Hubs
Creating a Simple Web Service
   Compiling the Web Service
   Viewing the WSDL
   Testing the Web Service
   Debugging our Web Service
Consuming the Web Service
   Adding a Web Reference to Access the Service
   Debugging a Web Service from the Client
Summary
Chapter 11: COM Interop
Assembly Development
COM Interoperability
   Building the Assembly
   Building the COM Component
   Consuming classic COM with .NET
   Exposing Assemblies to classic COM
   sn.exe (Strong Name Tool)
   tlbexp.exe (Type Library Exporter)
   regasm.exe (Assembly Registration Tool)
   galutil.exe (Global Assembly Cache Tool)
   Consuming .NET with classic COM
Summary
Chapter 12: Enterprise Services
What is COM+?
   A Brief History of COM+
   Creating a COM+ Application
Building Serviced Components
   The WeddingList application
   The Windows Form
Adding Application Behavior
Creating the Database
Adding Test Data
Creating the Supporting Stored Procedures
The Middle-Tier Components
   The dal_DataAccess component
   The dal_WeddingList class
   The bll_WeddingList class Adding the WeddingList Objects to the GAC (Global Assembly Cache)
   Option 1: Using the .NET Framework Configuration Tool
   Option 2: Using the gacutil.exe utility
   Attaching the Client to the Assembly
Adding Functionality to the Client
Retrieving Detailed Information...
Why Use XML?
Code Review
Enterprise Development...
Creating the COM+ Application and Registering our Assembly...
Modifying the Client
Object Pooling...
Just-In-Time Activation (JITA)
Enterprise Services Check List
Creating a Façade Layer with Web Services
Where Do You Go from Here?

book main | contents | reviews | updates



Copyright 2008 by No Starch Press