- 博客(0)
- 资源 (14)
空空如也
Apress - Pro ASP.NET 3.5 in C# 2008 2nd
PART 1 ■ ■ ■ Core Concepts
■CHAPTER 1 Introducing ASP.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
■CHAPTER 2 Visual Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
■CHAPTER 3 Web Forms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
■CHAPTER 4 Server Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
■CHAPTER 5 ASP.NET Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
■CHAPTER 6 State Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
PART 2 ■ ■ ■ Data Access
■CHAPTER 7 ADO.NET Fundamentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
■CHAPTER 8 Data Components and the DataSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
■CHAPTER 9 Data Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
■CHAPTER 10 Rich Data Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
■CHAPTER 11 Caching and Asynchronous Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
■CHAPTER 12 Files and Streams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
■CHAPTER 13 LINQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
■CHAPTER 14 XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
PART 3 ■ ■ ■ Building ASP.NET Websites
■CHAPTER 15 User Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645
■CHAPTER 16 Themes and Master Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665
■CHAPTER 17 Website Navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
■CHAPTER 18 Website Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745
v
PART 4 ■ ■ ■ Security
■CHAPTER 19 The ASP.NET Security Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 827
■CHAPTER 20 Forms Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
■CHAPTER 21 Membership. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885
■CHAPTER 22 Windows Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 939
■CHAPTER 23 Authorization and Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 975
■CHAPTER 24 Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1009
■CHAPTER 25 Cryptography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1041
■CHAPTER 26 Custom Membership Providers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1071
PART 5 ■ ■ ■ Advanced User Interface
■CHAPTER 27 Custom Server Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1109
■CHAPTER 28 Design-Time Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1151
■CHAPTER 29 Dynamic Graphics and GDI+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1183
■CHAPTER 30 Portals with Web Part Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215
PART 6 ■ ■ ■ Client-Side Programming
■CHAPTER 31 JavaScript and Ajax Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1273
■CHAPTER 32 ASP.NET AJAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1323
■CHAPTER 33 Silverlight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1379
2009-09-03
Apress.LINQ.for.Visual.C.Sharp.2008
C # programmers at any level need to learn about LINQ (Language-Integrated Query),
Microsoft’s breakthrough technology for simplifying and unifying data access from any data
source. With LINQ you can write more elegant and flexible code, not just to access databases
and files but also to manipulate data structures and XML.
LINQ for Visual C# 2008 is a short guide to the major features of LINQ. It thoroughly covers
LINQ to Objects, LINQ to SQL, LINQ to DataSet, and LINQ to XML. For instance, you’ll
learn to
Use the LINQ syntax
Use LINQ to Objects to query in-memory objects
Integrate LINQ to SQL with existing ADO.NET programs
Query XML documents/data using LINQ to XML
Integrate LINQ to SQL and LINQ to XML
The book also includes plenty of working examples to demonstrate LINQ in action. There is no
better source than this book for getting a fast head start on this technology.
2009-09-03
Enterprise SOA Designing IT for Business Innovation Apr 2006
Information Technology professionals can use this book to move beyond the excitement of web services and service oriented architecture (SOA) and begin the process of finding actionable ideas to innovate and create business value. In Enterprise SOA: Designing IT for Business Innovation, SAP's blueprint for putting SOA to work is analyzed from top to bottom. In addition to design, development, and architecture, vital contextual issues such as governance, security, change management, and culture are also explored. This comprehensive perspective reduces risk as IT departments implement ESA, a sound, flexible architecture for adapting business processes in response to changing market conditions.
2009-02-15
Professional.Eclipse.3.for.Java.Developers
英文原版,很不错,推荐给大家
Introduction ix
Chapter 1: Introduction to Eclipse 1
Installing Eclipse 1
The First Application: Hello World 5
Perspectives 5
Projects 7
Create a New Class 7
Launch 9
The Most Important Preferences for Java Development 10
Workbench Preferences 11
Installed JREs 12
Compiler Preferences 14
Formatting Code 15
Templates 16
Tasks and Problems 18
Problems, Problems 19
General Tasks 21
Bookmarks 22
The Scrapbook 22
Summary 24
Chapter 2: Effective Programming with Eclipse 25
Little Helpers 25
System Information 25
Help and Hover 26
Java Information Views 27
Automatic Code Completion 28
The Correction Assistant 33
Convenience Functions of the Java Editor 35
Source Code Navigation 36
Refactoring Code 38
Modifying Types 38
Refactoring Code 39
Undo and Redo 42
xiv
Contents
Local History 43
Comparing Resources 43
Replacing with an Older Version 43
Restore Deleted Resource 43
Summary 44
Chapter 3: The Art of (Visual) Composition 45
Installation 45
Invocation 46
Preferences 46
Composition 46
Beans and Bean Properties 48
Generic Beans 48
Properties 48
Layouts 49
Event Processing 49
Summary 50
Chapter 4: Organizing Your Code 51
The Workbench 51
Resources 52
Resource Types 52
Where Resources Are Stored 52
Synchronizing Resources 53
Navigation 53
Associations 54
Packages 55
Folders and Packages 55
Navigation 56
Hierarchy 56
The Outline View 57
Representation 58
Context Functions 59
Searching 60
The Search Function 60
Find and Replace 62
Marking Name Occurrences 63
Arranging Editors and Views 63
Docked Windows 63
Stacked Windows 64
Desktop Windows 64
FastView 64
xv
Contents
Opening and Closing Windows 65
Maximizing Windows 65
Minimizing Views 65
Managing Perspectives 65
Defining New Perspectives 65
Configuring Perspectives 66
Importing Files 67
Project Properties 69
The Java Browsing Perspective 71
Summary 72
Chapter 5: Project One: Duke Speaks 73
Setting Up the Project 73
A Short Excursion into Speech Synthesis 74
Extending the FreeTTS System 75
Animation Events 75
The Animator 77
Embedding into FreeTTS 81
Connection with the Java Audio System 83
The User Interface 84
The Animated Face 85
The Control Panel 87
The Model 87
The Presentation 91
The Complete Application 106
Exporting the application 109
Bibliography 110
Summary 110
Chapter 6: Project Development 113
Debugging 113
The Debug Configuration 113
The Debug Perspective 114
Controlling Program Execution 115
Managing Breakpoints 117
The Java Console 118
Remote Debugging 119
JUnit 120
Setting Up JUnit 120
Creating a Test Suite 122
Running a Test Suite 124
xvi
Contents
Documentation 125
Try It Out: Javadoc Options 126
Try It Out: Command-Line Options 126
Summary 128
Chapter 7: Advanced Topics of Project Development 129
Developing in a Team 129
Setting Up a Repository 130
Projects in the Repository 132
Version Management 133
Working in a Team 133
Other Functions 135
External Tools 135
Refresh 135
Environment 135
Associations 135
Summary 136
Chapter 8: The SWT Library 137
SWT Function Group Overview 138
SWT—Pros and Cons 139
Advantages of SWT 140
Disadvantages of SWT 140
The SWT Package 141
Events 141
Listeners 141
Adapters 142
Events 142
Overview of Listeners, Adapters, and Events 143
Widgets 145
The Widget Class 146
The Control Class 146
Visual Overview 146
Displays, Shells, and Monitors 146
Dialogs 152
Composites, Groups, and Canvas 155
Buttons 156
Sliders and Scales 158
ProgressBar 159
Scrollable and ScrollBar 159
xvii
Contents
Text Fields and Labels 159
Tables, Lists, and Combos 161
Trees 166
Sashes 167
Tabbed Folders 168
Toolbars 169
Moveable Tool Groups (CoolBar) 170
Menus 170
Custom Widgets 174
The Browser Widget 177
Layouts 177
Visual Overview 178
The FillLayout Class 178
The RowLayout Class 179
The GridLayout Class 180
The FormLayout Class 182
The StackLayout class 184
Graphics 185
The Graphics Context 185
Colors 186
Fonts 187
Images 189
The Cursor 190
Widgets That Swing 191
Embedded Contents 192
Events 192
Output to a Printer 196
Data Transfer 198
The Clipboard 198
Drag and Drop 199
Resource Management 200
Windows32 Support (OLE) 201
SWT on the Pocket PC 202
Accessibility 202
Summary 203
Chapter 9: JFace 205
Resource Management 205
The FontRegistry Class 205
The ImageRegistry Class 206
The JFaceColors Class 206
The JFaceResources Class 206
xviii
Contents
Dialogs and Windows 206
Some Dialog Subclasses 207
Implementing Your Own Dialog Classes 210
Making Dialogs Persistent 213
Viewers 214
The Viewer Event Model 215
The Viewer Hierarchy 215
Cell Editors 217
Data Transfer 218
Text Processing 218
Text Processing Base Classes 218
The ProjectionViewer 226
Comfortable Text Fields and Combos 226
Actions and Menus 226
The IAction Interface 226
The Managers 227
Wizards 228
The Wizard Class 228
The WizardPage Class 229
The WizardSelectionPage Class 230
The WizardDialog Class 230
Preferences 230
The PreferenceStore and PreferenceConverter Classes 231
The PreferencePage Class 232
Field Editors 232
Preference Page Trees 233
Summary 235
Chapter 10: Project Two: Jukebox 237
Design Goals and How to Achieve Them 237
Installing the Project 238
The Player Module 241
Layout 241
Threads 242
The Player.java Class 243
BasicPlayerListener 260
The Playlist Domain Model 261
The Interface 261
Implementing IPlayList 268
Accessing Features 270
Managing Entries 271
xix
Contents
Content Provider 273
Playlist Switch 273
Selections 274
The Description Window 275
The DescriptionWindow Class 276
The Playlist Viewer 278
The PlaylistWindow Class 278
The PlaylistViewer Class 281
Nested Grid Layout 289
Toolbar 290
File-Selection Dialogs 292
Menu 293
The PlaylistLabelProvider Class 295
Returning a Warning Icon 296
Cell Text 297
The FileCellEditor Class 299
The Description Editor 300
The DescriptionCellEditor Class 300
The DescriptionEditorDialog Class 302
Code Scanner 303
Content Assistant 304
SourceViewer Configuration 307
SourceViewer 308
Deploying the Jukebox 311
Summary 311
Chapter 11: Developing Plug-ins for the Eclipse Platform 313
The Architecture of the Eclipse Platform 314
Extension Points 314
OSGi 314
A Minimal Platform 315
Rich Client Platform vs. IDE 315
Resource Management 315
User Interface 316
Help System 316
Team Support 316
Other Plug-in Groups 317
Architecture Summary 317
The Core Classes of the Eclipse Platform 318
The Platform Class 318
The Plugin Class 318
xx
Contents
The Preferences Class 319
Path Specifications 319
Monitoring Long-Running Processes 320
The Eclipse Workspace 320
Resources 320
Markers 324
Reacting to Resource Changes 325
Managing Long-Running Processes 326
Configuring Plug-ins 327
The Plug-in Development Perspective 327
The Plug-in Manifest 329
The Most Important SDK Extension Points 332
The Schema Editor 341
Components of the Eclipse User Interface 344
Forms 344
The Eclipse Workbench 350
The Architecture of the Eclipse Workbench 351
Event Processing in the Eclipse Workbench 352
Editors 355
Views 362
Actions 367
Dialogs 372
Workbench Wizards 374
Preferences and Property Pages 377
Defining Perspectives 377
The Help System 379
Cheat Sheets 383
Summary 385
Chapter 12: Developing Your Own Eclipse-Based Products 387
Embedded Ant 388
Configuration 388
Editing Ant Scripts 389
Plug-ins and Fragments 390
Features 391
Creating and Editing Features 391
Deployment 393
Deploying a Feature 393
Deploying Complete Products 394
Customizing Products 394
Populating the Workspace 396
Creating Update Sites 398
xxi
Contents
Installing from an Update Site 399
Adding an Update Site 400
Installing Features 400
Updating Features 400
Managing the Configuration 400
Install Handlers 401
Internationalizing Products 401
Text Constants in Programs 402
Text Constants in Manifest Files 403
Help Texts and Cheat Sheets 404
Deploying National Language Resource Bundles 405
Patches 405
Summary 405
Chapter 13: Project Three: A Spell Checker as an Eclipse Plug-in 407
The Spell Checker Core Classes 408
The Engine 408
Overview 409
Setting Up the Project 410
The Plug-in Configuration 412
The Manifest plugin.xml 413
The Schema documentTokenizer.exsd 417
Imported Files 419
The Plugin Class 419
Dictionary URL 421
Initializing Preferences 422
The Manager 423
The Check Spelling Action 424
The SpellCheckingTarget Class 425
Factory Method 426
Selections 427
Document Management 428
Text Replacement 429
Disposal 430
The CheckSpellingActionDelegate Class 431
The Correction Window 439
The SpellCorrectionView Class 439
View Actions 449
Managing Images 450
Coordinating Core Classes with GUI Classes 452
The Manager 453
Selecting the Plug-in 454
xxii
Contents
Running the Engine 457
Managing Engines 458
Creating Engines 459
Processing Bad Words 462
Operations 462
Analyzing Documents 463
Configuring the Spell Checker 463
Preferences 463
Domain Model 464
The GUI 466
Reading from the PreferenceStore 471
The Help System 473
The Help Table of Contents 473
Context-Sensitive Help 473
Active Help 474
Running the Help Action 476
A Plug-in for Java Properties 477
Setting Up the Project 477
The Manifest 478
Tokenizer Extension 478
Manifest 479
The Plugin Class 480
The Preferences 481
The Preference Page 482
The Java-Properties Tokenizer 483
The Help System 483
Internationalizing the Spell Checker 484
Text Constants in Java Code 484
Text Constants in Manifest Files 487
Creating a Language Fragment 487
Deploying the Spell Checker 490
Defining the Spell Checker Feature 490
Configuring Ant Scripts 492
Defining the Language Feature 495
Defining the Update Site 497
Installation 498
Summary 499
xxiii
Contents
Chapter 14: The Rich Client Platform 501
Definition and Motivation 501
Plug-ins and the RCP 502
Creating an Application 503
The IPlatformRunnable Interface 503
The WorkbenchAdvisor Class 503
Testing a Rich Client Application 507
Deploying a Rich Client Application 507
Advanced Product Customization 508
The Global Welcome Screen 508
Summary 509
Chapter 15: Project 4: The Hex Game as a Rich Client Application 511
Overview 511
Setting Up the Project 512
The Manifest plugin.xml 512
Required Eclipse Plug-ins 514
Declaring the Application 514
Defining a Perspective 515
Defining a View 515
Product Customization 515
Linking the Welcome Screen 515
Adding Help 516
The Completed Manifest 516
The RcpApplication Class 517
The RcpWorkbenchAdvisor Class 518
The RcpPerspective Class 519
The IGame and IStatusListener Interfaces 520
The IStatusListener Interface 520
The IGame Interface 520
The HexView Class 521
The Game Engine 527
The Welcome Screen 531
Test 534
Deployment 534
Summary 535
xxiv
Contents
Chapter 16: Conclusions and Outlook 537
Programming Style 537
Executable Prototypes 538
Automated Tests 538
Refinements 538
Embrace Change 540
Save Energy 541
Java 1.5 541
Summary 542
Appendix A: Useful Plug-ins for Eclipse 545
Appendix B: Migrating Projects to a New Eclipse Version 551
Projects 551
Plug-ins 552
Migration to Eclipse 3 552
Appendix C: Important Downloads 555
Project One: Duke Speaks 555
Project Two: Jukebox 555
Project Three: A Spell Checker as an Eclipse Plug-In 555
Book Web Site 556
Appendix D: Bibliography 557
Index 559
2008-09-10
Agile.Java.Development.with.Spring.Hibernate.and.Eclipse-part3
Agile Java™ Development With Spring, Hibernate and Eclipse is a book about robust technologies and effective methods which help bring simplicity back into the world of enterprise Java development. The three key technologies covered in this book, the Spring Framework, Hibernate and Eclipse, help reduce the complexity of enterprise Java development significantly. Furthermore, these technologies enable plain old Java objects (POJOs) to be deployed in light-weight containers versus heavy-handed remote objects that require heavy EJB containers. This book also extensively covers technologies such as Ant, JUnit, JSP tag libraries and touches upon other areas such as such logging, GUI based debugging, monitoring using JMX, job scheduling, emailing, and more. Also, Extreme Programming (XP), Agile Model Driven Development (AMDD) and refactoring are methods that can expedite the software development projects by reducing the amount of up front requirements and design; hence these methods are embedded throughout the book but with just enough details and examples to not sidetrack the focus of this book. In addition, this book contains well separated, subjective material (opinion sidebars), comic illustrations, tips and tricks, all of which provide real-world and practical perspectives on relevant topics. Last but not least, this book demonstrates the complete lifecycle by building and following a sample application, chapter-by-chapter, starting from conceptualization to production using the technology and processes covered in this book. In summary, by using the technologies and methods covered in this book, the reader will be able to effectively develop enterprise-class Java applications, in an agile manner!<br><br> <br><br>
2008-08-23
Agile.Java.Development.with.Spring.Hibernate.and.Eclipse
Agile Java™ Development With Spring, Hibernate and Eclipse is a book about robust technologies and effective methods which help bring simplicity back into the world of enterprise Java development. The three key technologies covered in this book, the Spring Framework, Hibernate and Eclipse, help reduce the complexity of enterprise Java development significantly. Furthermore, these technologies enable plain old Java objects (POJOs) to be deployed in light-weight containers versus heavy-handed remote objects that require heavy EJB containers. This book also extensively covers technologies such as Ant, JUnit, JSP tag libraries and touches upon other areas such as such logging, GUI based debugging, monitoring using JMX, job scheduling, emailing, and more. Also, Extreme Programming (XP), Agile Model Driven Development (AMDD) and refactoring are methods that can expedite the software development projects by reducing the amount of up front requirements and design; hence these methods are embedded throughout the book but with just enough details and examples to not sidetrack the focus of this book. In addition, this book contains well separated, subjective material (opinion sidebars), comic illustrations, tips and tricks, all of which provide real-world and practical perspectives on relevant topics. Last but not least, this book demonstrates the complete lifecycle by building and following a sample application, chapter-by-chapter, starting from conceptualization to production using the technology and processes covered in this book. In summary, by using the technologies and methods covered in this book, the reader will be able to effectively develop enterprise-class Java applications, in an agile manner!<br><br> <br><br>
2008-08-23
Agile.Java.Development.with.Spring.Hibernate.and.Eclipse
Agile Java™ Development With Spring, Hibernate and Eclipse is a book about robust technologies and effective methods which help bring simplicity back into the world of enterprise Java development. The three key technologies covered in this book, the Spring Framework, Hibernate and Eclipse, help reduce the complexity of enterprise Java development significantly. Furthermore, these technologies enable plain old Java objects (POJOs) to be deployed in light-weight containers versus heavy-handed remote objects that require heavy EJB containers. This book also extensively covers technologies such as Ant, JUnit, JSP tag libraries and touches upon other areas such as such logging, GUI based debugging, monitoring using JMX, job scheduling, emailing, and more. Also, Extreme Programming (XP), Agile Model Driven Development (AMDD) and refactoring are methods that can expedite the software development projects by reducing the amount of up front requirements and design; hence these methods are embedded throughout the book but with just enough details and examples to not sidetrack the focus of this book. In addition, this book contains well separated, subjective material (opinion sidebars), comic illustrations, tips and tricks, all of which provide real-world and practical perspectives on relevant topics. Last but not least, this book demonstrates the complete lifecycle by building and following a sample application, chapter-by-chapter, starting from conceptualization to production using the technology and processes covered in this book. In summary, by using the technologies and methods covered in this book, the reader will be able to effectively develop enterprise-class Java applications, in an agile manner!<br><br> <br><br>
2008-08-23
PMP - 项目管理专家全息教程
项目管理专家认证是包括IT行业在内的大多数工业领域都急需的一种资格认证,是向管理要效益、向国际先进企业管理迈进的必经阶段。本书非常及时地把国际通行的项目管理专家认证介绍给广大相关管理人员及技术人员,是通向事业成功的一条捷径。本书不仅包括项目管理所有必须掌握的知识,分析解决问题的方法,而且针对通过国际PMP认证考试的要求系统地建立了评估考试,在每一章都明确指出了考试目标,章节内有实例,后面有复习题及答案,另外选配光盘还提供了本书英文电子版及各种帮助复习考试的工具软件,是一本不可多得的教材性质的参考书。 <br>本书适合项目管理人员及技术人员阅读,特别适合参加PMP认证考试的人员使用。 <br>
2008-08-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人