.NET Common Language Runtime Unleashed

.NET Common Language Runtime Unleashed

by Kevin Burton, Kevin Burton

Paperback

$54.71 $64.99 Save 16% Current price is $54.71, Original price is $64.99. You Save 16%.

Product Details

ISBN-13: 9780672321245
Publisher: Sams
Publication date: 04/18/2002
Series: Unleashed Series
Pages: 1024
Product dimensions: 7.50(w) x 9.30(h) x 2.20(d)

About the Author

Ronald Kevin Burtonhas been around software development for almost 20 years. He has worked with small and efficient real-time executive programs for controlling the flow of communications data in a communications system. He participated in a team to build critical flight-control software, and has worked on Cyber, Unix, VAX/VMS, OS/9, VxWorks, Windows NT, and Windows 2000 systems. Kevin built complex real-time systems that analyzed images and provided feedback to the user, as well as custom software to augment the operation of an electron microscope. Currently, Kevin is working on building cutting edge systems to automate the production and distribution of news broadcasts. He sees the .NET Framework as the next evolution of software development and is excited about being part of that movement. Kevin can be reached at Kevin.Burton@inewsroom.com

Table of Contents

Foreword.

Introduction.

I. .NET FRAMEWORK AND THE CLR FUNDAMENTALS.

1. Introduction to a Managed Environment.

Brief History of the CLR. Overview of the Managed Runtime Environment.

2. The Common Language Runtime-The Language and the Type System.

Common Type System. Features of the Common Language Specification.

3. The Common Language Runtime-Overview of the Runtime Environment.

Introduction to the Runtime. Starting a Method.

II. COMPONENTS OF THE CLR.

4. The Assembly.

Overview of the .NET Assembly. General Assembly Structure. Detailed Assembly Structure. An Unmanaged API to Access Assembly Metadata. Physical Layout of the Assembly.

5. Intermediate Language Basics.

Where Does IL Fit into the Development Scheme? ILDASM Tutorial. Basic IL. Commonly Used IL Instructions.

6. Publishing Applications.

Windows Client Installation Problems. Deploying and Publishing a .NET Application. Identifying Code with Strong Names. Deploying a Private Assembly. Installing Shared Code. Locating Assemblies. Administering Policy.

III. RUNTIME SERVICES PROVIDED BY THE CLR.

7. Leveraging Existing Code-P/Invoke.

Platform Invoke Overview. Why Platform Invoke Interop? Some Other Interop Methods. Details of Platform Invoke. Performance Considerations with P/Invoke.

8. Using COM/COM+ from Managed Code.

The Runtime Callable Wrapper. Programmatically Generating an Interop Assembly. Late-Binding to a COM Component. Interop with ActiveX Controls. Interop with SOAP.

9. Using Managed Code as a COM/COM+ Component.

Why Build a .NET Component to Look Like a COM Component? Unmanaged to Managed Interop Basics.

10. Memory/Resource Management.

Overview of Resource Management in the .NET Framework. Large Objects. WeakReference or Racing with the Garbage Collector.

11. Threading.

Threads Overview. What Else Can Be Done to a Thread? AppDomain. Synchronization. Thread Pool.

12. Networking.

Brief History of the Distributed Application. Traditional Sockets. WinSock. .NET Networking Classes. .NET Socket. .NET Networking Transport Classes. .NET Protocol Classes. Connection Management. Network Security.

13. Building Distributed Applications with .NET Remoting.

Distributed Applications. Remoting Architecture. Remoting Objects. Advanced Remoting Topics. Debugging Remote Applications.

14. Delegates and Events.

Why delegates? delegate Basics. Comparing delegates. Removing delegates. Cloning delegates. Serializing delegates. Asynchronous delegates. events Make Working with delegates Easier.

15. Using Managed Exceptions to Effectively Handle Errors.

Error Handling with Exceptions. Exceptions Overview. C# Exceptions. VC++ Exceptions. VB Exceptions. Cross Language Exceptions. P/Invoke Exceptions. COM Exceptions. Remote Exceptions. Thread and Asynchronous Callback Exceptions.

16. .NET Security.

Two Different, Yet Similar Security Models. Isolated Storage. Using .NET Cryptography.

17. Reflection.

Using Reflection to Obtain Type Information. Using Reflection to Serialize Types. Late Binding to an Object Using Reflection. Dynamic Generation of Code.

18. Globalization/Localization.

International Application Basics. The Road to an International Application.

19. Debugging .NET Applications.

Providing Feedback to the User. Using a Debugger. Determining Assembly Load Failures. Building Your Own Debugger.

20. Profiling .NET Applications.

Traditional Tools Used in Profiling a .NET Application. Using the Performance Monitor and PerformanceCounters to Profile .NET Applications. Using Custom Profiling APIs.

IV. APPENDIXES.

Appendix A. C# Basics.

Building a Program with C#. Object-Oriented Programming with C#. C# Objects. Basic Programming Elements of C#.

Appendix B. .NET Framework Class Libraries.

System.BitConverter. System.Buffer. System.Console. System.Convert. System.DateTime. System.Environment. System.Guid. System.IFormatProvider. System.Math. System.OperatingSystem. System.Random. System.TimeSpan. System.TimeZone. System.Version. System.Collections. System.ComponentModel. System.Configuration. System.Data. System.Diagnostics. System.Drawing. System.IO. System.Messaging. System.Text. System.Timers. System.Web. System.Windows.Forms. System.Xml.

Appendix C. Hosting the Common Language Runtime.

Adding a Custom Host for the Common Language Runtime.

Appendix D. The Common Language Runtime as Compared to the Java Virtual Machine.

Historical Backdrop of the War of Who Will Manage Your Code. Java Versus .NET Languages. Java Versus C#. Taking into Account Your Company and Your Employees.

Appendix E. Additional References.

Chapter 2 References. Chapter 3 References. Chapter 4 References. Chapter 5 References. Chapter 6 References. Chapter 7 References. Chapter 8 References. Chapter 9 References. Chapter 10 References. Chapter 11 References. Chapter 12 References. Chapter 13 References. Chapter 14 References. Chapter 16 References. Appendix A References. Appendix B References. Appendix D References.

Index.

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews