دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش: 1 نویسندگان: Jörg Krause, Martin Döring, Christian Langhirt, Bernd Pehlke, Alexander Sterff سری: ISBN (شابک) : 1430227060, 9781430227069 ناشر: Apress سال نشر: 2010 تعداد صفحات: 1170 زبان: English فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) حجم فایل: 18 مگابایت
در صورت تبدیل فایل کتاب SharePoint 2010 as a Development Platform به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب شیرپوینت 2010 به عنوان یک پلتفرم توسعه نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
شیرپوینت به عنوان یک سرور برنامه کامل با ویژگیها و پیشرفتهای بسیاری که به طور خاص به غیر توسعهدهندگان اجازه میدهد تا سایتهای اینترانت پیچیده ایجاد کنند، به رسمیت شناخته میشود. با این حال، با انتشار سال 2010، شیرپوینت مایکروسافت به طور فزاینده ای به یک پلتفرم توسعه قانع کننده تبدیل می شود. این کتاب رویکردی عمیق و فراگیر به مفاهیم برنامهنویسی، رابطهای توسعهپذیری و نحوه استفاده از شیرپوینت بهعنوان یک جعبه ابزار پر از ویژگیهای در دسترس برای توسعهدهندگان وب دارد.
SharePoint is gaining recognition as a full-fledged application server with many features and enhancements that specifically allow non-developers to create sophisticated intranet sites. However, with the 2010 release, Microsoft’s SharePoint increasingly becomes a compelling development platform. This book takes an in-depth, all-encompassing approach to programming concepts, the extensibility interfaces and how to embrace SharePoint as a toolkit full of features available to web developers.
Prelim......Page 1
Contents at a Glance......Page 6
Contents......Page 7
About the Authors......Page 14
About the Technical Reviewer......Page 16
Acknowledgments......Page 17
Introduction......Page 18
SharePoint Applications......Page 21
The Data Layer......Page 23
The User Interface Layer......Page 24
The Security Layer......Page 25
Search......Page 26
Content Publishing......Page 27
Applications Make the World Go Round......Page 28
Part 1: Basic Tasks......Page 29
Before You Start......Page 31
Working Outside a Server......Page 32
Developer Workstation on Windows Server 2008......Page 33
Developer Workstation on Windows Vista or Windows 7......Page 34
Installing Required Windows Features......Page 35
Installing and Configuring SharePoint......Page 37
Optimizing Your Development Experience......Page 39
Preparing to Use .NET 3.5......Page 40
SharePoint’s Developer Support at a Glance......Page 41
Connecting Your Systems......Page 42
Understanding the API......Page 44
Debugging the Server......Page 46
Looking into the SharePoint and IIS Logs......Page 47
Activating the Developer Dashboard Using stsadm......Page 48
Activating the Developer Dashboard Using PowerShell......Page 49
Working with the Developer Dashboard......Page 50
Making Your Code Dashboard-Aware......Page 51
Using Fiddler to Understand What’s Going on the Wire......Page 53
Using Developer Tools to Investigate What’s Running in the Browser......Page 55
Visual Studio 2010......Page 56
The SharePoint Development Templates......Page 57
Adding Items to a Project......Page 60
The Feature Designer......Page 61
Creating a Package......Page 62
SharePoint Designer 2010 vs. Visual Studio 2010......Page 63
SharePoint Designer 2010 for Professional Developers......Page 64
SharePoint Designer Rights......Page 65
New Dashboard Interface......Page 66
Easy Use of Content Types......Page 67
Resource Management......Page 68
Managing Workflows......Page 69
stsadm.exe......Page 70
Making a Console Application 64-Bit Ready......Page 71
Programming SharePoint Using ASP.NET......Page 72
Configuring ASP.NET Applications to Run 64-Bit Code......Page 73
Running the Application Pool in the Appropriate Account......Page 74
Forcing Authentication for an ASP.NET Application......Page 75
Summary......Page 76
The Architectural View......Page 79
In this book we use the simple term SharePoint. By this we mean both SharePoint Foundation and SharePoint Server (see the follow......Page 80
The Technical Integration......Page 81
From ISAPI to ASP.NET......Page 82
The IIS 7 Integrated Pipeline......Page 83
Applications......Page 84
The Request Pipeline......Page 85
Modules......Page 87
Handlers......Page 88
The Provider Model......Page 89
Virtual Path Provider......Page 90
Understanding the Web Application......Page 91
Understanding the Configuration......Page 94
GHOSTING AND UNGHOSTING......Page 95
Security Model......Page 96
Manipulating web.config to Add Safe Controls Programmatically......Page 97
Making a Web Part Safe by Default......Page 98
The Foundation’s Object Model......Page 99
Lists and Document Libraries......Page 100
Files and Documents......Page 103
Configuring Files and Documents......Page 104
Columns and Field Types......Page 105
The Object Model at a Glance......Page 106
Configuring Columns and Field Types......Page 107
The Object Model at a Glance......Page 108
Configuring Content Types......Page 109
Queries and Views......Page 110
Configuring Queries......Page 112
Features......Page 113
Caution......Page 114
Solutions......Page 115
Tip......Page 116
Configuring Solutions......Page 117
Web Sites and Site Collections......Page 118
Caution......Page 119
Configuring Sites and Site Collections......Page 120
Content Pages......Page 121
Application Pages......Page 122
Ribbon......Page 123
Configuring a Ribbon......Page 124
Configuring Web Parts......Page 125
Event Handling......Page 126
Registering an Event......Page 127
The Object Model at a Glance......Page 128
Workflows......Page 129
Configuring Workflows......Page 130
Overview of Namespaces......Page 131
An Administrative View......Page 132
The Database Architecture......Page 133
The Server Architecture......Page 135
Working with Top-Level Objects......Page 136
Site Architecture......Page 137
The Administrative Server Object Model Organization......Page 138
Physical Hierarchy......Page 139
Content Hierarchy......Page 140
CONFUSING NAME RESOLVER......Page 141
WHERE HAS THE SHARED SERVICES PROVIDER GONE?......Page 142
Summary......Page 143
Finding the Entry Points......Page 145
Caution......Page 146
Formatting a Date Using SPUtility.FormatDate......Page 147
Getting the Full (Absolute) URL......Page 148
Working with a Static URL......Page 149
Redirection Examples......Page 150
Redirecting to SharePoint Success or Error Pages......Page 151
Formatting Scalar Data......Page 152
Best Practice Advice......Page 153
Handling Objects Used in a Publishing Web......Page 155
Disposing of Objects and Collections......Page 157
Objects Used in a Feature Receiver......Page 159
Example of Incorrect Disposal......Page 160
Authentication......Page 161
Windows Authentication......Page 162
Anonymous Access......Page 163
Web Single Sign-On......Page 164
Permissions......Page 165
Users, Groups, and Roles......Page 166
Retrieving Users......Page 167
Retrieving the Current User......Page 168
Working with Groups......Page 169
Security Issues in Custom Code......Page 171
Running with Elevated Privileges......Page 172
Common Challenges with RunWithElevatedPrivileges......Page 174
Securing Objects......Page 175
Handling Authorization Failures......Page 179
Using Helper Classes......Page 181
The Isolated Programming Style......Page 182
Tip......Page 183
Controlling a Console Application Using Parameters......Page 185
Using Object Constructors......Page 188
Console Example......Page 189
Summary......Page 191
Lists and Their Elements......Page 193
CONTENT TYPE DEFINITION......Page 194
The Built-in Lists......Page 195
Creating a List Programmatically......Page 197
Adding Fields to the List......Page 199
Changing Field Properties......Page 200
Adding Items to the List......Page 201
Working with Collections......Page 202
Basic Techniques......Page 203
Example: Adding an Attachment to an Item......Page 204
Example: Downloading an Attachment......Page 205
Handle Huge Lists......Page 207
Define and Use Views......Page 208
Modifying an Existing View......Page 211
Creating a New View Programmatically......Page 212
Custom Field Types......Page 213
Parts of a Content Type......Page 214
Synchronous vs. Asynchronous Events......Page 217
List Item Events......Page 218
List Events......Page 219
Developing and Deploying an Event Receiver......Page 220
The Event Handler Code......Page 222
Example: Reading a File from the Shared Documents Library......Page 225
Example: Saving Data to Libraries......Page 227
Example: Deleting a File......Page 228
Working with Office Documents......Page 229
Enriching a Word Document with Placeholders......Page 230
ACTIVATE THE DEVELOPER MAIN TAB......Page 231
CONFUSING NAME RESOLVER......Page 232
Creating the Report......Page 233
Document Sets......Page 236
Prepare Document Sets......Page 237
Access a Document Set Programmatically......Page 240
Reading the Properties......Page 241
CAML vs. LINQ......Page 242
Understanding CAML......Page 243
Tip......Page 244
How to Create a CAML Query......Page 245
Referencing Fields and Values......Page 246
Using Comparison Operators......Page 247
Working with Lists, Joins, and Projections......Page 248
Joins......Page 249
Example: Using Joins and Projected Fields......Page 250
Examining the LINQ Basics......Page 252
Architecture of LINQ......Page 253
Operators......Page 254
Simple Queries......Page 255
Aggregators......Page 257
LINQ to SharePoint......Page 258
Restrictions of LINQ to SharePoint Provider......Page 259
Entity Classes and the SPMetal Tool......Page 260
Where to Get SPMetal?......Page 261
Advanced Configuration......Page 262
What SPMetal Generates......Page 263
Example: Reading Data......Page 266
Example: Inserting Items Using EntityList......Page 268
Example: Deleting Items......Page 269
Advanced List Examples......Page 270
Customize the Mapping......Page 271
Caution......Page 272
Managing Concurrency Conflicts for the New Columns......Page 273
Track Changes......Page 274
Resolving Conflicts......Page 276
Examine Relationships......Page 277
Understanding LINQ to CAML Conversion......Page 281
Summary......Page 282
External Data Access......Page 283
The WCF Data Services Framework......Page 284
What About SOAP?......Page 285
Reading the Response......Page 286
CONFUSING NAME HELPER......Page 288
Programming WCF Data Services with SharePoint......Page 289
Data Services URIs and URI Parameters......Page 292
Tip......Page 295
Work with Data Services......Page 296
Business Connectivity Architecture at a Glance......Page 298
Create an External Content Type Using SharePoint Designer......Page 299
GET SAMPLE DATA......Page 300
Manage Appropriate Security Settings......Page 304
Access External Data......Page 305
Create an External List Using the Browser UI......Page 306
Access External Data Through the Object Model......Page 307
Understanding the Content Database......Page 308
Creating SQL Views for SharePoint Lists......Page 312
Querying with LINQ to SQL......Page 316
Limitations of This Method......Page 319
Efficient Access to Huge Lists......Page 320
Using Paging in Advanced Scenarios......Page 321
Usage Scenarios......Page 323
WHERE MICROSOFT.SHAREPOINT.WEBPARTPAGES.WEBPART HAS GONE......Page 324
Web Part Primer......Page 325
Creating a Simple Web Part......Page 326
Built-In Web Parts......Page 327
Web Part in a Chrome......Page 328
Registering a Web Part as Safe......Page 329
Dealing with Built-In Security......Page 330
Providing Web Part–Specific CAS Policy......Page 333
Visual Web Parts......Page 335
Caution......Page 336
Understanding the Project Structure......Page 337
Creating Visual Web Parts......Page 340
Understanding ASP.NET Web Parts......Page 342
How It Works......Page 343
The Zone Concept......Page 346
ADDING A PRIVATE WEB PART PAGE......Page 347
CatalogZone......Page 351
WebPart’s Class Hierarchy......Page 352
Personalizing Web Parts......Page 353
Customizing the Property Pane......Page 354
Understanding Properties......Page 355
Using Editor Parts to Edit Properties......Page 357
Adding Controls......Page 359
Handling Validation Errors......Page 360
Creating a Custom Editor Part Example......Page 361
HOW TO DISPLAY A MAP......Page 362
Editing Complex Properties Using a Pop-Up......Page 371
Understanding Data Connections......Page 375
Creating the Web Part Definition Files......Page 376
Coding a Connected Web Part......Page 378
Tip......Page 379
Using Generic Interfaces......Page 384
Enhancing Web Parts Using Ajax......Page 389
Adding Entries to the Web Part Drop-Down Menu......Page 394
Using Client Script to Handle Menu Clicks......Page 395
Adding Server-Side and Client-Side Handlers......Page 396
Making a Web Part Asynchronously......Page 397
USING THE ADDONPRERENDERCOMPLETEASYNC METHOD......Page 398
Creating an Asynchronous Data Source......Page 401
Handling All Exceptions to Prevent Web Part Page Failures......Page 403
Specifying Custom Error Messages When Appropriate......Page 404
Registering the Client-Side Script Shared by Multiple Web Parts to Improve Performance......Page 405
Supporting the End User......Page 406
Specifying Whether Web Part Properties Can Be Exported......Page 407
Making Properties User-Friendly in the Tool Pane......Page 408
Encoding All User Input Rendered to the Client......Page 409
Using Simple Types for Custom Properties You Define......Page 410
Providing a Preview of Your Web Part for the Web Part Gallery......Page 411
Help Using Resources......Page 412
Summary......Page 413
Templates......Page 415
DEPLOYING AND ACTIVATING A FEATURE USING STSADM.EXE......Page 418
CREATING A REUSABLE SITE COLUMN......Page 419
Custom List Definitions......Page 420
Tip......Page 422
The List Element......Page 424
The ContentTypes Element......Page 425
The Fields Element......Page 426
Lookup Fields......Page 427
The Views Element......Page 428
XSL-Based Rendering......Page 429
Joins and Projections......Page 430
The ViewFields Element......Page 432
Forms......Page 433
USING THE SHAREPOINT UI......Page 434
USING A CUSTOM SITE DEFINITION......Page 435
USING SHAREPOINT DESIGNER......Page 436
Visual Studio 2010 Support......Page 437
CREATE A SITE DEFINITION......Page 438
webTemp.xml......Page 439
Tip......Page 441
Site Provisioning Provider......Page 442
Tip......Page 443
Tip......Page 445
Tip......Page 446
The ListTemplates Element......Page 447
Modules......Page 448
Configurations......Page 450
stsadm.exe......Page 453
SITE SETTINGS......Page 454
Custom Code......Page 455
Creating Application Pages Using Visual Studio......Page 457
CREATING A PROJECT USING APPLICATION PAGES......Page 458
Using Inline Code......Page 460
Using the Master Page......Page 462
Security Considerations......Page 463
Resource Primer......Page 464
Resource Locations......Page 465
Tip......Page 466
Using Resources in Web Parts......Page 467
Defining a Static Resource per Item......Page 468
Using Static Resource Files......Page 470
PREPARING RESOURCES FOR LOCALIZATION......Page 471
Using Resources to Localize Web Part Attributes......Page 472
Using Resources for Linked Data......Page 473
PREPARING WEB RESOURCES......Page 474
The Resource Manager......Page 476
Tip......Page 477
Events at a Glance......Page 479
Events at the Deployment Stage: Feature Receivers......Page 480
Creating a Feature with the Application Page’s Navigation......Page 481
Creating the Feature Receiver......Page 482
Registering the Event......Page 485
Events at the Site and Site Collection Levels......Page 486
Defining the Event Receiver......Page 487
Creating a Web Event Receiver Class......Page 488
Dealing with Error Conditions......Page 489
Sending E-mail Using ASP.NET......Page 490
Using SharePoint’s Mail-Sending Classes......Page 491
Sending E-Mail from a WCF Service......Page 493
Getting a Web with Elevated Privileges......Page 494
Getting a List with a Data Model Behind the Scenes......Page 495
Extension Methods Elaborated......Page 501
Caching Queries to Improve Performance......Page 506
Summary......Page 507
SharePoint Features......Page 509
Solution Packages......Page 513
Restrictions of Sandboxed Solutions......Page 517
Tip......Page 518
Life Cycle of a Sandboxed Solution......Page 519
Upgrading a Sandboxed Solution......Page 521
Monitoring Sandboxed Solutions......Page 522
Sandboxed Solution Validators......Page 524
Sandboxed Solution Full-Trust Proxies......Page 525
Tip......Page 526
Deploying Solution Packages Using PowerShell Cmdlets......Page 527
Scripting with PowerShell and the PowerShell Integrated Scripting Environment......Page 528
PowerShell and SharePoint 2010......Page 530
PowerShell Cmdlets for SharePoint 2010 Overview......Page 531
Deploying a Farm Solution Package......Page 532
Deploying Solution Packages Using stsadm......Page 533
Adding a Solution Package......Page 534
Tip......Page 535
Step 1: Creating the Folder Structure......Page 536
Tip......Page 537
Step 3: Creating a Solution Definition......Page 538
Step 5: Creating the Solution Package......Page 539
How To: Creating a Solution Package Using Visual Studio 2010......Page 540
Using the Project Templates......Page 541
Adding SharePoint Items and Features to Your Project......Page 542
Editing Your Features......Page 544
EDITING THE MANIFEST MANUALLY......Page 545
Editing Your Solution Package......Page 547
Project Properties and Deployment Configuration......Page 549
Tip......Page 550
Debugging the Solution......Page 551
Packaging the Solution......Page 552
Tip......Page 553
Caution......Page 554
Debugging the Solution......Page 555
Creating a Full-Trust Proxy......Page 556
Deploying the Full-Trust Proxy DLL to the GAC......Page 560
Registering the Full-Trust Proxy Using a Feature Receiver......Page 561
Using the Full-Trust Proxy to Extend a Sandboxed Solution......Page 562
Creating a Solution Validator......Page 564
Creating an Error Page for the Solution Validation......Page 568
Caution......Page 570
Upgrading Custom Developed Solutions to SharePoint 2010......Page 571
Reasons for Upgrading......Page 572
INSTALLING THE IMPORT VSEWSS PROJECT VISUAL STUDIO TEMPLATE......Page 573
IMPORTING A VSEWSS PROJECT......Page 575
IMPORTING A WSP FILE......Page 576
Using Existing SharePoint 2007 Code in SharePoint 2010......Page 578
Deprecated APIs......Page 579
Summary......Page 580
Part 2: User Interface......Page 581
Master Pages......Page 583
System Master Page (Default Master Page)......Page 585
Site Master Page (Custom Master Page)......Page 586
Application Master Pages......Page 587
Improvements with SharePoint 2010......Page 590
Master Page Tokens for Application Pages......Page 591
Turning Off Dynamic Master Page Support......Page 593
Redirecting Default Application Pages......Page 594
Dialog Master Pages......Page 595
Conclusion......Page 599
Dynamic Tokens......Page 600
Static Tokens......Page 601
Master Page Gallery......Page 602
Example: Applying a Master Page Recursively......Page 603
Navigation Controls......Page 606
Top Link Bar Navigation......Page 607
Quick Launch Navigation......Page 609
Breadcrumb Navigation......Page 611
Understanding ASP.NET Site Map Providers......Page 612
SharePoint Foundation Navigation Providers......Page 614
The SPXmlContentMapProvider Class......Page 615
SharePoint Server Navigation Providers......Page 616
Example: Browsing Through Navigation Providers......Page 618
Themes......Page 619
Customization Levels......Page 620
Dynamic Stylesheets......Page 621
Themes in SharePoint 2010......Page 622
Theme Colors and Variations......Page 623
Dynamic Stylesheets......Page 624
Theming Attributes......Page 625
Theming Attributes of Internal CSS......Page 626
Applying Themes......Page 627
Creating a Stylesheet File with Theming Attributes......Page 628
Applying a Theme......Page 629
Creating an Application Page That Uses the Stylesheet......Page 631
Custom Actions......Page 632
Listing All Custom Actions......Page 637
Extending Site Settings......Page 640
Adding Nested Menus......Page 641
Tip......Page 642
Specifying Custom Actions for Menu Extension......Page 643
Specifying Custom Actions for Submenu Items......Page 644
Using Ribbons......Page 645
Adding a Button......Page 647
Replacing a Button......Page 648
Summary......Page 649
Overview......Page 651
Field Controls......Page 652
Understanding the BaseFieldControl Base Class......Page 653
Custom Field Controls......Page 658
Field Type Definition......Page 659
XSL Stylesheets for Custom Fields......Page 661
The Field Class......Page 662
The Field-Rendering Control Class......Page 663
The Field-Rendering Template......Page 665
Custom Field Properties......Page 666
Field Editor User Control: Web Form (ASCX)......Page 668
Field Editor User Control: Code-Behind (CS)......Page 669
Sections......Page 671
Text Controls......Page 672
Check Boxes and Radio Buttons......Page 673
Using Validator Controls......Page 674
InputFormRequiredFieldValidator......Page 675
InputFormRegularExpressionValidator......Page 676
Security Trimming......Page 677
Caution......Page 678
Selectors for WebApplication, SiteCollection, Site, and List......Page 679
Schedule Picker......Page 682
People Picker......Page 684
Implementing Custom Pickers......Page 689
The Data Source......Page 690
Dialog Editor Class......Page 692
Dialog Picker Class......Page 694
Query Control Class......Page 696
Getting the Custom Picker to Work......Page 698
Toolbar Control......Page 700
Ribbon Basics......Page 702
Ribbon Communication......Page 703
Ribbon Controls Overview......Page 708
Creating a Feature with a Ribbon Definition......Page 714
Creating an Application Page and Displaying the Ribbon Bar......Page 715
Creating Client-Side JavaScript Code for a PageComponent Implementation......Page 719
Implementing Server-Side Event Handlers......Page 721
Working with the SPGridView Control......Page 722
Example: Implementing a Grid for a SharePoint List......Page 723
Example: Using the DataTable Class......Page 725
Example: Adding Custom Menus......Page 726
Example: Enabling Sorting......Page 727
Example: Enabling Sorting and Filtering Using a LINQ Data Source......Page 729
Working with the JS Grid Control......Page 730
Features......Page 731
Example: Using the JS Grid Control......Page 733
Summary......Page 737
Understanding the Client Object Model......Page 739
.NET Managed Applications......Page 741
Silverlight Applications......Page 742
Namespaces Overview......Page 743
Authentication Modes......Page 745
Automatically Obtaining Object Identity......Page 746
Working with Data......Page 747
Data Loading and Querying......Page 748
Differences and Limitations......Page 750
Using the Digest Web Control......Page 751
Working with Modal Pop-Up Dialogs......Page 752
Using Callback Functions and Return Values......Page 755
Building Dialog Pages......Page 757
Status API......Page 760
Notification API......Page 762
Preparing Visual Studio for JavaScript......Page 763
Workaround to Enable JavaScript IntelliSense in Custom Application Pages......Page 764
Using JavaScript IntelliSense Within JS Files......Page 766
Objects Cannot Be Accessed Until They Are Loaded......Page 767
Not All Values Are Retrieved......Page 769
The Difference Between Value Objects and Client Objects......Page 771
How to Retrieve Site and Web Properties......Page 773
How to Retrieve Specific Properties Only......Page 774
How to Update Properties......Page 775
How to Create a New Web Site......Page 776
How to Retrieve All SharePoint Lists in a Web Site......Page 778
How to Retrieve List Field Information......Page 779
How to Create a New SharePoint List......Page 780
How to Modify an Existing SharePoint List......Page 781
How to Delete a SharePoint List......Page 782
How to Retrieve All Items in a SharePoint List......Page 783
How to Retrieve List Items Using CAML Queries......Page 784
How to Create a New List Item......Page 786
How to Update a List Item......Page 787
Accessing Users and Roles......Page 788
How to Add Users to a SharePoint Group......Page 789
How to Retrieve Members of a SharePoint Group......Page 790
How to Create a Role......Page 791
How to Add Users or Groups to Roles......Page 792
How to Create a New SharePoint Group and Assign the Group to a Role......Page 794
How to Break the Role Inheritance......Page 795
How to Update the Title of a Web Part......Page 797
How to Add a Web Part to a Page......Page 800
How to Delete a Web Part from a Page......Page 802
How to Use Exception-Handling Scope......Page 804
How to Use Conditional Scope......Page 807
How to Access Large Lists......Page 808
Summary......Page 810
Introducing Silverlight......Page 811
The Architecture of Silverlight......Page 812
The Presentation Core......Page 813
Describing a Silverlight UI Using XAML......Page 814
Events......Page 816
The Layout Manager......Page 817
Grid Layout......Page 818
Canvas Layout......Page 820
The StackPanel Layout......Page 821
Cross-Domain Security......Page 822
Tip......Page 823
Creating an HTTP Request Forwarder......Page 824
Activating the Handler Using an External Application Provider......Page 825
Integrating Silverlight......Page 828
Using Silverlight in an Application Page......Page 829
Using Silverlight in a Web Part......Page 832
Tip......Page 833
Using the SharePoint Client Object Model......Page 834
Example: Reading List Data from SharePoint and Writing Changes Back......Page 835
Limitations......Page 839
Retrieving All SharePoint Lists in a Web Site......Page 840
Retrieving List Field Information......Page 842
Creating a New SharePoint List......Page 845
Retrieving List Items Using CAML Queries......Page 848
How to Add Users to a SharePoint Group......Page 849
Summary......Page 853
Data Access Scenarios......Page 855
Understanding Microsoft Chart Controls......Page 856
Tip......Page 857
Setting Up......Page 860
Chart Elements......Page 862
Chart.DataBindTable......Page 864
Chart.DataSource......Page 866
Chart.DataBindCrossTab......Page 867
Points.DataBind and Points.DataBind[X]Y......Page 869
Manual Data Population by Adding Data Points......Page 871
Bar and Column Charts......Page 873
Area Charts......Page 874
Point Charts......Page 875
Radar Charts......Page 876
Financial Charts......Page 877
Using the Google Chart API......Page 878
Chart Types......Page 879
Using the Google Chart API with SharePoint......Page 882
Using the Google Visualization API......Page 885
Chart Types......Page 888
Integrating Map Services......Page 890
Integrating Bing Maps into Application Pages......Page 891
Integrating Bing Maps into Web Parts......Page 893
Populating Bing Maps Using the JavaScript Client Object Model......Page 895
Google Maps......Page 898
Integrating Google Maps into Application Pages......Page 899
Caution......Page 901
Integrating Google Maps into Web Parts......Page 902
Populating Google Maps Using the JavaScript Client Object Model......Page 903
Limitations When Using SSL/HTTPS......Page 906
Summary......Page 907
Advanced Techniques......Page 909
Forms Services and InfoPath......Page 911
InfoPath Form Template......Page 912
BUILDING XSN FILES FROM SOURCE FILES......Page 913
Form Definition Files......Page 914
Caution......Page 918
Form Views (XSL)......Page 921
InfoPath Form Data......Page 922
Defining the Data Structure......Page 924
Designing the Form Templates......Page 925
Adding Rules and Validation......Page 926
Caution......Page 927
Accessing External Data......Page 928
Forms Security......Page 932
Setting Form Compatibility......Page 934
Configuring Interface Options for InfoPath Forms Services......Page 936
Configuring Submit Options......Page 937
Using InfoPath Forms in SharePoint......Page 939
Publishing and Deploying Using the InfoPath Wizard......Page 940
Publishing Form Templates as a Separate Content Type......Page 941
Publishing Form Templates as Administrator-Approved Templates......Page 942
Publishing Form Templates to a Network Location......Page 943
Embedding Forms into SharePoint Features......Page 944
Tip......Page 945
stsadm.exe......Page 946
PowerShell Cmdlets......Page 947
Tip......Page 948
Attaching Managed Code......Page 949
InfoPath Object Model......Page 951
Events......Page 952
Accessing the Form Data......Page 954
Accessing Views......Page 956
Preparing InfoPath Forms Services Support......Page 957
Configuring InfoPath Forms Services......Page 958
Configuring Libraries......Page 960
Displaying Forms in the InfoPath Form Web Part......Page 961
Integrating XmlFormView in an Application Page......Page 963
Accessing the XmlForm Object......Page 965
Property Promotion and Demotion of XML Documents......Page 967
Configuring Promotion/Demotion Using InfoPath......Page 968
Configuring Promotion/Demotion Within a List Feature......Page 969
Passing Parameters from SharePoint to InfoPath Forms......Page 970
ACCESSING INFOPATH EVENTS IN THE BROWSER......Page 972
Workflows......Page 975
Working on Content......Page 976
Workflow Hosting Environment......Page 977
Workflow Types......Page 979
Workflow Structure......Page 980
Initiation......Page 981
Caution......Page 982
SharePoint Out-Of-the-Box Workflows......Page 983
Associate Workflows with SharePoint Items......Page 984
Tip......Page 987
Managing and Monitoring Running Workflows......Page 988
User Interaction Using Tasks......Page 991
Tools for Workflow Development......Page 992
Visio 2010: Process Design......Page 993
Workflows......Page 994
Workflow Settings......Page 996
Caution......Page 997
Workflow Editor......Page 998
Visual Studio 2010: Custom Workflows......Page 999
Tool Comparison......Page 1001
Declaring a Workflow using Actions and Conditions......Page 1003
Actions and Conditions......Page 1006
Working with Tasks......Page 1011
Source Files of SharePoint Designer Workflows......Page 1013
Setting Up the Visual Studio Solution......Page 1014
Implementing the Activity Class......Page 1017
Describing a SharePoint Designer Action in the .ACTIONS File......Page 1021
Tip......Page 1024
Applying Settings to the Configuration......Page 1025
WF Activities and Their Facets......Page 1026
Dependency Properties and Activity Binding......Page 1030
SharePoint Workflow Object Model......Page 1032
SPWorkflowAssociation......Page 1035
SPWorkflowModification......Page 1037
Developing Workflows with Visual Studio 2010......Page 1038
Developing the Workflow......Page 1039
Deploying Workflows......Page 1048
Custom Workflow Association Form......Page 1050
Custom Workflow Task Form......Page 1053
Integrate InfoPath Forms with Workflows......Page 1058
Caution......Page 1060
Introduction......Page 1063
Why Automate Tasks?......Page 1064
Creating a Web Application......Page 1065
Tip......Page 1067
Creating a Web......Page 1069
Working with Site Properties......Page 1071
Maintaining Settings in web.config Programmatically......Page 1073
Setting Up the Configuration......Page 1074
Accessing the Current Settings......Page 1076
Working with Features......Page 1077
Working with Site Information......Page 1082
Retrieving the Configuration Database......Page 1083
Summary......Page 1084
Search Products......Page 1085
Preparing Index and Query Services......Page 1086
Query Results from the Index......Page 1087
Tip......Page 1090
Using User Profiles......Page 1091
Personalize a User’s Settings......Page 1093
Tip......Page 1094
Working with SPPublishingWeb Class......Page 1095
Content Deployment......Page 1096
What’s New in SharePoint 2010 Web Content Management......Page 1098
Rich Media Integration......Page 1099
Document Management......Page 1100
Working with Metadata Navigation......Page 1101
Working with Metadata Taxonomies......Page 1102
Check In and Check Out......Page 1104
Versioning......Page 1105
Moving Documents to the Records Center Using the API......Page 1107
Maintain Retention Policies......Page 1108
¦ A......Page 1111
¦ B......Page 1116
¦ C......Page 1117
¦......Page 1121
¦ E......Page 1124
¦ F......Page 1125
¦ G......Page 1127
¦ I......Page 1128
¦......Page 1130
¦ L......Page 1131
¦ M......Page 1136
¦ N......Page 1138
¦ O......Page 1139
¦ P......Page 1140
¦......Page 1142
¦......Page 1145
¦ T......Page 1156
¦ V......Page 1158
¦ W......Page 1160
¦ Z......Page 1166