Book description
Brilliantly compiled by author Juval Lowy, Programming .NET Components, Second Edition is the consummate introduction to the Microsoft .NET Framework--the technology of choice for building components on Windows platforms. From its many lessons, tips, and guidelines, readers will learn how to use the .NET Framework to program reusable, maintainable, and robust components.Following in the footsteps of its best-selling predecessor, Programming .NET Components, Second Edition has been updated to cover .NET 2.0. It remains one of the few practical books available on this topic. This invaluable resource is targeted at anyone who develops complex or enterprise-level applications with the .NET platform--an ever-widening market. In fact, nearly two million Microsoft developers worldwide now work on such systems.Programming .NET Components, Second Edition begins with a look at the fundamentals of component-oriented programming and then progresses from there. It takes the time to carefully examine how components can simplify and add flexibility to complex applications by allowing users to extend their capabilities. Next, the book introduces a variety of .NET essentials, as well as .NET development techniques. Within this discussion on component development, a separate chapter is devoted to each critical development feature, including asynchronous calls, serialization, remoting, security, and more. All the while, hazardous programming pitfalls are pointed out, saving the reader from experiencing them the hard way.A .NET expert and noted authority on component-oriented programming, Lowy uses his unique access to Microsoft technical teams to the best possible advantage, conveying detailed, insider information in easy-to-grasp, activity-filled language. This hands-on approach is designed to allow individuals to learn by doing rather than just reading. Indeed, after digesting Programming .NET Components, Second Edition, readers should be able to start developing .NET components immediately.Programming .NET Components, Second Edition is the consummate introduction to the Microsoft .NET Framework--the technology of choice for building components on Windows platforms. From its many lessons, tips, and guidelines, readers will learn how to use the .NET Framework to program reusable, maintainable, and robust components.Following in the footsteps of its best-selling predecessor, Programming .NET Components, Second Edition has been updated to cover .NET 2.0. This invaluable resource is targeted at anyone who develops complex or enterprise-level applications with the .NET platform--an ever-widening market.
Publisher resources
Table of contents
- Programming .NET Components, 2nd Edition
- Dedication
- A Note Regarding Supplemental Files
- Preface
- 1. Introducing Component-Oriented Programming
-
2. .NET Component-Oriented Programming Essentials
- 2.1. Language Independence: The CLR
-
2.2. Packaging and Deployment: Assemblies
- 2.2.1. DLLs and COM Components
- 2.2.2. .NET Assemblies
- 2.2.3. Assemblies and Visual Studio 2005
- 2.2.4. Client and Server Assemblies
- 2.2.5. Managing Component Visibility in Assemblies
- 2.2.6. Assembly Metadata
- 2.2.7. The Assembly Manifest
- 2.2.8. Friend Assemblies
- 2.2.9. Composing Assemblies
- 2.2.10. The Assembly Type
- 2.3. Binary Compatibility
- 3. Interface-Based Programming
- 4. Lifecycle Management
-
5. Versioning
- 5.1. Assembly Version Number
- 5.2. Assembly Deployment Models
- 5.3. Strong Assembly Names
- 5.4. Visual Studio 2005 and Versioning
- 5.5. Custom Version Policies
- 5.6. CLR Versioning
- 6. Events
-
7. Asynchronous Calls
- 7.1. Requirements for an Asynchronous Mechanism
- 7.2. Revisiting Delegates
- 7.3. Asynchronous Call Programming Models
- 7.4. Asynchronous Error Handling
- 7.5. Asynchronous Events
- 7.6. Asynchronous Invocation Pitfalls
- 7.7. Synchronous Versus Asynchronous Processing
-
8. Multithreading and Concurrency Management
- 8.1. Threads and Multithreading
- 8.2. Components and Threads
- 8.3. Working with Threads
- 8.4. Synchronizing Threads
- 8.5. Automatic Synchronization
- 8.6. Manual Synchronization
- 8.7. The WorkerThread Wrapper Class
- 8.8. Synchronizing Delegates
- 8.9. Using .NET Multithreading Services
- 9. Serialization and Persistence
-
10. Remoting
- 10.1. Application Domains
- 10.2. Remote Object Types
- 10.3. Marshaling-by-Reference Activation Modes
- 10.4. The .NET Remoting Architecture
-
10.5. Building a Distributed Application
- 10.5.1. Programmatic Channel Registration
- 10.5.2. Programmatic Type Registration
- 10.5.3. Programmatic Configuration Example
- 10.5.4. Administrative Configuration
- 10.5.5. Administrative Channel Registration
- 10.5.6. Administrative Type Registration
- 10.5.7. Administrative Configuration Example
- 10.5.8. Creating Remote Objects
- 10.5.9. Remote Callbacks
- 10.5.10. Separating the Server Code from its Metadata
- 10.5.11. Providing a Host as a System Service
- 10.6. Leasing and Sponsorship
- 10.7. .NET and Location Transparency
- 11. Context and Interception
-
12. Security
-
12.1. The .NET Security Architecture
- 12.1.1. Permissions
- 12.1.2. Permission Sets
-
12.1.3. Security Evidence
- 12.1.3.1. The All Code evidence
- 12.1.3.2. The Application Directory evidence
- 12.1.3.3. The GAC evidence
- 12.1.3.4. The Site evidence
- 12.1.3.5. The URL evidence
- 12.1.3.6. The Zone evidence
- 12.1.3.7. The Strong Name evidence
- 12.1.3.8. The Hash evidence
- 12.1.3.9. The Publisher evidence
- 12.1.3.10. Selecting a security evidence
- 12.1.4. Code Groups and Security Policies
- 12.1.5. How It All Works Together
- 12.2. Configuring Permissions
- 12.3. Programmatic Security
- 12.4. Visual Studio 2005 and Security
- 12.5. Principal-Based Security
- 12.6. Addressing Other Security Issues
-
12.1. The .NET Security Architecture
- A. Interface-Based Web Services
- B. Unifying Windows Forms and ASP.NET Security
- C. Reflection and Attributes
- D. Generics
- E. C# Coding Standard
- Colophon
- Copyright
Product information
- Title: Programming .NET Components, 2nd Edition
- Author(s):
- Release date: July 2005
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596102074
You might also like
book
Windows Forms Programming in C#
Praise for Windows Forms Programming in C# “Chris may have a strong affinity for semi-colons, but …
book
Mastering C# and .NET Framework
Deep dive into C# and .NET architecture to build efficient, powerful applications About This Book Uniquely …
book
Programming C# 8.0
C# is undeniably one of the most versatile programming languages available to engineers today. With this …
book
Programming WCF Services, 4th Edition
Programming WCF Services is the authoritative, bestselling guide to Microsoft’s unified platform for developing modern, service-oriented …