- Preparing readers to program in C#, this authoritative guide
provides the necessary background information on how the .NET architecture works
- Begins with a tutorial on C# 2005 and the .NET 3.0 Framework, then moves
through the vast .NET class library, showing how C# can be used to solve various
- Includes coverage of the new .NET 3.0 Framework, Generics, ObjectSpaces, .NET
3.0 in SQL Server, ASP.NET 3.0, Windows Communication Foundation, Windows
Workflow Foundation, Windows Presentation Foundation, arrays, system
transactions, tracing, and event logging
- Additional coverage includes such topics as writing Windows applications and
Windows services, writing Web pages and Web services with ASP.NET 3.0,
manipulating XML using C# 2005, and generating graphics using C# 2005
From the Back Cover
Providing you with the ultimate guide to the C# language, this book will help
you quickly write your own programs while also getting you up to speed on how
the .NET architecture works. It not only covers the fundamentals of C# but
presents numerous examples of applications that use a variety of related
technologies, including database access, advanced graphics, and directory
You''ll first find a comprehensive tutorial that takes you through C# 2005 and
the .NET 3.0 Framework, enabling you to begin writing managed code. Next you''ll
explore the vast .NET class library and discover how to use C# to solve various
tasks. You''ll then see how to utilize Visual Studio 2005 to create applications
based on .NET. And you''ll gain the skills needed to build Windows Forms, Windows
Services, web pages, and more.
What you will learn from this book
- All about C#''s syntax and data types as well as more advanced programming
- Strategies for enhancing security and generating your own libraries as
- Ways to access databases with ADO.NET
- How to use GDI+ to build applications with sophisticated graphics
- Tips for using Windows Communication Foundation and Windows Workflow
- How to write programs which take into account the new features and barriers
found in Windows Vista
Who this book is for
This book is for the experienced developer, although no previous knowledge of C#
or .NET programming is assumed. It is also for programmers who know .NET 2.0 and
are interested in learning .NET 3.0 and Visual Studio 2005.
Enhance Your Knowledge
Advance Your Career
Wrox Professional guides are planned and written by working programmers
to meet the real-world needs of programmers, developers, and IT professionals.
Focused and relevant, they address the issues technology professionals face
every day. They provide examples, practical solutions, and expert education in
new technologies, all designed to help programmers do a better job.
About the Author
Christian Nagel is software architect and developer, associate of
thinktecture, who offers training and consulting on how to design and develop
Microsoft .NET solutions. He looks back to more than 20 years experience as a
developer and software architect. Christian started his computing career with
PDP 11 and VAX/VMS platforms, covering a variety of languages and platforms.
Since the year 2000 — when .NET was just a technology preview — he has been
working with various .NET technologies to build distributed business solutions.
With his profound knowledge of Microsoft technologies, he has written numerous
.NET books; is certified as Microsoft Certified Trainer (MCT) and Professional
Developer (MCPD) for Windows, Web, and Enterprise Applications; and he is
Microsoft regional director and MVP for ASP.NET. Christian is a speaker at
international conferences (TechEd, TechDays), and supports .NET user groups with
INETA Europe (International .NET Association). You can contact Christian via his
Web sites, www.christiannagel.com and www.thinktecture.com.
Bill Evjen is an active proponent of .NET technologies and
community-based learning initiatives for .NET. He has been actively involved
with .NET since the first bits were released in 2000. In the same year, Bill
founded the St. Louis .NET User Group (www.stlnet.org), one of the world’s first
such groups. Bill is also the founder and former executive director of the
International .NET Association (www.ineta.org), which represents more than
450,000 members worldwide.
Based in St. Louis, Missouri, Bill is an acclaimed author (more than 13 books to
date) and speaker on ASP.NET and XML Web services. He has written or co-written
Professional C# 2005, Professional VB 2005, and the bestselling Professional
ASP.NET 2.0, as well as ASP.NET Professional Secrets, XML Web Services for
ASP.NET, Web Services Enhancements: Understanding the WSE for Enterprise
Applications, Visual Basic .NET Bible, and more. In addition to writing, Bill is
a speaker at numerous conferences, including DevConnections, VSLive, and TechEd.
Along with these items, Bill works closely with Microsoft as a Microsoft
regional director and he has received the Microsoft MVP designation for many
Bill is the technical architect for Lipper (www.lipperweb.com), a wholly owned
subsidiary of Reuters, the international news and financial services company. He
was graduated from Western Washington University in Bellingham, Washington with
a Russian language degree. When he isn’t tinkering on the computer, he can
usually be found at his summer house in Toivakka, Finland. You can reach Bill at
email@example.com. He presently keeps his weblog at www.geekswithblogs.net/evjen.
Morgan Skinner began his computing career at a tender age on a Sinclair
ZX80 at school, where he was underwhelmed by some code a teacher had written and
so began programming in assembly language. After getting hooked on Z80 (which he
believes is far better than those paltry three registers on the 6502), he
graduated through the school’s ZX81s to his own ZX Spectrum.
Since then he’s used all sorts of languages and platforms, including VAX Macro
Assembler, Pascal, Modula2, Smalltalk, X86 assembly language, PowerBuilder,
C/C++, VB, and currently C#. He’s been programming in .NET since the PDC release
in 2000, and liked it so much, he joined Microsoft in 2001. He now works in
Premier Support for Developers and spends most of his time assisting customers
You can reach Morgan at www.morganskinner.com.
Jay Glynn started writing software nearly 20 years ago, writing applications
for the PICK operating system using PICK basic. Since then, he has created
software using Paradox PAL and Object PAL, Delphi, VBA, Visual Basic, C, C++,
Java, and of course C#. He is currently a project coordinator and architect for
a large financial services company in Nashville, Tennessee, working on software
for the TabletPC platform.
He can be contacted at firstname.lastname@example.org.
Karli Watson is a freelance author and the technical director of 3form Ltd
(www.3form.net). Despite starting out by studying nanoscale physics, the lure of
cold, hard cash proved too much and dragged Karli into the world of computing.
He has since written numerous books on .NET and related technologies, SQL,
mobile computing, and a novel that has yet to see the light of day (but that
doesn’t have any computers in it). Karli is also known for his multicolored
clothing, is a snowboarding enthusiast, and still wishes he had a cat.
Part I: The C# Language.
Chapter 1: .NET Architecture.
Chapter 2: C# Basics.
Chapter 3: Objects and Types.
Chapter 4: Inheritance.
Chapter 5: Arrays.
Chapter 6: Operators and Casts.
Chapter 7: Delegates and Events.
Chapter 8: Strings and Regular Expressions.
Chapter 9: Generics.
Chapter 10: Collections.
Chapter 11: Memory Management and Pointers.
Chapter 12: Reflection.
Chapter 13: Errors and Exceptions.
Part II: Visual Studio.
Chapter 14: Visual Studio 2005.
Chapter 15: Deployment.
Part III: Base Class Libraries.
Chapter 16: Assemblies.
Chapter 17: Tracing and Events.
Chapter 18: Threading and Synchronization.
Chapter 19: .NET Security.
Chapter 20: Localization.
Chapter 21: Transactions.
Chapter 22: Windows Services.
Chapter 23: COM Interoperability.
Part IV: Data.
Chapter 24: Manipulating Files and the Registry.
Chapter 25: Data Access with .NET.
Chapter 26: Manipulating XML.
Chapter 27: .NET Programming with SQL Server 2005.