Book description
The book is aimed at novice programmers who wish to learn programming with C# and the .NET framework. The book starts with absolute programming basics. It then moves into Web and Windows programming, data access (databases and XML), and more advanced technologies such as graphics programming with GDI+ and basic networking. The book is divided into sections including:
The C# Language: Basic language skills using console application. Content moves from the absolute basics to fairly involved OOP skills.
Windows Vista Programming: Using basic Windows applications, reinforcing earlier OOP and debugging skills.
Web Programming: Putting together basic Web applications, highlighting differences between Web and Windows programming.
Data Access: Accessing all kinds of data sources from Web and Windows applications, including SQL usage, XML, file system data, and Web Services.
Additional Techniques: "The fun stuff", including Windows Presentation Foundation, Windows Workflow, Windows Communication Foundation, GDI+, networking, Windows Services, and so on.
The book makes complicated subjects seem easy to learn, and it inspires readers to investigate areas further on their own by providing references to additional material, and exercise questions that require significant effort and personal research to complete.
Table of contents
- Copyright
- About the Authors
- Credits
- Introduction
-
I. The C# Language
- 1. Introducing C#
- 2. Writing a C# Program
- 3. Variables and Expressions
- 4. Flow Control
- 5. More About Variables
- 6. Functions
- 7. Debugging and Error Handling
- 8. Introduction to Object-Oriented Programming
- 9. Defining Classes
- 10. Defining Class Members
- 11. Collections, Comparisons, and Conversions
- 12. Generics
- 13. Additional OOP Techniques
- 14. C# 3.0 Language Enhancements
-
II. Windows Programming
-
15. Basic Windows Programming
- 15.1. Controls
- 15.2. The Button Control
- 15.3. The Label and LinkLabel Controls
- 15.4. The TextBox Control
- 15.5. The RadioButton and CheckBox Controls
- 15.6. The RichTextBox Control
- 15.7. The ListBox and CheckedListBox Controls
- 15.8. The ListView Control
- 15.9. The TabControl Control
- 15.10. Summary
- 15.11. Exercises
- 16. Advanced Windows Forms Features
-
17. Using Common Dialogs
- 17.1. Common Dialogs
- 17.2. How to Use Dialogs
- 17.3. File Dialogs
- 17.4. Printing
- 17.5. Print Preview
- 17.6. FontDialog and ColorDialog
- 17.7. Summary
- 17.8. Exercises
-
18. Deploying Windows Applications
- 18.1. Deployment Overview
- 18.2. ClickOnce Deployment
- 18.3. Visual Studio Setup and Deployment Project Types
- 18.4. Microsoft Windows Installer Architecture
- 18.5. Creating an Installation Package for the SimpleEditor
- 18.6. Building the Project
- 18.7. Installation
- 18.8. Summary
- 18.9. Exercises
-
15. Basic Windows Programming
-
III. Web Programming
- 19. Basic Web Programming
- 20. Advanced Web Programming
-
21. Web Services
- 21.1. Before Web Services
- 21.2. Where to Use Web Services
- 21.3. Web Services Architecture
- 21.4. Web Services and the .NET Framework
- 21.5. Creating a Simple ASP.NET Web Service
- 21.6. Testing the Web Service
- 21.7. Implementing a Windows Client
- 21.8. Calling the Service Asynchronously
- 21.9. Implementing an ASP.NET Client
- 21.10. Passing Data
- 21.11. Summary
- 21.12. Exercises
- 22. Ajax Programming
- 23. Deploying Web Applications
-
IV. Data Access
-
24. File System Data
- 24.1. Streams
- 24.2. The Classes for Input and Output
- 24.3. Serialized Objects
- 24.4. Monitoring the File Structure
- 24.5. Summary
- 24.6. Exercises
- 25. XML
-
26. Introduction to LINQ
- 26.1. LINQ Varieties
- 26.2. First LINQ Query
- 26.3. Using the LINQ Method Syntax and Lambda Expressions
- 26.4. Ordering Query Results
- 26.5. orderby Clause
- 26.6. Ordering Using Method Syntax
- 26.7. Querying a Large Data Set
- 26.8. Aggregate Operators
- 26.9. Querying Complex Objects
- 26.10. Projection: Creating New Objects in Queries
- 26.11. Projection: Method Syntax
- 26.12. Select Distinct Query
- 26.13. Any and All
- 26.14. Ordering By Multiple Levels
- 26.15. Multi-Level Ordering Method Syntax: ThenBy
- 26.16. Group Queries
- 26.17. Take and Skip
- 26.18. First and FirstOrDefault
- 26.19. Set Operators
- 26.20. Joins
- 26.21. Resources and Further Reading
- 26.22. Summary
- 26.23. Exercises
-
27. LINQ to SQL
- 27.1. Object-Relational Mapping ( ORM )
- 27.2. Installing SQL Server and the Northwind Sample Data
- 27.3. First LINQ to SQL Query
- 27.4. Navigating LINQ to SQL Relationships
- 27.5. Drilling Down Further with LINQ to SQL
- 27.6. Grouping, Ordering, and Other Advanced Queries in LINQ to SQL
- 27.7. Displaying Generated SQL
- 27.8. Data Binding with LINQ to SQL
- 27.9. Updating Bound Data with LINQ to SQL
- 27.10. Summary
- 27.11. Exercises
-
28. ADO.NET and LINQ over DataSet
- 28.1. What Is ADO.NET?
- 28.2. Overview of ADO.NET Classes and Objects
- 28.3. Reading Data with the DataReader
- 28.4. Reading Data with the DataSet
- 28.5. Updating the Database
- 28.6. Accessing Multiple Tables in a DataSet
- 28.7. XML and ADO.NET
- 28.8. SQL Support in ADO.NET
- 28.9. Using LINQ over DataSet with ADO.NET
- 28.10. Summary
- 28.11. Exercises
- 29. LINQ to XML
-
24. File System Data
-
V. Additional Techniques
- 30. Attributes
-
31. XML Documentation
- 31.1. Adding XML Documentation
- 31.2. Making Use of XML Documentation
- 31.3. Summary
- 31.4. Exercises
- 32. Networking
- 33. Introduction to GDI +
-
34. Windows Presentation Foundation
- 34.1. What Is WPF?
- 34.2. Anatomy of a Basic WPF Application
- 34.3. WPF Fundamentals
- 34.4. Programming with WPF
- 34.5. Summary
- 34.6. Exercises
- 35. Windows Communication Foundation
- 36. Windows Workflow Foundation
Product information
- Title: Beginning Microsoft® Visual C#® 2008
- Author(s):
- Release date: May 2008
- Publisher(s): Wrox
- ISBN: 9780470191354
You might also like
book
The Art of Communication
Bring nuance, depth, and meaning to every conversation you have The Art of Communication is for …
book
Beginning Database Programming Using ASP.NET Core 3 : With MVC, Razor Pages, Web API, jQuery, Angular, SQL Server, and NoSQL
Hit the ground running with this book to quickly learn the fundamentals of HTML form processing, …
book
AI-Driven Testing
Software testing is expensive. Through up-front and recurring investment in labor and assets, organizations spend roughly …
book
Clean Agile: Back to Basics
Agile Values and Principles for a New Generation “In the journey to all things Agile, Uncle …