Programming C# 4.0, 6th Edition
Building Windows, Web, and RIA Applications for .NET with C# 4.0
Paperback Engels 2010 6e druk 9780596159832Samenvatting
OP=OP
With its support for dynamic programming, C# 4.0 continues to evolve as a versatile language on its own. But when C# is used with .NET Framework 4, the combination is incredibly powerful. This bestselling tutorial shows you how to build web, desktop, and rich Internet applications using C# 4.0 with .NET's database capabilities, UI framework (WPF), extensive communication services (WCF), and more.
In this sixth edition, .NET experts Ian Griffiths, Matthew Adams, and Jesse Liberty cover the latest enhancements to C#, as well as the fundamentals of both the language and framework. You'll learn concurrent programming with C# 4.0, and how to use .NET tools such as the Entity Framework for easier data access, and the Silverlight platform for browser-based RIA development.
- Learn C# fundamentals, such as variables, flow control, loops, and methods
- Build complex programs with object-oriented and functional programming techniques
- Process large collections of data with the native query features in LINQ
- Communicate across networks with Windows Communication Foundation (WCF)
- Learn the advantages of C# 4.0's dynamic language features
- Build interactive Windows applications with Windows Presentation Foundation (WPF)
- Create rich web applications with Silverlight and ASP.NET
Specificaties
Lezersrecensies
Over Jesse Liberty
Inhoudsopgave
1. Introducing C#
-Why C#? Why .NET?
-The .NET Framework Class Library
-Language Style
-C# 4.0, .NET 4, and Visual Studio 2010
-Summary
2. Basic Programming Techniques
-Getting Started
-Namespaces and Types
-Projects and Solutions
-Comments, Regions, and Readability
-Variables
-Expressions and Statements
-Flow Control with Selection Statements
-Iteration Statements
-Methods
-Summary
3. Abstracting Ideas with Classes and Structs
-Divide and Conquer
-Defining Classes
-Related Constants with enum
-Value Types and Reference Types
-Too Many Constructors, Mr. Mozart
-Overloading
-Object Initializers
-Defining Methods
-Static Fields and Properties
-Summary
4. Extensibility and Polymorphism
-Association Through Composition and Aggregation
-Inheritance and Polymorphism
-Replacing Methods in Derived Classes
-Inheritance and Protection
-Calling Base Class Methods
-Thus Far and No Farther: sealed
-Requiring Overrides with abstract
-All Types Are Derived from Object
-C# Does Not Support Multiple Inheritance of Implementation
-C# Supports Multiple Inheritance of Interface
-Deriving Interfaces from Other Interfaces
-The Last Resort: Checking Types at Runtime
-Summary
5. Composability and Extensibility with Delegates
-Functional Composition with delegate
-Generic Actions with Action<T>
-Generic Predicates with Predicate<T>
-Using Anonymous Methods
-Creating Delegates with Lambda Expressions
-Delegates in Properties
-Generic Delegates for Functions
-Notifying Clients with Events
-Summary
6. Dealing with Errors
-When and How to Fail
-Returning Error Values
-Exceptions
-Summary
7. Arrays and Lists
-Arrays
-List<T>
-Collections and Polymorphism
-Summary
8. LINQ
-Query Expressions
-LINQ Concepts and Techniques
-LINQ Operators
-Summary
9. Collection Classes
-Dictionaries
-HashSet and SortedSet
-Queues
-Linked Lists
-Stacks
-Summary
10. Strings
-What Is a String?
-The String and Char Types
-Literal Strings and Chars
-Formatting Data for Output
-Culture Sensitivity
-Accessing Characters by Index
-Strings Are Immutable
-Getting a Range of Characters
-Composing Strings
-Manipulating Text
-Finding and Replacing Content
-All Sorts of “Empty” Strings
-Trimming Whitespace
-Checking Character Types
-Encoding Characters
-Summary
11. Files and Streams
-Inspecting Directories and Files
-Examining Directories
-Manipulating File Paths
-Examining File Information
-Creating Temporary Files
-Deleting Files
-Well-Known Folders
-Concatenating Path Elements Safely
-Creating and Securing Directory Hierarchies
-Deleting a Directory
-Writing Text Files
-When Files Go Bad: Dealing with Exceptions
-Reading Files into Memory
-Streams
-Reading, Writing, and Locking Files
-FileStream Constructors
-Asynchronous File Operations
-Isolated Storage
-Streams That Aren't Files
-Summary
12. XML
-XML Basics (A Quick Review)
-X Stands for eXtensible
-Creating XML Documents
-Searching in XML with LINQ
-XML Serialization
-Summary
13. Networking
-Choosing a Networking Technology
-WCF
-HTTP
-Sockets
-Other Networking Features
-Summary
14. Databases
-The .NET Data Access Landscape
-The Entity Data Model
-Queries
-Object Context
-WCF Data Services
-Summary
15. Assemblies
-.NET Components: Assemblies
-Naming
-Loading
-Summary
16. Threads and Asynchronous Code
-Threads
-Synchronization Primitives
-Asynchronous Programming
-The Task Parallel Library
-Data Parallelism
-Summary
17. Attributes and Reflection
-Attributes
-Reflection
-Summary
18. Dynamic
-Static Versus Dynamic
-The dynamic Type
-dynamic in Noninterop Scenarios?
-Summary
19. Interop with COM and Win32
-Importing ActiveX Controls
-Interop Assemblies
-64-bit Versus 32-bit
-P/Invoke
-Pointers
-C# 4.0 Interop Syntax Enhancements
-Summary
20. WPF and Silverlight
-Xaml and Code Behind
-Elements and Controls
-Control Templates
-Data Binding
-Summary
21. Programming ASP.NET Applications
-Web Forms Fundamentals
-Creating a Web Application
-Data Binding
-Summary
22. Windows Forms
-Creating the Application
-Controls
-Data Binding
-Event Handling
-Summary
Index
Vergelijkbare boeken
Anderen die dit boek kochten, kochten ook
Rubrieken
- advisering
- algemeen management
- coaching en trainen
- communicatie en media
- economie
- financieel management
- inkoop en logistiek
- internet en social media
- it-management / ict
- juridisch
- leiderschap
- marketing
- mens en maatschappij
- non-profit
- ondernemen
- organisatiekunde
- personal finance
- personeelsmanagement
- persoonlijke effectiviteit
- projectmanagement
- psychologie
- reclame en verkoop
- strategisch management
- verandermanagement
- werk en loopbaan