Limited Offer
C#.Net Developer's Guide
- 1st Edition - January 12, 2002
- Authors: Adrian Turtschi, Jason Werry, Greg Hack, Joseph Albahari
- Language: English
- eBook ISBN:9 7 8 - 0 - 0 8 - 0 4 7 6 3 6 - 0
Microsoft's C# ("C sharp") is a modern, object-oriented programming language built from the ground up to exploit the power of XML-based Web services on Microsoft's new .NET… Read more
Purchase options
Institutional subscription on ScienceDirect
Request a sales quoteMicrosoft's C# ("C sharp") is a modern, object-oriented programming language built from the ground up to exploit the power of XML-based Web services on Microsoft's new .NET platform. With its Visual C++ development system heritage, C# will enable millions of C and C++ developers to use existing skills to rapidly build sophisticated XML-based .NET applications.
Why Will Web Developers Switch to C#?
...Because it's the ideal solution for C and C++ programmers who need to combine rapid development with the power to access all the functionality of the Microsoft.NET platform. They want an environment that is completely in sync with emerging Web standards and one that provides easy integration with existing applications.
C#.net Web Developer's Guide will enhance developer productivity and help them eliminate programming errors that can lead to increased development costs. This book teaches Web developers to quickly and easily build solutions for the Microsoft .NET platform. Web developers will learn to use C# components to build Web services and applications that are available across the Internet, from any application running on any platform.
Why Will Web Developers Switch to C#?
...Because it's the ideal solution for C and C++ programmers who need to combine rapid development with the power to access all the functionality of the Microsoft.NET platform. They want an environment that is completely in sync with emerging Web standards and one that provides easy integration with existing applications.
C#.net Web Developer's Guide will enhance developer productivity and help them eliminate programming errors that can lead to increased development costs. This book teaches Web developers to quickly and easily build solutions for the Microsoft .NET platform. Web developers will learn to use C# components to build Web services and applications that are available across the Internet, from any application running on any platform.
* Timely coverage of newly released product - programmers and developers are anxious to learn about the new technology
* Comes with Syngress' revolutionary wallet-sized CD containing a printable HTML version of the book and all of the source code examples and demos of popular C# upgrade and programming tools
* Comes with Syngress' revolutionary wallet-sized CD containing a printable HTML version of the book and all of the source code examples and demos of popular C# upgrade and programming tools
Advanced C and C++ developers who are now writing open standard, cross platform applications built on Microsoft's .net platform
Foreword
Chapter 1 Introducing the Microsoft .NET Platform
Introduction
Introducing the.NET Platform
Microsoft .NET and Windows DNA
Microsoft .NET Architecture Hierarchy
Features of the .NET Platform
Multilanguage Development
Platform and Processor Independence
Automatic Memory Management
Versioning Support
Support for Open Standards
Easy Deployment
Distributed Architecture
Interoperability with Unmanaged Code
Security
Performance and Scalability
Components of the .NET Architecture
.NET Runtime
Managed/Unmanaged Code
Intermediate Language
Common Type System
.NET Base Class Library (BCL)
Assemblies
Metadata
Assemblies and Modules
Assembly Cache
Reflection
Just In Time Compilation
Garbage Collection
Exploring the Code Cycle
The Pursuit of Standardization
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 2 Introducing C# Programming
Introduction
Getting Started
Creating Your First C# Program
Compiling and Executing
Defining a Class
Declaring the MainMethod
Organizing Libraries with Namespaces
Using the using Keyword
Adding Comments
Introducing Data Types
Value Types
Reference Types
Explaining Control Structures
Using the ifStatement
Using the if-elseStatement
Using the switch caseStatement
Using the forStatement
Using the whileStatement
Using the do whileStatement
Using the breakStatement
Using the continueStatement
Using the returnStatement
Using the gotoStatement
Understanding Properties and Indexers
Using Properties
Accessing Lists with Indexers
Using Delegates and Events
Delegates
Events
Using Exception Handling
Using the tryBlock
Using the catchBlock
Using the finallyBlock
Using the throwStatement
Understanding Inheritance
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 3 Visual Studio.NET IDE
Introduction
Introducing Visual Studio.NET
Components of VS.NET
Design Window
Code Window
Server Explorer
Toolbox
Docking Windows
Properties Explorer
Solution Explorer
Object Browser
Dynamic Help
Task List Explorer
Features of VS.NET
IntelliSense
XML Editor
Documentation Generation (XML Embedded Commenting)
Customizing the IDE
Creating a Project
Projects
Creating a Project
Add Reference
Build the Project
Debugging a Project
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 4 Windows Forms
Introduction
Introducing Windows Forms
Writing a Simple Windows Forms Application
Adding Controls
Adding an Event Handler
Adding Controls at Runtime
Attaching an Event Handler at Runtime
Writing a Simple Text Editor
Starting the Project
Creating a Menu
Adding a New Form
Creating a Multiple Document Interface
Creating a Dialog Form
Using Form Inheritance
Adding a TabControl
Anchoring Controls
Connecting the Dialog
Using the ListView and TreeView Controls
Building an ImageList
Adding a ListView
Attaching a Context Menu
Adding a TreeView
Adding a Splitter
Implementing Drag and Drop
Creating Controls
Creating a User Control
Writing a Custom Control
Subclassing Controls
Custom Controls in Internet Explorer
Setting Up IIS
Creating a Virtual Directory
Writing a Test Page
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 5 Network Programming: Using TCP and UDP Protocols
Introduction
Introducing Networking and Sockets
Introduction to TCP
Introduction to UDP
Introduction to Ports
System.NetNamespace
System.Net.SocketsNamespace
Example TCP Command Transmission and Processing
General Usage of Needed .NET Classes
The Server
The Client
Compiling and Running the Example
Example UDP Command Transmission and Processing
General Usage of Needed .NET Classes
The Server
The Client
Compiling and Running the Example
Creating a News Ticker Using UDP Multicasting
General Usage of Needed .NET Classes
The Server
The Client
Compiling and Running the Example
Creating a UDP Client Server Chat Application
The TCPServerSessionClass
The TCPServerClass
The Chat Protocol
The ChatServerClass
The ChatClientClass
Compiling and Running the Example
Creating a TCP P2P File Sharing Application
The Remote File Stream Protocol
The RemoteFileStreamServerClass
The RemoteFileStreamProxyClass
The FileSharingPeerClass
Compiling and Running the Example
Access to Web Resources
General Usage of Needed .NET Classes
A Web Access Client
Compiling and Running the Example
Request Method
Redirection
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 6 Remoting
Introduction
Introducing Remoting
Remoting Architecture
Creating a Simple Remoting Client Server
Creating the Remote Server Object
Creating the Hosting Application
Creating the Client Application
Understanding the Remoting Code
Improving the Sample Application
Creating an Intranet Application
Object Lifetime and Leasing
Creating Service-Based Applications
Building a Versioned Remoting Application
Summary/Solution Fast Track/Frequently Asked Questions
Chapter 7 Message Queuing Using MSMQ
Introduction
Introducing MSMQ
MSMQ Architecture
Installing MSMQ
Creating a Simple Application
Understanding the Messaging Code
Setting Queue Options
Creating a Complex Application
Creating the MSMQGraphics Drawing Library
Creating the DrawingSender Project
Creating the DrawingReceiver Project
Creating an Asynchronous Application
Using Public Queues While Disconnected from the Network
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 8 ADO.NET
Introduction
Introducing ADO.NET
ADO.NET Architecture
Understanding the ConnectionObject
Building the Connection String
Understanding the CommandObject
Understanding DataReaders
Understanding DataSets and DataAdapters
Differences between DataReader Model and DataSet Model
Understanding the DataViewObject
Working with System.Data.OleDb
Using DataReaders
Using DataSets
Working with SQL.NET
Using Stored Procedures
Working with Odbc.NET
Using DSN Connection
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 9 Working with XML
Introduction
Introduction to XML
Explaining XML DOM
Explaining XPath
Explaining XSL
Explaining XML Schemas
XML Classes in the .NET Framework
Working with XML DOM
Creating an Empty XML DOM Document
Adding an Element to the XML Document
Updating an Element in the XML Document
Deleting an Element in the XML Document
Loading and Saving the XML Document
Working with XML and Relational Data
XML and the DataSetClass
XML Schemas and the DataSetClass
Traversing Relations in the DataSetClass
Working with XPath and XSL Transformations
Working with XPath
Working with XSL
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 10 ASP.NET
Introduction
Introducing the ASP.NET Architecture
ASP.NET Server Controls
Working with User Controls
Custom Controls
Understanding the Web.config File
Using the Global.asax Page
Working with Web Forms
Creating a Simple Web Form
Building an XML Poll
Working with ADO.NET
Building a Message Board with SQL
Building a Shopping Cart with SQL
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 11 Web Services
Introduction
The Case for Web Services
The Role of SOAP
Why SOAP?
Why Web Services?
The World of Web Services
Web Service Standards
Wiring Up Distributed Objects—The SOAP Protocol
Describing Web Services—WSDL
Discovering Web Services—DISCO
Publishing Web Services—UDDI
Working with Web Services
Passing Complex Data Types
Error Handling
Writing a SOAP Client Application
Passing Objects
Passing Relational Data
Passing XML Documents
Working with UDDI
SOAP Headers
Advanced Web Services
Maintaining State
Security
Summary/Solutions Fast Track/Frequently Asked Questions
Chapter 12 Building a Jokes Web Service
Introduction
Motivation and Requirements for the Jokes Web Service
Functional Application Design
Defining Public Methods
Defining the Database Schema
Defining the Web Service Architecture
Implementing the Jokes Data Repository
Installing the Database
Creating the Stored Procedures
Implementing the Jokes Middle Tier
Setting Up the Visual Studio Project
Developing the Error Handler
Developing the Database Access Component
Developing the User Administration Service
Developing the Jokes Service
Creating a Client Application
Some Ideas to Improve the Jokes Web Service
Summary/Solutions Fast Track/Frequently Asked Questions
Index
- No. of pages: 608
- Language: English
- Edition: 1
- Published: January 12, 2002
- Imprint: Syngress
- eBook ISBN: 9780080476360
Read C#.Net Developer's Guide on ScienceDirect