Synopses & Reviews
This title shows developers how to build Internet-based, distributed applications using Microsoft .NET Remoting, which enables powerful remote interaction among objects. A fundamental understanding of .NET Remoting is crucial as developers shift to developing distributed, Internet-based applications. Until recently, DCOM was the preferred method for developing distributed applications on Microsoft platforms. But as this book demonstrates, the .NET Remoting architecture is much easier to use and extend than DCOM. The book covers all aspects of .NET Remoting, including in-depth coverage of the .NET Remoting architecture plus concrete examples, best practices, and performance tips to show how to extend and customize the framework.
- Provides developers with deep design and implementation guidance to help them build better distributed applications on the Microsoft .NET Framework
- One third of the book introduces readers to the basics of using .NET Remoting to develop distributed application
- Two-thirds of the book covers advanced features of .NET Remoting plus details on how to extend and customize the Although Java and C# share many similarities, there are fundamental differences between them. What’s more, C#—the language designed from the ground up for programming the Microsoft .NET Framework—offers a wealth of new features that enable programmers to tap the full power of.NET. This is the ideal guide to help any Java developer master .NET programming with C#. The authors—two Java and C# experts—reveal the similarities and differences between the two platforms these languages support. Then they show you how to leverage your Java experience to get up to speed in C# development with a minimum of difficulty. It’s the definitive programming resource as you tackle the .NET class libraries and learn to write applications for .NET with C#. Topics covered include:
- Introduction to Microsoft .NET
- Comparing Java and .NET technologies
THE C# LANGUAGE
- Creating assemblies
- Language syntax and features
- Data types
- Advanced language features
PROGRAMMING .NET WITH C#
- Strings and regular expressions
- Numbers and dates
- Streams, files, and I/O
- XML processing
- Threading and synchronization
- Database connectivity
- Security and cryptography
- Graphics and UI
- Introduction to XML Web services
PRAISE FOR THIS BOOK FROM THE MICROSOFT VISUAL C#(R) .NET TEAM:
"The two tech veterans who wrote this book can help you master C# quickly. They do an admirable job of describing the basics of the .NET initiative: its goals, structure, and capabilities. Then they help you leap the biggest hurdle of all—understanding the structure and purpose of the .NET class libraries. Their book presents the underlying concepts, explains the challenges you’ll face, and guides you past the pitfalls with ease."
—Prashant Sridharan, Product Manager, Microsoft Visual C# .NET team
This book provides Java developers with all the information they need to embrace Microsoft "RM" Visual C# "TM" .NET and develop for the Microsoft .NET Framework -- all from two experienced authors with deep knowledge of Java and Microsoft development tools.
The similarities between C# and Java are immediate and obvious, but Java programmers need to overcome many challenges before they can get up to speed with C#. The expert authors of this title have written the perfect guide to help Java developers past pitfalls and learn to make use of all the power of the more advanced language with the Microsoft "RM" Visual C# "TM" .NET development system. The authors demonstrate the syntactical and architectural similarities between the two languages -- and what's different in C# -- to transform Java developers into proficient C# developers as quickly and painlessly as possible.
This guide will help Java developers master .NET programming with C#. It reveals similarities and differences between the two platforms these languages support, and shows how to draw on knowledge of Java to get up to speed in C# development. After a brief overview of the .NET platform, the book expl
Although Java and C# share many similarities, there are fundamental differences between them. This volume is an ideal guide to help any Java developer master .NET programming with C#.
About the Author
Adam Freeman is a professional programmer and the author of two early Java books, Programming the Internet with Java and Active Java, both published by Addison Wesley, as well as Java course materials. His recent experience architecting a green-field e-commerce platform has given him an in-depth understanding of the current security challenges facing those developing large scale distributed systems. Adam has previously worked for Netscape, Sun Microsystems and the NASDAQ stock exchange.
Table of Contents
Dedication; Introduction; Why We Wrote This Book; Who Should Read This Book; Organization of This Book; Introducing .NET; Chapter 1: Introduction to Microsoft .NET; 1.1 Background; 1.2 Goals of .NET; 1.3 Overview of .NET; 1.4 Platform Migration and Integration; 1.5 Summary; Chapter 2: Comparing Java and .NET Technologies; 2.1 Java 2 Platform, Standard Edition; 2.2 Java 2 Platform, Enterprise Edition; 2.3 Summary; The C# Language; Chapter 3: Creating Assemblies; 3.1 Using the C# Compiler; 3.2 Other .NET Framework Tools; 3.3 Assemblies; 3.4 Summary; Chapter 4: Language Syntax and Features; 4.1 General Program Structure; 4.2 Keywords; 4.3 Operators; 4.4 Literals; 4.5 Modifiers; 4.6 Namespaces; 4.7 Statements; 4.8 Summary; Chapter 5: Data Types; 5.1 Types; 5.2 Members; 5.3 Variables; 5.4 Summary; Chapter 6: Advanced Language Features; 6.1 Threading and Synchronization; 6.2 Exceptions and Exception Handling; 6.3 Attributes; 6.4 Assertions; 6.5 Preprocessor Directives; 6.6 Unsafe Code; 6.7 Summary; Programming .NET with C#; Chapter 7: Strings and Regular Expressions; 7.1 Strings; 7.2 Regular Expressions; 7.3 Summary; Chapter 8: Numbers and Dates; 8.1 Numbers; 8.2 Dates and Times; 8.3 Summary; Chapter 9: Collections; 9.1 Indexers; 9.2 Collection Interfaces; 9.3 Basic Collections; 9.4 Specialized Collections; 9.5 The CollectionsUtil Class; 9.6 Synchronization; 9.7 Custom Collections; 9.8 Summary; Chapter 10: Streams, Files, and I/O; 10.1 Working with the Console; 10.2 The File System; 10.3 Streams; 10.4 Asynchronous I/O; 10.5 Isolated Storage; 10.6 Object Serialization; 10.7 Summary; Chapter 11: XML Processing; 11.1 XmlNameTable; 11.2 XmlReader; 11.3 XmlWriter; 11.4 Document Object Model; 11.5 XPath; 11.6 XSL Transformations; 11.7 Extensibility; 11.8 Summary; Advanced Topics; Chapter 12: Reflection; 12.1 Dealing with Types; 12.2 Inspecting Types; 12.3 Late Binding; 12.4 Summary; Chapter 13: Threading and Synchronization; 13.1 Threads; 13.2 The ThreadPool Class; 13.3 Synchronization; 13.4 Summary; Chapter 14: Networking; 14.1 Accessing the Internet; 14.2 Sockets; 14.3 Programming with Native Sockets; 14.4 Summary; Chapter 15: Remoting; 15.1 First Steps; 15.2 Copies and References; 15.3 Channels; 15.4 Publishing and Activation; 15.5 Lifetime Leases; 15.6 Summary; Chapter 16: Database Connectivity; 16.1 Data Providers; 16.2 DataSet; 16.3 Summary; Chapter 17: Security and Cryptography; 17.1 Code Access Security; 17.2 Role-Based Security; 17.3 Cryptography; 17.4 Summary; Chapter 18: Graphics and UI; 18.1 Windows Forms; 18.2 Drawing with GDI+; 18.3 Summary; Chapter 19: Introduction to XML Web Services; 19.1 Creating XML Web Services; 19.2 Building and Deploying XML Web Services; 19.3 State Management; 19.4 XML Web Service Clients; 19.5 Summary; Platform Integration; Runtime Environment; Process Control; Windows Registry; Windows Event Log; Windows Services; Shared Assemblies; Creating a Shared Assembly; The Global Assembly Cache; Assembly Probing; Codebase Probing; Summary; Configuring Applications; Application Configuration Files; Application Settings; Summary; Garbage Collection; Controlling the Garbage Collector; Finalizing and Disposing; Weak References; Summary; Cross-Language Code Interoperability; The Common Type System; The Common Language Specification; Writing CLS-Compliant Code in C#; The CLSCompliant Attribute; Summary; Java to .NET API Reference; The java.awt Package; The java.awt.color Package; The java.awt.datatransfer Package; The java.awt.dnd Package; The java.awt.event Package; The java.awt.font Package; The java.awt.geom Package; The java.awt.im Package; The java.awt.im.spi Package; The java.awt.image Package; The java.awt.image.renderable Package; The java.awt.print Package; The java.io Package; The java.lang Package; The java.lang.ref Package; The java.lang.reflect Package; The java.math Package; The java.net Package; The java.nio Package; The java.rmi Package; The java.security Package; The java.sql Package; The java.text Package; The java.util Package; The java.util.jar Package; The java.util.logging Package; The java.util.prefs Package; The java.util.regex Package; The java.util.zip Package; The javax.swing Package; The javax.swing.border Package; The javax.swing.colorchooser Package; The javax.swing.event Package; The javax.swing.filechooser Package; The javax.swing.plaf Package; The javax.swing.table Package; The javax.swing.text Package; The javax.swing.tree Package; The javax.swing.undo Package; The javax.sql Package; The javax.xml.parsers Package; The javax.xml.transform Package; The org.w3c.dom Package; The org.xml.sax Package; About the Authors; Allen Jones; Adam Freeman; Pipe Valves;