Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by Hoang Lam, Thuan L. Thai
.Net Framework Essentials
.Net Framework Essentials
Preface
Audience
About This Book
Assumptions This Book Makes
Conventions Used in This Book
How to Contact Us
Acknowledgments
1. .NET Overview
Microsoft .NET
The .NET Platform
.NET Framework Design Goals
Component Infrastructure
Language Integration
Internet Interoperation
Simple Development
Simple Deployment
Reliability
Security
.NET Framework
2. The Common Language Runtime
CLR Environment
CLR Executables
Hello, World: Managed C++
Hello, World: C#
Hello, World: VB.NET
.NET Portable Executable File
Metadata
Type Libraries on Steroids
Examining Metadata
Inspecting and Emitting Metadata
Interoperability Support
Assemblies and Manifests
Assemblies Versus Components
Unique Identities
IL Code
Versioning
Deployment
Security
Side-by-Side Execution
Sharing and Reuse
Manifests: Assembly Metadata
Creating Assemblies
Using Assemblies
Intermediate Language (IL)
The CTS and CLS
The Common Type System (CTS)
Value types
Reference types
Boxing and unboxing
Classes, properties, indexers
Interfaces
Delegates
The Common Language Specification (CLS)
CLR Execution
Class Loader
Verifier
JIT Compilers
Execution Support and Management
Summary
3. .NET Programming
Common Programming Model
System.Object
Major Namespaces
Core Features and Languages
Managed C++ Code
VB.NET Code
C# Code
Common Intermediate Language Code
Language Integration
Vehicle Class in Managed C++
Car Class in VB.NET
Plane Class in C#
Test Driver in C#
Summary
4. Working with .NET Components
Deployment Options
Private Components
One-directory deployment
Multiple-directory deployment
Shared Components
Generating a random key pair
Making the vehicle component a shared assembly
Making the car component a shared assembly
Making the plane component a shared assembly
Viewing the GAC
Building and testing the drive.exe
Adding new versions
Distributed Components
Distributed Hello Server
Remote Hello Client
Distributed Garbage Collector
COM+ Services in .NET
Attribute-Based Programming
Developing custom attributes
Using custom attributes
Inspecting attributes
Transactions
Object Pooling
Role-Based Security
Configuring role-based security
Programming role-based security
Message Queuing
Enqueue
Dequeue
Summary
5. Data and XML
ADO.NET Architecture
ADO.NET Benefits
Interoperability
Scalability
Productivity
Performance
Content Components
DataSet
Creating a DataSet: An example in C#
XML and Tables Sets
DataTable
Relations and constraints
DataView
DataRelation
Managed Providers
Connection
The Command and Data Reader Objects
Command execution
The data reader object
The DataAdapter Object
DataSet and XML
XML parsers
XML Classes
XmlNode and its derivatives
XmlNodeList
XmlNamedNodeMap
XmlDocument
XmlReader
XmlWriter
XslTransform
XmlDataDocument
Summary
6. Web Services
Web Services in Practice
Web Services Framework
Web Services Architecture
Web Services Wire Formats
HTTP GET and HTTP POST
SOAP
Web Services Description (WSDL)
WSDL Structure
Web Services Discovery
Static discovery
Dynamic discovery
Discovery setting in practice
UDDI
The System.Web.Services Namespace
Web Services Provider
Web Service Provider Example
Web.Config
Web Services Consumers
HTTP GET Consumer
HTTP POST Consumer
Non-.NET Consumers
Web Services and Security
System Security
Application Security
Summary
7. Web Forms
ASP
ASP.NET
The System.Web.UI Namespace
Control Class
Control’s properties
Control class methods
Page Class
Page class properties and methods
UserControl Class
System.Web.UI.HtmlControls Namespace
System.Web.UI.WebControls Namespace
Web Form Syntax
Directives
@ Page
@ Control
@ Import
@ Register
@ Assembly
@ OutputCache
Code Declaration Blocks
Code Rendering Blocks
HTML-Control Syntax
Custom-Control Syntax
Data-Binding Expressions
Server-Side Object Tags
Other Elements
ASP.NET Application Development
Web Form Components
Web Form events
Lifecycle of a Web Form
Configuration
Events Handling
Termination
Server Controls
Custom Server Controls
Pagelets
Control derivatives
Event-Driven Programming
ASP.NET and Web Services
The WebService Directive
The WebMethod Attribute
Using Web Services
Data Binding and the Use of Templates
DataGrid
DataList
Repeater
State Management and Scalability
ASP.NET Session-State Management
Out-of-process session-state management
SQL Server session-state management
Cookieless session-state management
Performance versus Scalability and Reliability
Summary
8. Windows Forms
Introducing Windows Forms
The System.Windows.Forms Namespace
Control Class
Form Class
Extending existing controls
Creating composite controls
Application Class
Windows Forms Development
Windows Forms Application
Windows Controls
Adding controls onto the form
Binding the event handler
Data binding
Arranging controls
Visual Inheritance
MDI Applications
Windows Forms and Web Services
Conclusion
A. .NET Languages
Microsoft-Supported Languages for .NET
Third-Party Languages for .NET
B. Common Acronyms
C. Common Datatypes
Usage
ArrayList
BitArray
HashTable
Queue
SortedList
Stack
D. Common Utilities
Assembly Generation Utility (al.exe)
Assembly Registration Utility (gac.exe)
MSIL Assembler (ilasm.exe)
MSIL Disassembler (ildasm.exe)
C++ Compiler (cl.exe)
C# Compiler (csc.exe)
Visual Basic Compiler (vbc.exe)
PE File Format Viewer (dumpbin.exe)
Type Library Exporter (tlbexp.exe)
Type Library Importer (tlbimp.exe)
XML Schema Definition Tool (xsd.exe)
XDR to XSD
XML to XSD
Classes to XSD
XSD to Classes
XSD to DataSet
Shared Name Utility (sn.exe)
Web Service Utility (wsdl.exe)
Index
Colophon
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
Next
Next Chapter
.Net Framework Essentials
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