|

Addison-Wesley / Prentice Hall

Computer Science

My Instructor Resource Center :  Log in or request access

.NET Application Development: with C#, ASP.NET, ADO.NET and Web Services
Hanspeter MössenböckUniversity of Linz, Institute of Practical Computer Science, Altenbergstrasse 69,A-4040 Linz, Austria
Wolfgang Beer
Dietrich Birngruber
Albrecht Wöss

ISBN-10: 032117349X
ISBN-13:  9780321173492

Publisher:  Addison-Wesley
Copyright:  2004
Format:  Paper Bound w/CD-ROM; 560 pp
Published:  08/16/2004
Status: Out of Print


We're sorry, this product is no longer available.
Please contact your Pearson rep if you are using this product and need instructor resources.

The authors cover the C# language as well as the major parts of the Microsoft .NET framework, namely the Common Language Runtime (CLR), the .NET class library, ADO.NET (ActiveX Data Objects), ASP.NET (Active Server Pages), Web Services as well as the most important tools under .NET.

  • Shows readers how to use the most important tools under .NET such as the C# compiler, the debuggers, the disassembler, the Global Assembly Cache tools and the Strong Names tool
  • Coverage of Web Services under .NET including SOAP, WSDL and UDDI shows readers how to write Web Services and call them from client programs
  • Complete coverage of Microsofts new programming language C# readers will learn how to write C# programs in compact form
  • A preview chapter on the new features to be introduced in .NET 2.0
  • Companion CD contains
    • .NET framework
    • SharpDevelop (an open software IDE for C# development)
    • ASP.NET Web Matrix (an IDE for interactive Web Design)
    • Webservice Studio (a tool for analysing Web Services)
  • Includes C# source code of the open source compiler generator Coco/R as well as a C# grammar from which scanners and parsers for C# tools can be generated also on the CD

1 What is .NET? 1
1.1 The .NET framework 2
1.2 The benefits of using .NET 10
1.3 Differences to Java 12
1.4 Further literature 13


2. The language C# 15
2.1 Overview 15
2.2 Symbols 20
2.3 Types 22
2.3.1 Simple types
2.3.2 Enumerations
2.3.3 Arrays
2.3.4 Strings
2.3.5 Structs
2.3.6 Classes
2.3.7 Object
2.3.8 Boxing and unboxing
2.4 Expressions 34
2.5 Declarations 38
2.6 Statements 42
2.6.1 Empty statements
2.6.2 Assignments
2.6.3 Method calls
2.6.4 If statements
2.6.5 Switch statements
2.6.6 While statements
2.6.7 Do-while statements
2.6.8 For statements
2.6.9 Foreach statements
2.6.10 Break and continue statements
2.6.11 Goto statements
2.6.12 Return statements
2.7 Input and output 49
2.7.1 Output to the screen
2.7.2 Output to a file
2.7.3 Input from the keyboard
2.7.4 Input from a file
2.7.5 Reading command line arguments
2.8 Classes and structs 55
2.8.1 Visibility attributes
2.8.2 Fields
2.8.3 Methods
2.8.4 Constructors
2.8.5 Destructors
2.8.6 Properties
2.8.7 Indexers
2.8.8 Operators
2.8.9 Nested types
2.8.10 Differences to Java and C++
2.9 Inheritance 75
2.9.1 Declaration of subclasses
2.9.2 Compatibility between classes
2.9.3 Overriding and hiding of members
2.9.4 Dynamic binding
2.9.5 Constructors in superclasses and subclasses
2.9.6 Abstract classes
2.9.7 Sealed classes
2.9.8 The class Object
2.10 Interfaces 90
2.11 Delegates and events 95
2.12 Exceptions 98
2.13 Namespaces and assemblies 104
2.14 Attributes 109
2.15 Automatically generated comments 115


3 The .NET Architecture 119
3.1 Why a virtual machine 120
3.2 The Common Type System 126
3.2.1 The type hierarchy
3.2.2 Predefined typed
3.2.3 Value types
3.2.4 Reference types
3.2.5 From value types to reference types and back
3.3 The Common Language Specification 142
3.3.1 The attribute CLSCompliant
3.4 The Common Intermediate Language 144
3.5 Metadata 146
3.5.1 Attributes
3.6 Assemblies and modules 150
3.6.1 Encapsulation
3.6.2 Versioning
3.6.3 Side by side execution and the end of DLL hell
3.7 The Virtual Execution System 158
3.7.1 Loading and executing managed code
3.7.2 Verification of CIL code
3.7.3 Translation from CIL code to machine code
3.7.4 Code management
3.8 Security 172
3.8.1 Code-based security
3.8.2 Role-based security


4 The .NET class library 185
4.1 Collections 186
4.1.1 Ienumerable
4.1.2 Icollection
4.1.3 Ilist
4.1.4 Array
4.1.5 ArrayList
4.1.6 BitArray
4.1.7 Queue
4.1.8 Stack
4.1.9 Idictionary
4.1.10 Hashtable
4.1.11 SortedList
4.2 Input and Output 200
4.2.1 Streams
4.2.2 Files and directories
4.2.3 Isolated memory
4.3 Threading 211
4.3.1 Creating a thread
4.3.2 State of a thread
4.3.3 Background threads
4.3.4 Thread pools
4.3.5 Synchronisation
4.4 Network communication 224
4.4.1 Addressing
4.4.2 Sockets
4.4.3 NetworkStream
4.4.4 WebRequest and WebResponse
4.5 Reflection 232
4.5.1 System.Reflection.Assembly
4.5.2 System.Type
4.5.3 Dynamic object creation
5.4.4 Dynamic invocation of methods
5.4.5 Reflection.Emit
4.6 Graphical user interfaces with Windows Forms 240
4.6.1 Controls
4.6.2 Forms
4.6.3 Event-driven programming model
4.6.4 User defined controls
4.7 XML 251
4.7.1 XML architecture
4.7.2 Sequential reading with XmlReader
4.7.3 Xpath
4.7.4 XSL transformations


5 ADO.NET 265
5.1 Overview 265
5.2 Connection-based and disconnected access 268
5.3 Connection-based access 270
5.3.1 Connections
5.3.2 Transactions, isolation levels and deadlocks
5.3.3 SQL command objects
5.3.4 DataReader
5.4 Disconnected access with DataSet 291
5.4.1 Creating and using DataSets
5.4.2 Database access with a DataAdapter
5.5 Integration with XML 310
5.5.1 DataSets and XML types
5.5.2 DataSets and XML schemata


6 ASP.NET 321
6.1 Creating dynamic Web pages 322
6.2 Simple Web forms 330
6.3 Event handling in ASP.NET 337
6.4 Web controls 343
6.4.1 Control
6.4.2 WebControl
6.4.3 Button
6.4.5 TextBox
6.4.6 Label
6.4.7 CheckBox
6.4.8 RadioButton
6.4.9 ListBox
6.4.10 DropDownList
6.4.11 DataGrid
6.4.12 Calendar
6.5 Validation of user input 373
6.5.1 BaseValidator
6.5.2 RequiredFieldValidator
6.5.3 RangeValidator
6.5.4 CompareValidator
6.5.5 CustomValidator
6.5.6 Example
6.6 User-defined Web controls 379
6.6.1 User controls
6.6.2 Custom controls
6.7 State management 389
6.7.1 Class Page
6.7.2 Page state
6.7.3 Session state
6.7.4 Application state
6.8 ASP.NET application layer (global.asax) 397
6.9 Configuration 400
6.9.1 Definition of configuration sections
6.9.2 Data in configuration sections
6.9.3 Overview of configuration sections for ASP.NET
6.10 Web page programming with Visual Studio .NET 408


7 Web Services 413
7.1 Overview 413
7.2 A simple Web service under .NET 417
7.2.1 A simple .NET client
7.2.2 A simple Java client
7.3 SOAP 423
7.3.1 SOAP message formats for Web services
7.3.2 HTTP binding
7.4 SOAP and .NET 430
7.4.1 The SOAP message format
7.4.2 SOAP encoding of .NET data types
7.4.3 SOAP header entries
7.4.4 Life cycle of Web services
7.5 Web service description language (WSDL) 442
7.6 Finding a Web service 445
7.7 Configuration of Web services under .NET 448
7.8 Tools and resources 450
7.8.1 .NET Web service studio
7.8.2 Useful Web sites


8 .NET tools 543
8.1 Overview 453
8.2 C# compiler 457
8.3 Configuration of an application 459
8.4 Debugging 461
8.4.1 Command line debugger
8.4.2 GUI-based debugger
8.4.3 System.Diagnostics.Debug
8.5 Other tools 469
8.5.1 IL disassembler
8.5.2 Strong name tool
8.5.3 Assembly cache viewer
8.5.4 Global assembly cache utility

 

 

.NET Application Development

with C#, ADO.NET, ASP.NET and Web Services

 

Hanspeter Mössenböck

Wolfgang Beer

Dietrich Birngruber

Albrecht Wöß

 

Microsofts .NET architecture has brought a quiet revolution to the development of modern applications, particularly in the areas of Internet programming and web services.  This book provides a technical introduction to the full spectrum of .NET technologies, including

·        A comprehensive tutorial on the C# programming language

·        An introduction to the Common Language Runtime (CLR), allowing programmers to mix and match different languages

·        An overview of the .NET class library, containing over 2,000 useful classes and interfaces to reuse in your applications

·        A guide to database programming with ADO.NET

·        A description of ASP.NET for building dynamic web pages

·        Examples of web services which allow applications to cooperate across the Internet using SOAP and HTTP protocols.

·        A concise description of the most important tools under .NET

·        A preview of the new features of .NET 2.0, the next release of the .NET Framework.

 

Programmers who wish to gain an understanding of how to use .NET tools in novel applications will benefit from the hands-on guidance in this book.  Students will find it to be an ideal text for courses on C#, Web programming or component technology.  More than 100 exercises at the end of every chapter make the book ideally suited for self-study. Sample solutions to the exercises as well as tutorial material, software and links can be found on http://dotnet.jku.at.

The companion CD-ROM contains a wealth of useful tools including

·        Version 1.1 of the .NET Software Development Kit

·        The open source SharpDevelop environment for C# and VB.NET

·        Microsoft ASP.NET Web Matrix, an IDE for rapid application development under .NET

·        Webservice Studio, a tool for testing web services

·        The Coco/R open source compiler generator for C# including a C# grammar from which customized scanners and parsers for C# can be produced.

 

The authors are in the Institute for Practical Computer Science at the University of Linz in Austria, and have based the book on courses and tutorials given to both students and professional programmers.


This product is a member of the following series. Click on the series name to see the full list of products in the series.

Log in to the Instructor Resource Center

Login name: 

  Password: 

Forgot login/password?  |  Need to redeem an access code?

         

Instructor Resource Center File Download

This work is protected by local and international copyright laws and is provided solely for the use of instructors in teaching their courses and assessing student learning. Dissemination or sale of any part of this work (including on the World Wide Web) will destroy the integrity of the work and is not permitted. The work and materials from this site should never be made available to students except by instructors using the accompanying text in their classes. All recipients of this work are expected to abide by these restrictions and to honor the intended pedagogical purposes and the needs of other instructors who rely on these materials.

Cancel                       I accept, proceed with download

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.