Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Richard Weeks, Robert Powell
C# and the .NET Framework: The C++ Perspective
Copyright
About the Authors
Acknowledgments
Tell Us What You Think!
Introduction
The .NET Framework
A Quick Introduction to .NET
Dispelling the Myth of the .NET Virtual Machine
Microsoft Intermediate Language (IL)
An Introduction to .NET Memory Management
The .NET Framework Type System
The .NET Framework System Objects
C#—A New Programming Language
How Objects Describe Themselves
Component Object Model (COM) Interoperability
Windows Forms, Web Controls, and GDI+
Tools
Assemblies, the .NET Packaging System
Programming with Attributes
Security
Ready, Set, GO!
The Common Language Runtime
Overview
The CLR in Relation to .NET
Summary
IL Intermediate Language
Language Inter-Op
Hello IL
Functions
Classes
ILDASM
Metadata
Reflection API
Summary
Working with Managed Extensions to C++
The C++ Extension Keywords
Using the C++ Compiler for Managed C++
Garbage Collected Classes
The #using Directive
The String
Mixing Managed and Unmanaged Code
Pinning Managed Code
Managed Interfaces
Creating Value Types
Creating and Using Delegates
Calling Custom .NET DLLs from Your Managed C++ Code
Using Managed and Unmanaged C++ DLLs in Your .NET Programs
Using Properties in Your C++ Classes
Ensuring the Alignment and Packing of Your C++ Structures
Summary
Introducing Visual Studio.NET
The Integrated Development Environment (IDE)
Section A: The Main Editing Area
Section B: Solutions, Classes, Items, and Help
Section C: The Toolbox and Server Explorer
Section D: Tasks, Output, Search Results, and Watches
Section E: Properties, Dynamic Help, and Favorites
Debugging Programs
Summary
The C# Language
C# Basics
The C# Type System
Programming Concepts
Arrays
struct
Classes
Interfaces
Delegates
Summary
Advanced C#
.NET Collections
Attributes
XML Serialization
Summary
Windows Forms
Introduction to Windows Forms
The Hello Windows Forms Application
Creating and Using an Event Handler
Defining the Border Style of the Form
Adding a Menu
Adding a Menu Shortcut
Handling Events from Menus
Summary
User Interface Components
Dialogs
Creating Dialogs
Using Controls
Summary
Data Bound Controls
Data Binding Strategies
Data Binding Sources
Simple Binding
Simple Binding to a DataSet
Complex Binding of Controls to Data
Binding Controls to Databases Using ADO.NET
Creating a Database Viewer with Visual Studio and ADO.NET
Summary
Windows Forms Example Application (Scribble .NET)
Resources in .NET
Localization Nuts and Bolts
.NET Resource Management Classes
Creating Text Resources
Using Visual Studio.NET for Internationalization
Image Resources
Using Image Lists
Programmatic Access to Resources
Reading and Writing RESX XML Files
Summary
GDI+: The .NET Graphics Interface
The Basic Principles of GDI+
The Graphics Object
Graphics Coordinates
Drawing Lines and Simple Shapes
Using Gradient Pens and Brushes
Textured Pens and Brushes
Tidying up Your Lines with Endcaps
Curves and Paths
The GraphicsPath Object
Clipping with Paths and Regions
Transformations
Alpha Blending
Alpha Blending of Images
Other Color Space Manipulations
Summary
Practical Windows Forms Applications
Using the Properties and Property Attributes
Demonstration Application: FormPaint.exe
Summary
Web Technologies
ASP.NET
The New Web
ASP.NET Essentials
Hello ASP.NET
Adding Some Meat
Summary
.NET Data Access
DataLayer
Employee and Department Class
Summary
WebForms
Introduction to ASP.NET WebForms
UserControls
HeaderControl
ASPX Pages
Summary
WebServices
Echo Service
Returning User-Defined Types
XML Attributes
Summary
Component Usage
Assemblies
What Is an Assembly?
Single File Assembly
Multiple File Assembly
Assembly Attributes
Loading Assemblies at Runtime
Summary
Signing and Versioning
DLL Hell
Global Assembly Cache
Versioning
Side-By-Side Assemblies
Custom Binding: Application Configuration
Summary
COM Interoperability
The World of COM
.NET COM Support
Exposing .NET Components as COM Objects
Summary
Threads
Multithreading 101
Thread Synchronization
Extending .NET Threads
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Summary
Index
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset