Book description
Learn C# with Beginning C# Object-Oriented Programming and you'll be thinking about program design in the right way from day one. Whether you want to work with .NET for the web or desktop, or for Windows 8 on any device, Dan Clark's accessible, quick-paced guide will give you the foundation you need for a successful future in C# programming.
In this book you will:
Master the fundamentals of object-oriented programming
Work through a case study to see how C# and OOP work in a real-world application
Develop techniques and best practices that lead to efficient, reusable, elegant code
Discover how to transform a simple model of an application into a fully-functional C# project.
With more than 30 fully hands-on activities, Beginning C# Object-Oriented Programming teaches you how to design a user interface, implement your business logic, and integrate your application with a relational database for data storage. Along the way, you will explore the .NET Framework, ASP.NET and WinRT. In addition, you will develop desktop, mobile and web-based user interfaces, and service-oriented programming skills, all using Microsoft's industry-leading Visual Studio 2012, C#, the Entity Framework, and more. Read this book and let Dan Clark guide you in your journey to becoming a confident C# programmer.
What you'll learn
Lay the foundations of great C# programming by understanding object-oriented programming (OOP) principles.
Understand how OOP can be applied across desktop, web and mobile worlds in Windows today.
Learn to use the Universal Modeling Language (UML) to quickly design an application correctly from the first attempt.
Discover the .NET Framework, ASP.NET and WinRT and how they can help you create applications quickly and efficiently.
Walk along as the author guides you through a final challenge, to develop a complete application using a wide range of the techniques and best practices covered inside.
Who this book is for
If you want to learn C# while gaining a foundation in object-oriented programming that will get you thinking about program design in the right way from day one, this book is for you.
Table of contents
- Title Page
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- CHAPTER 1: Overview of Object-Oriented Programming
- CHAPTER 2: Designing OOP Solutions: Identifying the Class Structure
- CHAPTER 3: Designing OOP Solutions: Modeling the Object Interaction
- CHAPTER 4: Designing OOP Solutions: A Case Study
- CHAPTER 5: Introducing the .NET Framework and Visual Studio
- CHAPTER 6: Creating Classes
- CHAPTER 7: Creating Class Hierarchies
-
CHAPTER 8: Implementing Object Collaboration
- Communicating Through Messaging
- Defining Method Signatures
- Passing Parameters
- Understanding Event-Driven Programming
- Understanding Delegation
- Implementing Events
- Responding To Events
- Windows Control Event Handling
- Handling Exceptions in the .NET Framework
- Static Properties and Methods
- Using Asynchronous Messaging
- Summary
- CHAPTER 9: Working with Collections
-
CHAPTER 10: Implementing the Data Access Layer
- Introducing ADO.NET
- Working with Data Providers
- Establishing a Connection
- Executing a Command
- Using the DataReader Object to Retrieve Data
- Using the DataAdapter to Retrieve Data
- Working with DataTables and DataSets
- Working with the Entity Framework
- Querying Entities with LINQ to EF
- Updating Entities with the Entity Framework
- Summary
-
CHAPTER 11: Developing WPF Applications
- Windows Fundamentals
- Introducing XAML
- Using Layout Controls
- Adding Display Controls
- Using the Visual Studio Designer
- Handling Control Events
- Creating and Using Dialog Boxes
- Presenting a MessageBox to the User
- Creating a Custom Dialog Box
- Data Binding in Windows-Based GUIs
- Binding Controls Using a DataContext
- Creating and Using Control and Data Templates
- Summary
-
CHAPTER 12: Developing Web Applications
- Web Pages and Web Forms
- Web Server Control Fundamentals
- Understanding Web Page and Web Server Control Inheritance Hierarchy
- Using the Visual Studio Web Page Designer
- The Web Page Life Cycle
- Control Events
- Understanding Application and Session Events
- Storing and Sharing State in a Web Application
- Data-Bound Web Controls
- Summary
- CHAPTER 13: Developing Windows Store Applications
- CHAPTER 14: Developing and Consuming Web Services
- CHAPTER 15: Developing the Office Supply Ordering Application
-
CHAPTER 16: Wrapping Up
- Improve Your Object-Oriented Design Skills
- Investigate the .NET Framework Namespaces
- Become Familiar with ADO.NET and the Entity Framework
- Learn More about Creating Great User Interfaces (UI)
- Move toward Component-Based Development
- Find Help
- Join a User Group
- Please Provide Feedback
- Thank You, and Good Luck!
-
APPENDIX A: Fundamental Programming Concepts
- Working with Variables and Data Types
- Understanding Elementary Data Types
- Introducing Composite Data Types
- Looking at Literals, Constants, and Enumerations
- Exploring Variable Scope
- Understanding Data Type Conversion
- Working with Operators
- Introducing Decision Structures
- Using Loop Structures
- Introducing Methods
- APPENDIX B: Exception Handling in C#
- APPENDIX C: Installing the Required Software
- Index
Product information
- Title: Beginning C# Object-Oriented Programming, Second Edition
- Author(s):
- Release date: March 2013
- Publisher(s): Apress
- ISBN: 9781430249351
You might also like
book
Beginning Object-Oriented Programming with C#
The ideal beginner's guide to C# and object-oriented programming Wrox beginners' guides have the perfect formula …
book
Hands-On Object-Oriented Programming with C#
Enhance your programming skills by learning the intricacies of object oriented programming in C# 8 Key …
video
Beginning C# Programming
Learn how to get started with this popular language, whether you’re new to programming or just …
video
Intermediate C# Programming
In this follow-up to his popular Beginning C# Programming video, former Microsoft developer and C# expert …