Book description
Update to Wrox's leading C# book for beginners
Get ready for the next release of Microsoft's C# programming language with this essential Wrox beginner's guide. Beginning Microsoft Visual C# 2010 starts with the basics and brings you thoroughly up to speed. You'll first cover the fundamentals such as variables, flow control, and object-oriented programming and gradually build your skills for Web and Windows programming, Windows forms, and data access.
Step-by-step directions walk you through processes and invite you to "Try it Out," at every stage. By the end, you'll be able to write useful programming code following the steps you've learned in this thorough, practical book.
The C# 4 programming language version will be synonymous with writing code with in C# 2010 in Visual Studio 2010, and you can use it to write Windows applications, Web apps with ASP.NET, and Windows Mobile and Embedded CE apps
Provides step-by-step instructions for mastering topics such as variables, flow controls, and object-oriented programming before moving to Web and Windows programming and data access
Addresses expressions, functions, debugging, error handling, classes, collections, comparisons, conversions, and more
If you've always wanted to master Visual C# programming, this book is the perfect one-stop resource.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Table of contents
- Copyright
- ABOUT THE AUTHORS
- ABOUT THE TECHNICAL EDITOR
- CREDITS
- ACKNOWLEDGMENTS
- 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# Language Enhancements
-
II. Windows Programming
- 15. Basic Windows Programming
- 16. Advanced Windows Forms Features
-
17. Deploying Windows Applications
- 17.1. DEPLOYMENT OVERVIEW
- 17.2. CLICKONCE DEPLOYMENT
- 17.3. VISUAL STUDIO SETUP AND DEPLOYMENT PROJECT TYPES
- 17.4. MICROSOFT WINDOWS INSTALLER ARCHITECTURE
- 17.5. CREATING AN INSTALLATION PACKAGE FOR THE MDI EDITOR
- 17.6. BUILDING THE PROJECT
- 17.7. INSTALLATION
- 17.8. SUMMARY
-
III. Web Programming
-
18. ASP.NET Web Programming
- 18.1. OVERVIEW OF WEB APPLICATIONS
- 18.2. ASP.NET RUNTIME
- 18.3. CREATING A SIMPLE PAGE
- 18.4. SERVER CONTROLS
- 18.5. ASP.NET POSTBACK
- 18.6. ASP.NET AJAX POSTBACK
- 18.7. INPUT VALIDATION
- 18.8. STATE MANAGEMENT
- 18.9. STYLES
- 18.10. MASTER PAGES
- 18.11. SITE NAVIGATION
- 18.12. AUTHENTICATION AND AUTHORIZATION
- 18.13. READING FROM AND WRITING TO A SQL SERVER DATABASE
- 18.14. SUMMARY
-
19. Web Services
- 19.1. WHERE TO USE WEB SERVICES
- 19.2. APPLICATION ARCHITECTURE
- 19.3. WEB SERVICES ARCHITECTURE
- 19.4. WEB SERVICES AND THE .NET FRAMEWORK
- 19.5. CREATING A SIMPLE ASP.NET WEB SERVICE
- 19.6. TESTING THE WEB SERVICE
- 19.7. IMPLEMENTING A WINDOWS CLIENT
- 19.8. CALLING THE SERVICE ASYNCHRONOUSLY
- 19.9. IMPLEMENTING AN ASP.NET CLIENT
- 19.10. PASSING DATA
- 19.11. SUMMARY
- 20. Deploying Web Applications
-
18. ASP.NET Web Programming
-
IV. Data Access
-
21. File System Data
- 21.1. STREAMS
- 21.2. THE CLASSES FOR INPUT AND OUTPUT
- 21.3. SERIALIZED OBJECTS
- 21.4. MONITORING THE FILE SYSTEM
- 21.5. SUMMARY
- 22. XML
-
23. Introduction to LINQ
- 23.1. FIRST LINQ QUERY
- 23.2. USING THE LINQ METHOD SYNTAX
- 23.3. ORDERING QUERY RESULTS
- 23.4. ORDERBY CLAUSE
- 23.5. ORDERING USING METHOD SYNTAX
- 23.6. QUERYING A LARGE DATA SET
- 23.7. AGGREGATE OPERATORS
- 23.8. QUERYING COMPLEX OBJECTS
- 23.9. PROJECTION: CREATING NEW OBJECTS IN QUERIES
- 23.10. PROJECTION: METHOD SYNTAX
- 23.11. SELECT DISTINCT QUERY
- 23.12. ANY AND ALL
- 23.13. ORDERING BY MULTIPLE LEVELS
- 23.14. MULTI-LEVEL ORDERING METHOD SYNTAX: THENBY
- 23.15. GROUP QUERIES
- 23.16. TAKE AND SKIP
- 23.17. FIRST AND FIRSTORDEFAULT
- 23.18. SET OPERATORS
- 23.19. JOINS
- 23.20. SUMMARY
-
24. Applying LINQ
- 24.1. LINQ VARIETIES
- 24.2. USING LINQ WITH DATABASES
- 24.3. INSTALLING SQL SERVER AND THE NORTHWIND SAMPLE DATA
- 24.4. FIRST LINQ TO DATABASE QUERY
- 24.5. NAVIGATING DATABASE RELATIONSHIPS
- 24.6. USING LINQ WITH XML
- 24.7. LINQ TO XML FUNCTIONAL CONSTRUCTORS
- 24.8. SAVING AND LOADING AN XML DOCUMENT
- 24.9. WORKING WITH XML FRAGMENTS
- 24.10. GENERATING XML FROM DATABASES
- 24.11. HOW TO QUERY AN XML DOCUMENT
- 24.12. USING LINQ TO XML QUERY MEMBERS
- 24.13. SUMMARY
-
21. File System Data
-
V. Additional Techniques
-
25. Windows Presentation Foundation
- 25.1. WHAT IS WPF?
- 25.2. ANATOMY OF A BASIC WPF APPLICATION
- 25.3. WPF FUNDAMENTALS
- 25.4. PROGRAMMING WITH WPF
- 25.5. SUMMARY
- 26. Windows Communication Foundation
- 27. Windows Workflow Foundation
-
25. Windows Presentation Foundation
-
A. Exercise Solutions
- A.1. CHAPTER 3 SOLUTIONS
- A.2. CHAPTER 4 SOLUTIONS
- A.3. CHAPTER 5 SOLUTIONS
- A.4. CHAPTER 6 SOLUTIONS
- A.5. CHAPTER 7 SOLUTIONS
- A.6. CHAPTER 8 SOLUTIONS
- A.7. CHAPTER 9 SOLUTIONS
- A.8. CHAPTER 10 SOLUTIONS
- A.9. CHAPTER 11 SOLUTIONS
- A.10. CHAPTER 12 SOLUTIONS
- A.11. CHAPTER 13 SOLUTIONS
- A.12. CHAPTER 14 SOLUTIONS
- A.13. CHAPTER 15 SOLUTIONS
- A.14. CHAPTER 16 SOLUTIONS
- A.15. CHAPTER 17 SOLUTIONS
- A.16. CHAPTER 18 SOLUTIONS
- A.17. CHAPTER 19 SOLUTIONS
- A.18. CHAPTER 20 SOLUTIONS
- A.19. CHAPTER 21 SOLUTIONS
- A.20. CHAPTER 22 SOLUTIONS
- A.21. CHAPTER 23 SOLUTIONS
- A.22. CHAPTER 24 SOLUTIONS
- A.23. CHAPTER 25 SOLUTIONS
- A.24. CHAPTER 26 SOLUTIONS
- A.25. Answers to CHAPTER 27 EXERCISES
Product information
- Title: Beginning Visual C# 2010
- Author(s):
- Release date: April 2010
- Publisher(s): Wrox
- ISBN: 9780470502266
You might also like
book
Microsoft Visual C# 2013 Step by Step
Your hands-on guide to Visual C# fundamentals Expand your expertise—and teach yourself the fundamentals of Microsoft …
book
Essential C# 3.0: For .NET Framework 3.5
is an extremely well-written and well-organized “no-fluff” guide to C# 3.0, which will appeal to programmers …
book
Windows 8 Apps with XAML and C# Unleashed
Windows 8 enables you to build stunning applications that integrate with each other, services, and Windows …
book
Windows® 8.1 Apps with XAML and C# Sams Teach Yourself in 24 Hours
Learn how to build great Windows Store apps! Figures and code appear as they do in …