出版時間:2006-4 出版社:東南大學出版社(OREILLY) 作者:Juval Lowy 頁數(shù):624
Tag標簽:無
內(nèi)容概要
本書作為.NET組件開發(fā)的權威參考書,自2003年出版以來就廣受程序員的關注。 如今,您手上的是《.NET組件開發(fā)》的第二版。針對Visual Studio 2005和.NET 2.0,作者Juval Lowy對本書進行了全面修訂。不僅使第一版中經(jīng)典內(nèi)容的闡述更加充實,而且增加了許多新的熱點內(nèi)容,如Generics的開發(fā)、迭代器和匿名方法的使用、.NET開發(fā)框架的演進等。書中詳盡的闡述和代碼實例將極大地幫助您加深對.NET組件開發(fā)的理解。 本書更具特色的內(nèi)容有:關于Generics編程的介紹;作為業(yè)界事實標準的C#語言的編碼規(guī)范;許多實用的輔助類和控制集,如基于ASP.NET 2.0憑證管理架構下的安全控制解決方案等。同時作者改寫并擴展了原書第一版中許多實用的輔助類和工具。 具體內(nèi)容包括: ·.NET組件的構建、打包及部署 ·接口與實現(xiàn)的分離 ·生命周期和資源的管理 ·事件的發(fā)布及訂閱 ·異步調(diào)用的使用 ·多線程和并發(fā)管理 ·對象的序列化及狀態(tài)的持久化 ·遠程調(diào)用 ·定制服務的實現(xiàn) ·構建安全性解決方案 本書極具價值的代碼實例、豐富的使用技巧、開發(fā)警示、設計準則和富有創(chuàng)意的實用工具將幫助您簡化開發(fā)工作并提高.NET組件的開發(fā)效率。無論您已經(jīng)在使用組件技術還是正準備進入這個領域,毫無疑問,《.NET組件開發(fā)》都是一本值得擁有和時常翻閱的參考指南。
作者簡介
Juval Lowy是IDesign公司的首席軟件架構師。同時作為微軟開發(fā)社區(qū)中的知名專家,鑒于他在.NET解決方案設計及實施中的杰出貢獻,微軟公司授予其“軟件英杰”的杰出榮譽。
書籍目錄
Preface1. Introducing CompOnent-Oriented Programming Basic Termlnology Component-Orlented Versus Object-Oriented Programming Principles of Component-orlented Programming .NET Adherence to Component Princlples Developing.NET Components2. .NET Component-Oriented Programmlng EssentiaIs Language Independence:The CLR Packaging and Deployment:Assemblies Binary Compatibility3. Interface-Based Programming Separating Interface from Implementation Working with Interfaces Interfaces and Generics Designing and Factoring Interflaces Interfaces in Visual Studio 20054. LiflecycIe Management The Managed Heap Traditional Memory De-allocation Schemas .NET Garbage Collection Object FinaIization Deterministic Finalization5. VerSjoning Assembly Version Number Assembly Deployment Models Strong Assembly Names V1SUal StUdio 2005 and Versloning Custom Version PolicieS CLR Versioning6. EventS Delegate-Based Events Working with.NET Events7. Asynchronous Calls Requirements for an Asvnchronous Mechanlsm Revisiting Delegares Asynchronous Call Programming Models Asynchronous Error Handling Asynchronous Events Asynchronous Invocatlon Pitfalls Synchronous Versus Asynchronous Processing8. Multithreading and Concurrency Management Threads and Multithreading Components and Threads Working with Threads Synchronlzing Threads Automatic Synchronlzatlon Manual Synchronization The WorkerThread Wrapper Class Synchronizlng Delegates Using.NET Multithreading Services9. SeriaIization and Persistence Automatic Serlalization Serialization Formatters SerialiZation Events SerialiZation and Streams Custom Serialization Serialization and C1ass Hierarchies10. Remoting Application Domains Remote Object Types Marshaling.By-Reference Activation Modes The.NET Remottog Architecture Building a Distributed AppliCation Leaslng and Sponsorship .NET and Location Transparency11. Context and Interception .NET Component Services The.NET Context Custom Component Servlces12. Security The.NET Security Archltecture Configuring Permissions Programmatic Securlty Visual Studio 2005 and Security Princlpal-Based Security Addressing Other Security IssuesA.Interface-Based Web ServicesB.Unifying Windows Forms and ASP.NET SecurityC.Reflection and AttributesD.GenericsE.C#Coding Standard.1ndex
圖書封面
圖書標簽Tags
無
評論、評分、閱讀與下載