.NET
Development
for
Java
Programmers
PAUL
GIBBONS
APress Media, LLC
.NET
Development
for
Java
Programmers
Copyright
©2002
by
Paul
Gibbons
Originally published by Apress in 2002
All
rights reserved. No
part
of
this work
may
be
reproduced
or
transmitted
in
any
form
or
by
any
means, electronic
or
mechanical, including photocopying, recording,
or
by
any
information
storage
or
retrieval system, without the prior written permission
of
the
copyright owner
and
the
publisher.
ISBN 978-1-59059-038-6 ISBN 978-1-4302-1106-8 (eBook)
DOI 10.1007/978-1-4302-1106-8
Trademarked
names
may
appear
in
this book. Rather
than
use a trademark symbol with every
occurrence
of
a trademarked name, we use
the
names
only
in
an
editorial fashion
and
to
the
benefit
of
the trademark owner, with
no
intention
of
infringement
of
the
trademark.
Technical Reviewer: David Pollak
Editorial Directors:
Dan
Appleman, Peter Blackburn, Gary Cornell, Jason Gilmore, Simon Hayes,
Karen Watterson, John Zukowski
Managing Editor: Grace Wong
Project Manager: Alexa Stuart
Copy Editor:
Kim
Wimpsett
Production Editor: Janet
Vail
Composition: Impressions Book
and
Journal Services, Inc.
Indexer: Shane-Armstrong Information Services
Cover Designer: Kurt Krames
Manufacturing Manager: Tom Debolski
Marketing Manager: Stephanie Rodriguez
The information
in
this
book
is distributed
on
an
"as is" basis, without warranty. Although every
precaution has
been
taken
in
the
preparation
of
this work,
neither
the
author
nor
Apress shall
have
any
liability to
any
person
or
entity
with
respect to
any
loss
or
damage caused
or
alleged
to
be
caused directly
or
indirectly by
the
information contained
in
this work.
To
my
family,
for all the things you continue
to
teach
me.
Contents
at a
Glance
Foreword
............................................................
.
xiii
About
the
Author
...................................................
.
xv
About
the
Technical
Reviewer
....................................
.
xvi
Acknowledgments
...................................................
.
xvii
Introduction
.......................................................
.
xix
Chapter
1
Introducing
C#
..........................................
..
1
Chapter
2 Introducing the
C#
Language
............................
9
Chapter
3 Introducing the •
NET
Platform
........................
.
59
Chapter
4
Using
Win
forms
...........................................
67
Chapter 5 Building
Web
Sites
with
ASP.NET
......................
97
Chapter
6 Exploring
ADO.
NET
......................................
.
117
Chapter
7 Understanding Multithreading
........................
.
157
Chapter
8 Understanding
Networking
............................
..
171
Chapter 9
Working
with
XML
......................................
..
205
Chapter
10
Creating
Components
.................................
.
225
Chapter
11
Packaging
and
Installing
Applications
............
.
267
Chapter
12
Communicating
via
Message
Queuing
.................
.
297
Chapter
13
Using
Active Directory Service
Interface
.........
.
317
Chapter
14
Developing
Windows
Services
........................
.
325
Chapter
15
Getting
Outside
the
Box
............................
..
343
Chapter
16
Migrating
to
•
NET
....................................
.
363
Index
................................................................
.
369
v