ebook img

Developing .NET Enterprise Applications PDF

514 Pages·2003·13.181 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Developing .NET Enterprise Applications

Developing .NET Enterprise Applications JOHN KANALAKIS APress Media, LLC Developing .NET Enterprise Applications Copyright ©2003 by John Kanalakis Originally published by Apress in 2003 All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN 978-1-59059-046-1 ISBN 978-1-4302-0822-8 (e Book) DOI 10.1007/978-1-4302-0822-8 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Technical Reviewer: Phil Pledger Editorial Board: Dan Appleman, Craig Berry, Gary Cornell, Tony Davis, Steven Rycroft, Julian Skinner, Martin Streicher, Jim Sumser, Karen Watterson, Gavin Wray, John Zukowski Assistant Publisher: Grace Wong Project Manager: Tracy Brown Collins Copy Editor: Kim WliDpsett Production Manager: Kari Brooks Proofreader: Lori Bring Compositor: ContentWorks Indexer: Ron Strauss Artist: April Milne Cover Designer: Kurt Krames Manufacturing Manager: Tom Debolski Distributed to the book trade in the United States by Springer-Verlag New York, Inc., 175 Fifth Avenue, New York, NY, 10010 and outside the United States by Springer-Verlag GmbH & Co. KG, Tiergartenstr. 17, 69112 Heidelberg, Germany. In the United States: phone 1-800-SPRINGER, email orders@springer-ny. com, or visit http://www.springer-ny.com. Outside the United States: fax+49 6221345229, email orders@springer. de, or visit http://www. springer. de. The information in this book is distributed on an "as is" basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. To family, friends, and new technology ... Contents at a Glance Chapter 1 Introducing .NET and Enterprise Architecture .....1 Chapter 2 Accessing Data in ADO.NET .........................2 3 Chapter 3 Using Networking Directory Services ..............7 1 Chapter 4 Applying Reliable Messaging .......................9 5 Chapter 5 Integrating Mail Services ........................1 29 Chapter 6 Automating Business Processes ....................1 51 Chapter 7 Building Web Applications ........................1 77 Chapter 8 Developing Desktop Applications .................. 211 Chapter 9 Using XML and Web Services ....................... 259 Chapter 10 Integrating Reporting Services ...................3 01 Chapter 11 Deploying .NET Applications on Wireless Devices ...................................3 33 Chapter 12 Integrating . NET Applications ....................3 77 Chapter 13 Understanding .NET Security and Cryptography ...................................4 15 Chapter 14 Installing •N ET Applications .....................4 43 Appendix A Building the Issue Tracker Database ..............4 67 Appendix B Understanding the Issue Tracker Object Map ......4 71 Appendix C Using String Format Specifiers ...................4 73 Appendix D Using XSL T Functions ..............................4 77 Index ...............................................4 79 v Contents About the Author ..................................................x i About the Technical Reviewer ...................................x iii Acknowledgments ....................................................x v Introduction .....................................................x vii Chapter 1 Introducing .NET and Enterprise Architecture ....................................... 1 Defining Enterprise Applications .................................1 Leveraging the . NET Servers .......................................7 Understanding the Enterprise Development Process ...............9 Understanding Enterprise Application Design ....................1 1 Establishing an Application Development Framework .............1 5 Getting Started with Visual Studio .NET ........................1 6 Summary .............................................................2 1 Chapter 2 Accessing Data in ADO.NET .................... 23 Building a Data Access Framework ................................2 3 Understanding the ADO. NET Architecture .........................2 4 Creating the Data Access Component ..............................2 8 Building Application Framework Objects .........................4 0 Creating the Business Object Manager ............................4 6 Managing Reference Data ........................................... 57 Connecting to Databases Other Than SQL Server .................6 5 Summary .............................................................6 9 Chapter 3 Using Networking Directory Services ...... 71 Exploring Directory Services .....................................7 1 Leveraging .NET Framework Objects ...............................7 7 Applying Directory Services ......................................7 8 Improving Directory Service Performance ........................8 9 Summary .............................................................9 3 vii Contents Chapter 4 Applying Reliable Messaging ................. 95 Introducing Messaging Systems ....................................9 5 Using Microsoft Message Queue ....................................9 9 Working with .NET Messaging Services ..........................1 01 Implementing a Distributed Service .............................1 25 Summary ............................................................1 28 Chapter 5 Integrating Mail Services. .................. 129 Understanding E-Mail Concepts ...................................1 29 Building an E-Mail Business Service ............................1 36 Summary ............................................................1 49 Chapter 6 Automating Business Processes ............. 151 Enabling Business Process Automation ...........................1 51 Exploring BizTalk Server ........................................1 52 Extending .NET Applications with BizTalk Server ..............1 55 Defining the Business Process ...................................1 57 Implementing the Business Process ..............................1 61 Executing the Business Process .................................1 75 Summary ............................................................1 75 Chapter 7 Building Web Applications ................... 177 Standardizing Web Forms with Templates ........................1 77 Adding Dynamic Data to Web Forms ...............................1 88 Managing User Session Data ......................................1 99 Validating User Data Entry ......................................2 01 Applying Web User Controls ......................................2 04 Summary ............................................................2 09 Chapter 8 Developing Desktop Applications. .......... 211 Building a Desktop Application Framework ......................2 11 Creating a Plug-in Framework ....................................2 18 Adding Dynamic Data to Windows Forms ..........................2 35 Extending Application Usability ................................2 43 Packaging Application Resources ................................2 55 Summary ............................................................2 57 viii Contents Chapter 9 Using XML and Web Services ................. 259 Understanding the Extensible Markup Language .................2 59 Understanding the Web Service Framework .......................2 68 Building Enterprise Web Services ............................... 273 Summary ............................................................ 299 Chapter 10 Integrating Reporting Services ............ 301 Delivering Enterprise Reporting ................................3 01 Creating a New Enterprise Report ............................... 306 Performing the Report Layout .................................... 310 Adding Report Viewers to Applications ......................... 322 Distributing Enterprise-Wide Reports ........................... 330 Summary ............................................................3 32 Chapter 11 Deploying .NET Applications on Wireless Devices ........................... 333 Exploring the • NET Compact Framework ..........................3 33 Exploring the Microsoft Mobile Internet Toolkit ..............3 58 Summary ............................................................3 76 Chapter 12 Integrating .NET Applications ............. 377 Defining an Application Integration Strategy ................. 377 Architecting an Integration Platform ...........................3 80 Creating Integration Adapters ...................................3 81 Creating the Integration Server ................................3 92 Performing Data Mapping and Transformation with XSLT ........3 99 Exchanging Data Between Adapters and the Integration Server406 Summary ............................................................4 12 Chapter 13 Understanding .NET Security and Cryptography ............................... 415 Defining Layers of Application Security ...................... .415 Understanding the .NET Security Framework .....................4 16 Implementing Security Concepts .................................4 18 Summary ............................................................4 41 ix Contents Chapter 14 Installing • NET Applications ............... 443 Defining the Elements of Application Deployment ..............4 43 Examining the Windows Installer Engine ........................4 44 Implementing a Deployment Solution .............................4 45 Addressing Common Deployment Issues ............................4 58 Summary ............................................................4 65 Appendix A Building the IssueT racker Database ...... 467 Appendix 8 Understanding the IssueTracker Object Map ....................................... 471 Appendix C Using String Format Specifiers ............ 473 Formatting Numbers ...............................................4 73 Formatting Dates .................................................4 74 Formatting Enumerations ......................................... .476 Appendix D Using XSLT Functions ......................... 477 Index ............................................................ 479 X About the Author JoHN KANALAKIS is the senior director of software development at LoanCity and is currently using .NET to power the mortgage industry. John has designed and built a number of large-scale enterprise applications as well as application frameworks. Throughout his professional career, John has worked with a wide range of programming platforms but has focused mainly on C++ and Java. Such appli cations include product requirements management, electronic component supply-chain management, enterprise application integration, and catastrophe simulation solutions. John has largely been responsible for designing and implementing multi tiered and distributed computing applications with presentation layers available as desktop applications, Web applications, and mobile device applications. John has also written about, presented, and developed various Web service solutions implemented in both Java and C#. John keeps active within the developer community by writing white papers and magazine articles, by participating in online developer forums, and by pre senting at software-related conferences. xi

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.