Book description
Written for C# 2.0 and .NET 2.0: contains coverage of generics, Master Pages, the DataGridView, and other new features
Covers Web development, Windows development, data management, security, threading, remoting, and much more
Presents hundreds of non-trivial code examples that help you solve real-world problems
The Complete and Comprehensive Developer's Guide to C# 2.0 and .NET 2.0
Core C# and .NET is the no-nonsense, example-rich guide to achieving exceptional results with C# 2.0 and .NET 2.0. Writing for experienced programmers, Stephen Perry presents today's best practices for leveraging both C# 2.0 language features and Microsoft's .NET 2.0 infrastructure.
Like all books in the Core Series, Core C# and .NET focuses on solving real-world problems with serious, non-trivial code. Perry's broad, deep coverage ranges from new C# generics to Web services, from reflection to security. He systematically introduces the development of Windows Forms applications and the effective use of GDI+ graphics classes. He offers detailed guidance on data management with XML and ADO.NET, plus advanced coverage of threading, remoting, and code security. Finally, Perry presents an extensive section on Web development, covering ASP.NET, state management, HTTP requests, and much more.
With practical insights into everything from scalability to localization, this is the C# book you've been searching for: your definitive guide to building production-quality C# applications.
Core C# and .NET delivers
Best practices for building C#/.NET Windows applications, Web applications, and Web services
Expert insight into security, scalability, and other crucial issues
Hundreds of professional-quality code examples
In-depth coverage of the latest C# 2.0 features, including generics
EVERY CORE SERIES BOOK:
DEMONSTRATES practical techniques used by professional developers
FEATURES robust, thoroughly tested sample code and realistic examples
FOCUSES on the cutting-edge technologies you need to master today
PROVIDES expert advice that will help you build superior software
© Copyright Pearson Education. All rights reserved.
Table of contents
- Copyright
- PRENTICE HALL CORE SERIES
- About the Author
- Foreword
- Preface
- Acknowledgments
-
I. Fundamentals of C# Programming and Introduction to .NET
- 1. Introduction to .NET and C#
- 2. C# Language Fundamentals
-
3. Class Design in C#
- 3.1. Introduction to a C# Class
- 3.2. Defining a Class
- 3.3. Overview of Class Members
- 3.4. Constants, Fields, and Properties
- 3.5. Methods
- 3.6. Constructors
- 3.7. Delegates and Events
- 3.8. Operator Overloading
- 3.9. Interfaces
- 3.10. Generics
- 3.11. Structures
- 3.12. Structure Versus Class
- 3.13. Summary
- 3.14. Test Your Understanding
-
4. Working with Objects in C#
- 4.1. Object Creation
- 4.2. Exception Handling
- 4.3. Implementing System.Object Methods in a Custom Class
- 4.4. Working with .NET Collection Classes and Interfaces
- 4.5. Object Serialization
- 4.6. Object Life Cycle Management
- 4.7. Summary
- 4.8. Test Your Understanding
-
II. Creating Applications Using the .NET Framework Class Library
-
5. C# Text Manipulation and File I/O
- 5.1. Characters and Unicode
- 5.2. The String Class
- 5.3. Comparing Strings
- 5.4. Searching, Modifying, and Encoding a String's Content
- 5.5. StringBuilder
- 5.6. Formatting Numeric and DateTime Values
- 5.7. Regular Expressions
- 5.8. System.IO: Classes to Read and Write Streams of Data
- 5.9. System.IO: Directories and Files
- 5.10. Summary
- 5.11. Test Your Understanding
-
6. Building Windows Forms Applications
- 6.1. Programming a Windows Form
- 6.2. Windows.Forms Control Classes
- 6.3. The Form Class
- 6.4. Working with Menus
- 6.5. Adding Help to a Form
- 6.6. Forms Inheritance
- 6.7. Summary
- 6.8. Test Your Understanding
-
7. Windows Forms Controls
- 7.1. A Survey of .NET Windows Forms Controls
- 7.2. Button Classes, Group Box, Panel, and Label
- 7.3. PictureBox and TextBox Controls
- 7.4. ListBox, CheckedListBox, and ComboBox Classes
- 7.5. The ListView and TreeView Classes
- 7.6. The ProgressBar, Timer, and StatusStrip Classes
- 7.7. Building Custom Controls
- 7.8. Using Drag and Drop with Controls
-
7.9. Using Resources
-
Working with Resource Files
- Creating Resource Strings from a Text File
- Using the ResourceWriter Class to Create a .resources File
- Using the ResourceManager Class to Access Resources
- Using the ResXResourceWriter Class to Create a .resx File
- Using the ResXResourceReader Class to Read a .resx file
- Converting a .resx File to a .resources File
- VS.NET and Resources
- Using Resource Files to Create Localized Forms
-
Working with Resource Files
- 7.10. Summary
- 7.11. Test Your Understanding
-
8. .NET Graphics Using GDI+
- 8.1. GDI+ Overview
- 8.2. Using the Graphics Object
- 8.3. Images
- 8.4. Summary
- 8.4. Test Your Understanding
-
9. Fonts, Text, and Printing
- 9.1. Fonts
- 9.2. Drawing Text Strings
- 9.3. Printing
- 9.4. Summary
- 9.5. Test Your Understanding
- 10. Working with XML in .NET
-
11. ADO.NET
- 11.1. Overview of the ADO.NET Architecture
- 11.2. Data Access Models: Connected and Disconnected
- 11.3. ADO.NET Connected Model
- 11.4. DataSets, DataTables, and the Disconnected Model
- 11.5. XML and ADO.NET
- 11.6. Summary
- 11.7. Test Your Understanding
- 12. Data Binding with Windows Forms Controls
-
5. C# Text Manipulation and File I/O
-
III. Advanced Use of C# and the .NET Framework
- 13. Asynchronous Programming and Multithreading
-
14. Creating Distributed Applications with Remoting
- 14.1. Application Domains
- 14.2. Remoting
- 14.3. Leasing and Sponsorship
- 14.4. Summary
- 14.5. Test Your Understanding
-
15. Code Refinement, Security, and Deployment
- 15.1. Following .NET Code Design Guidelines
- 15.2. Strongly Named Assemblies
- 15.3. Security
- 15.4. Application Deployment Considerations
- 15.5. Summary
- 15.6. Test Your Understanding
-
Programming for the Internet
-
16. ASP.NET Web Forms and Controls
- 16.1. Client-Server Interaction over the Internet
- 16.2. Web Forms Controls
- 16.3. Data Binding and Data Source Controls
- 16.4. Validation Controls
- 16.5. Master and Content Pages
- 16.6. Building and Using Custom Web Controls
- 16.7. Selecting a Web Control to Display Data
- 16.8. Summary
- 16.9. Test Your Understanding
-
17. The Asp.Net Application Environment
- 17.1. HTTP Request and Response Classes
- 17.2. ASP.NET and Configuration Files
- 17.3. ASP.NET Application Security
- 17.4. Maintaining State
- 17.5. Caching
- 17.6. Creating a Web Client with WebRequest and WebResponse
- 17.7. HTTP Pipeline
- 17.8. Summary
- 17.9. Test Your Understanding
-
18. XML Web Services
- 18.1. Introduction to Web Services
- 18.2. Building an XML Web Service
- 18.3. Building an XML Web Service Client
- 18.4. Understanding WSDL and SOAP
- 18.5. Using Web Services with Complex Data Types
- 18.6. Web Services Performance
- 18.7. Summary
- 18.8. Test Your Understanding
-
16. ASP.NET Web Forms and Controls
- A. Features Specific to .NET 2.0 and C# 2.0
- B. DataGridView Events and Delegates
- Answers to Chapter Exercises
Product information
- Title: Core C# and .NET
- Author(s):
- Release date: September 2005
- Publisher(s): Pearson
- ISBN: 9780131472273
You might also like
book
Pro C# 7: With .NET and .NET Core
This essential classic title provides a comprehensive foundation in the C# programming language and the frameworks …
book
C# 7 and .NET Core Cookbook
Quick solutions to common programming problems with the latest features of C# 7.0, .NET Core 1.1, …
book
C# 7 and .NET Core 2.0 High Performance
Improve the speed of your code and optimize the performance of your apps About This Book …
book
.Net Framework Essentials
.NET Framework Essentials is an objective, concise, and technical overview of the new Microsoft .NET Framework …