Application Development Using C# and .NET

Front Cover
Prentice Hall Professional, 2002 - Computers - 623 pages
Application Development Using C# and .NET gives experienced developers unprecedented insight for building .NET enterprise applications with C#. A running case study covers the entire process: creating a monolithic C# console application; adding a Windows Forms interface; isolating functionality inside components, providing database access and security; and delivering functionality through ASP.NET and Web Services. Includes self-contained language overview for new C# users.
 

Contents

CHAPTER 1 What is Microsoft NET?
2
CHAPTER 2 NET Fundamentals 11
11
Applications of the Future
12
CHAPTER 3 C Overview for Sophisticated Programmers
26
Console Input in C
36
C Type System
52
Arrays and Indexers
66
More about Methods
72
Garbage Collection and Finalization
321
Summary
331
Data Readers
337
Parameters Collection
344
Optimistic vs Pessimistic Locking and the DataSet
354
Acme Travel Agency Case Study
371
Schema with Relationships
380
Web Forms Architecture
393

Exceptions
79
UserDefined Exception Classes
85
Unsafe Code
90
Summary
96
Designing the Encapsulation
108
HotelBroker
115
Summary
131
Collections
138
Step 2
154
Events
179
Summary
189
Windows Forms Event Handling
197
Controls
205
Dialog Boxes
218
ListBox Control
225
CHAPTER 7 Assemblies and Deployment
231
Private Assembly Deployment
246
Setup and Deployment Projects
258
CHAPTER 8 NET Framework Classes
266
Input and Output in NET
272
NET Application Model
283
Context
297
Asynchronous Programming
305
Remoting
311
RequestResponse Programming
405
Web Applications Using Visual Studio NET
413
Acme Travel Agency Case Study
427
ASP NET Applications
435
ASP NET Configuration
443
Database Access in ASP NET
456
CHAPTER 11 Web Services
464
SOAP Differences
478
Hotel Broker Web Service
488
Security
494
Specifying Users and Groups for Access in Web Config
520
Code Access Permissions
523
Code Identity
536
Summary
549
Enabling or Disabling Switches
555
Calling COM Components from Managed Code
560
Calling Managed Components from COM Client
572
Platform Invocation Services Plnvoke
579
Creating a Console Application
589
Debugging
595
Index
601
583
621
Copyright

Common terms and phrases