精通C# 5.0和.NET 4.5框架应用开发 英文版

所需积分/C币:41 2012-09-27 11:05:11 22.81MB PDF
收藏 收藏 4
举报

1 。哲学。NET 2。的调查。NET开发工具3。核心C#的编程结构第一部分4。核心C#编程构造,第二部分5。封装。继承和多态7。结构化异常处理。使用接口9。泛型和集合10。委托,事件和Lambda表达式 11。先进的C#语言功能12。LINQ到对象 13。理解对象生存14。构建和配置类库15。反射,动态加载,后期绑定,和属性16。动态语言运行时17。进程和应用程序域18。CIL和动态程序集的作用19。多线程和异步编程20。工作与I / O服务和对象序列化21。第一部分:ADO.NET连接层22。ADO.NET第二部分:断开层23。第三部分:ADO.NET实体框架24。LINQ到XML
Pro ctt 5.0 and the net 4.5 Framework Sixth Edition Andrew Troelsen Apress Pro C# and the. net 4.5 Framework, sixth edition Copyright o 2012 by Andrew Troelsen This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transInission or infornation storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is perinitted only under the provisions of the Copyright Law of the Publisher's location, in its current version, and permission for usc must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law ISBN-13(pbk):978-1-4302-4233-8 ISBN-13( electronic:978-1-4302-4234-5 Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark I he use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as Lo whether or not they are subject to proprietary While the advice and information in this book are believed to be true and accurate at the date of publication, neither he authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein President and Publisher: Paul manning Lead Editor: Ewan buckingham Technical Reviewer: Andy Olsen Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Louise Corrigan, Morgan Ertel, Jonathan Gennick, Jonathan Hassell, Robert Hutchinson, Michelle LowillaIl, Jaimes MarkhaIIl, Matthew Moodie, Jelf Olson, Jeffrey Pepper, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Gwenan Spearing, Matt Wade, Tom Welsh Coordinating Editors: Jessica Belanger, Christine Ricketts Copy Editors: Ralph and Vanessa Moore Compositor: SPi Global Indexer: SPi global Artist: SPi Glob Cover Designer: Anna Ishchenko Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, Gth Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax(201)348-4505, e-mail orders-nyespringer-sbm com, or visit www.springeronline.com Forinformationontranslationspleasee-mailrights@apress.comorvisitwww.apress.com Apress and friends of ed books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales-eBook Licensingwebpageatwww.apress.com/bulk-sales Any source code or other supplementary materials referenced by the author in this text is available to readers at www.apress.com.Fordetailedinformationabouthowtolocateyourbookssourcecodegotowww.apress.com/sourcee This edition of the text is dedicated to the two most important people in my life. First to my wife Mandy, who was crazy enough to bring up the idea of adoption Second, to my son Soren Wade Troelsen. Words cant express how much I love you. However, I will say one thing Grrrrrrawwwwhhhh! You can ask me about this when you get older About the author ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ About the technical reviewer 国 Acknowledgments,,, Introduction Part Introducing C# and net Platform.maammmnnman 1 Chapter 1: The Philosophy of NeTt ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■a■■■■■■■■■■■■■■■■■■■■■ Chapter 2: Building C# Applications E mm mam 39 Part l: Core C# Programming. aaaaaa Chapter3: Core c# Programming Constructs, Part l,,,,…,…,,,,…73 Chapter4: Core c# Programming Constructs, Part l.,…,…,,…,…121 Part ll: Object-Oriented Programming with C#mmmm 161 Chapter 5: Understanding Encapsulation ammmmmmamam 163 Chapter 6: Understanding Inheritance and polymorphism at ■■■■■■■■■■■■■■■■■■■■■■■■■■■ 213 Chapter 7: Understanding Structured Exception Handling a mammen 253 Chapter 8: Working with Interfaces ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 281 Part IV: Advanced C# Programming nm mmmmmmIn 319 Chapter 9: collections and Generics aamnaamanmEaaa 321 Chapter 10: Delegates, Events, and Lambda Expressions a mammmmmmEmaIma 359 Chapter 11: Advanced C# Language Features ammB ARIaNa 399 Chapter 12: LINQ to Objects 439 Chapter 13: Understanding Object Lifetime maar 473 Part V: Programming with. NET Assemblies un501 Chapter14: Building and Configuring Class libraries,,…,,…,,…,,503 ■ CONTENTS Chapter 15: Type Reflection, Late Binding, and Attribute-Based Programming. 555 Chapter 16: Dynamic Types and the Dynamic Language Runtime mmmmmmm 599 Chapter 17: Processes, AppDomains, and object contexts .mmammamammnn 623 Chapter 18: Understanding ciL and the Role of Dynamic Assemblies mmmmmmm 651 Part VI: Introducing the Net Base class libraries mmmmammmmmmaan 695 Chapter 19: Multithreaded, Parallel, and Async Programming mmmmmmmmmamaanIma 697 Chapter 20: File /0 and object serialization mm mammmmmmammaaIna 753 Chapter21:AD0.NETPart:TheconnecedLayer,,,,:801 Chapter 22: ADO. NET Part l: The Disconnected Layer.aIIIIRIIIaRiIIaa 859 Chapter 23: ADO. NET Part Il: The Entity Framework. ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 927 Chapter 24: Introducing liNQ to XML ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■口■■■■■■ 967 Chapter 25: Introducing Windows Communication Foundation mmmmmmmmm 985 Chapter26: ntroducing Windows Workflow Foundati0n,,…,,m,,……1047 PartW:WindowsPresentationFoundationng089 Chapter 27: Introducing Windows Presentation Foundation and XAML mmm 1091 Chapter 28: programming with WPF Controls mmmmmmmmammmamm 1157 Chapter 29: WPF Graphics Rendering Services mmmm. 1223 Chapter 30: WPF Resources, Animations, and styles n1267 Chapter 31: Dependency Properties, Routed Events, and Templates a1301 Part vil: asp net web forms∴… 1335 Chapter 32: Introducing ASP.NeT Web Formsmm aRIaan 1337 Chapter 33: ASP. NET Web Controls, Master Pages, and Themes a1383 Chapter 34: ASP NET State Management Techniques.am 1429 Index 1463 About the author About the technical reviewer Acknowledgments Introduction ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■口■■ Part I Introducing cif and NET Platform Chapter 1: The Philosophy of NET ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■口 An initial look at the net platform 3 Some Key benefits of the NET Platform. Introducing the Building blocks of the. NeT Platform(the CLR, CTS, and cls The role of the base class libraries 5 What C Brings to the table. Managed Vs. Unmanaged code…… 7 Additional NET-Aware Programming Languages..m..e.nn Life in a Multilanguage World…… An overview of net assemblies .9 The role of the Common Intermediate Language The role of neT Type Metadata The role of the Assembly Manifest................ Understanding the common Type System …15 CtS Class Types CTS Interface Types 16 ■ CONTENTS CTS Structure Types CTS Enumeration Types 日日日面自日面日B自日面日B自日自面B自日自面B自日自面自日自面自面日自面自面日面面日面日面日面 17 CTS Delegate Types CTS Type Members Intrinsic CTS Data Types Understanding the common Language Specification.....,,,………19 Ensuring CLS Compliance 20 Understanding the common Language Runtime 21 The Assembly/Namespace The role of the Microsoft Root Namespace Accessing a Namespace Programmatically 26 Referencing External Assemblies 27 Exploring an Assembly Using ildasm. exe.m.m... 28 Viewing CIL Code…. 29 viewing Type Metadata………………….…….……..……………………………,……………………………30 Viewing Assembly Metadata(a k.a.. the Manifest).......... 31 The Platform-Independent Nature of NET A Brief Word regarding Windows 8 Applications 33 Building Windows 8 Applications 34 The role of net Under windows 8 日面面日自B自日面日自面日自正自日面自日自日面面日自自日面面B面日自日面a日B Summary 37 Chapter2 Building c# Applications…,,……,…,,,,,,,,…,…,39 The role of the net framework 4,5 sdK 39 The Developer Command Prompt 40 Building C# Applications Using CSC. exe 40 Specifying Input and Output Targets 41 Referencing External Assemblies ■ CONTENTS Referencing Multiple External Assemblies Compiling multiple Source Files.............................44 Working with C# Response Files................. 45 Building. NET Applications Using Notepad++….,.,.….…....47 Building. NET Applications Using Sharp Develop 48 Building a simple test project 48 Building NET Applications Using visual C# Express…,……,,…51 Some Unique Features of visual C# Building NET Applications Using Visual Studio 52 Some Unique Features of visual studi0...…………53 Targeting the NeT Framework Using the New Project Dialog be 54 Using the Solution Explorer Utility 54 The class view Utility……… 57 The object Browser Utility Integrated Support for Code Refactoring........ 59 Code Snippets and Surround with technology . The visual class designer......... 63 The Integrated. NET Framework 4.5 SDK Documentation System.............67 Summary…,,…… 70 Part: Core ci#Prog『 amming,,,黑71 Chapter 3: Core C# Programming Constructs, Part ■■口■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 73 The anatomy of a Simple c Program 73 Variations on the main0Meth0d.…,,,.,,,,,,…, 75 Specifying an application error code ...t Processing command-Line Arguments 673 Specifying Command-Line Arguments with Visual Studio An Interesting Aside: Some Additional Members of the System Environment class..79

...展开详情
试读 127P 精通C# 5.0和.NET 4.5框架应用开发  英文版
立即下载 低至0.43元/次 身份认证VIP会员低至7折
    一个资源只可评论一次,评论内容不能少于5个字
    l_sharp 非常清晰,英文原版
    2015-10-13
    回复
    tigerjsp 东西不错,清楚,值得下载,像我这样不会英文的还可以学习下英文一举两得!
    2015-06-18
    回复
    FreedomPaul 不错的一本书 提高编程理论基础 太棒了
    2014-11-07
    回复
    bluealarm 非常好的一本书,值得学习。
    2014-10-11
    回复
    tyeagle 内容相当好,不错。
    2014-08-05
    回复
    zjshjs16 这本书很不错,英文原版
    2014-06-16
    回复
    Michael_Wang111 内容是完整版的,贴近于实际使用的讲解,易于理解!
    2014-05-28
    回复
    wang2124596 书不错,可惜水平有限。。。英文啊 英文
    2014-04-07
    回复
    羊羊洒洒 虽然是3分,但是我觉得特值!看原文虽然慢点,但是更加容易理解原著作者的思路!谢谢了!
    2013-12-27
    回复
    flyperseus 东西不错,要是中文的就更好了
    2013-06-26
    回复
    img
    喔哈哈哈
    • 签到新秀

      累计签到获取,不积跬步,无以至千里,继续坚持!

    关注 私信 TA的资源

    上传资源赚积分,得勋章
    最新推荐
    精通C# 5.0和.NET 4.5框架应用开发 英文版 41积分/C币 立即下载
    1/127
    精通C# 5.0和.NET 4.5框架应用开发  英文版第1页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第2页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第3页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第4页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第5页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第6页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第7页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第8页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第9页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第10页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第11页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第12页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第13页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第14页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第15页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第16页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第17页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第18页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第19页
    精通C# 5.0和.NET 4.5框架应用开发  英文版第20页

    试读已结束,剩余107页未读...

    41积分/C币 立即下载 >