1. Trang chủ
  2. » Công Nghệ Thông Tin

Microsoft SharePoint 2010 Building Solutions for SharePoint doc

401 604 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 401
Dung lượng 8,46 MB

Nội dung

Malik Microsoft SharePoint 2010: Building Solutions for SharePoint 2010 Companion eBook Available this print for content only—size & color not accurate   CYAN   MAGENTA   YELLOW   BLACK   PANTONE 123 C BOOKS FOR PROFESSIONALS BY PROFESSIONALS ® Sahil Malik, Author of Pro ADO.NET 2.0 US $59.99 Shelve in: Microsoft Servers User level: Intermediate–Advanced THE APRESS ROADMAP Microsoft SharePoint 2010: Building Solutions for SharePoint 2010 Pro SharePoint 2010 Solution Development SharePoint 2010 as a Platform SharePoint 2010 as a Platform Pro SharePoint 2010 Solution Development Pro SharePoint 2010 Development Techniques Microsoft SharePoint 2010: Building Solutions for SharePoint 2010 www.apress.com SOURCE CODE ONLINE Companion eBook See last page for details on $10 eBook version ISBN 978-1-4302-2865-3 9 781430 228653 5 59 9 9 Microsoft SharePoint 2010: Building Solutions for SharePoint 2010 Dear Reader, SharePoint 2010 is a huge product—with huge promise, but a big learning curve. Having worked on many SharePoint projects, and delivered many SharePoint training sessions, I asked myself, what is the minimum set of SharePoint knowl- edge I'd like every development team member to know? Given the sheer size and capabilities of this product, it poses an interesting challenge. It's like this big juicy hamburger that you know will taste good, but you just don't know where to start without making a mess! You see, there is truly nothing else like SharePoint 2010. This platform is so versatile, it spans into almost every Microsoft technology and can be extended to integrate with non-Microsoft technologies. There’s a lot to learn and many people wonder where to begin and where to go. To satisfy these questions, I put together this book for you. This book covers the set of SharePoint knowledge that I wish every SharePoint development team member knew, including: • The structure and nature of a typical SharePoint project • The bare minimum administration every developer should know • A good overview of out of the box capabilities with sufficient discussion around the development/extensibility of SharePoint This book is organized in an easy-to-understand fashion, and I’ve included many practical tips to get you started on your SharePoint journey quickly and efficiently. I hope you enjoy this book. Sahil Malik www.winsmarts.com 7.5 x 9.25 spine = 0.75" 400 page count THE EXPERT’S VOICE ®  IN SHAREPOINT Sahil Malik Your fundamental resource for learning and creating with SharePoint 2010 Microsoft SharePoint 2010 Building Solutions for SharePoint 2010 Microsoft SharePoint 2010 Building Solutions for SharePoint 2010    Sahil Malik Microsoft SharePoint 2010: Building Solutions for Sharepoint 2010 Copyright © 2010 by Sahil Malik All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-4302-2865-3 ISBN-13 (electronic): 978-1-4302-978-1-4302-2866-0 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. President and Publisher: Paul Manning Lead Editor: Jonathan Hassell Technical Reviewer: Rob Garrett Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan Parkes, Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Coordinating Editor: Debra Kelly, Tracy Brown Copy Editors: Katie Stence, Nancy Sixsmith Compositor: Lynn L’Heureux Indexer: BIM Indexing & Proofreading Services Artist: April Milne Cover Designer: Anna Ishchenko Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders- ny@springer-sbm.com, or visit www.springeronline.com. For information on translations, please e-mail rights@apress.com, or visit www.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 Licensing web page at www.apress.com/info/bulksales. The information in this book is distributed on an “as is” basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is available to readers at www.apress.com. I would like to dedicate this book to Tanya, Anish, and Shawn.  v Contents at a Glance About the Author xii About the Technical Reviewer xiii Acknowledgements xiv Chapter 1: The First Chapter. Please Read! 1 Chapter 2: SharePoint Basics 17 Chapter 3: The SharePoint 2010 Feature Solution Framework 35 Chapter 4: WebParts and SharePoint Pages 79 Chapter 5: Client Object Model, ADO.NET Services, and Custom Services 113 Chapter 6: Managing SharePoint Data: Part 1 171 Chapter 7: Managing SharePoint Data: Part 2 199 Chapter 8: Enterprise Content Management 229 Chapter 9: Business Connectivity Services 269 Chapter 10: Workflows 289 Chapter 11: Business Intelligence 311 Chapter 12: Security 339 Index 367 vii Contents About the Author xii About the Technical Reviewer xiii Acknowledgements xiv Chapter 1: The First Chapter. Please Read! 1 How to Read this Book 1 SharePoint Environments 2 The SharePoint 2010 Development Environment 2 SharePoint Integration Environment 4 SharePoint QA Environment 4 SharePoint Production Environment 5 Your SharePoint Development Machine 5 Summary 16 Chapter 2: SharePoint Basics 17 What Did Installing SharePoint Do to My Machine? 17 Central Administration 20 The Great SharePoint Hierarchy 26 Creating and Using SharePoint Lists 28 Summary 34 Chapter 3: The SharePoint 2010 Feature Solution Framework 35 Writing Your First SharePoint Console App 36 What are WebParts? 37 Writing Your First Feature and Solution 40 Create the Project 41 Add Functionality to Your Project 44 Deploying and Debugging 48 Versioning and Upgrade 50 Feature Receivers 55 CONTENTS viii Writing Sandboxed Solutions 58 The Basics 58 Writing a Farm Solution 59 Sandbox Solution Restrictions 62 Sandbox Solution Monitoring, Management, and Deployment 65 Sandbox Solution Validations 69 Sandbox Solution Full Trust Proxies 73 Summary 77 Chapter 4: WebParts and SharePoint Pages 79 What Are WebParts? 79 What Are SharePoint Pages? 80 Using SharePoint Designer with WebParts 80 Writing Visual WebParts 85 SharePoint Pages 86 Deploying Pages: A Quick Example 88 Writing a WebPart 95 Writing the RSSFeed WebPart 96 Writing the OPML WebPart and a WebPart Editor 105 WebPart Communication 109 Some Closing Thoughts about WebParts 112 Chapter 5: Client Object Model, ADO.NET Services, and Custom Services 113 The Client Object Model 113 ADO.NET Data Services and the REST API 114 Custom WCF Services 114 The Client Object Model 115 Client Object Model Design 115 Infrastructural Objects 116 Object Identity 119 Writing the Silverlight WebPart 121 Writing the JavaScript WebPart 128 WebPart Communication Without Postbacks 130 ADO.NET Data Services and REST 136 ADO.NET Data Services and REST Basics 136 Consuming ADO.NET Data Services in .NET Applications 141 Consuming ADO.NET Data Services in Silverlight 145 [...]... The limitation is that your SharePoint Designer 2010 version will also need to be 64 bit This is not such a problem, except that SharePoint Designer 2010 will not work with SharePoint 2007 sites Therefore, if you need to install SharePoint Designer 2007 to manage SharePoint 2007 sites, you will need to go with side-by-side SharePoint Designer 2007 and SharePoint Designer 2010 installs The problem is... 7: Managing SharePoint Data: Part 2 199 SharePoint Events 199 SharePoint 2010 Improvements in the Event Model .203 Lists Scalability in SharePoint .204 Scalability versus Performance 205 The 20% Scenario 205 List Column Indexing .207 List Throttling 209 SharePoint 2010 RBS Storage 211 Querying SharePoint. .. with SharePoint since the early beta version of MOSS 2007 and has leveraged his talents for SharePoint architecture and design with Portal Solutions a SharePoint consultant company in Rockville, MD Rob has extensive background in NET technologies and has developed software for Microsoft Frameworks since the early days of C++ and MFC In pursuit of his career dreams, Rob left his birthplace in England for. .. web.config, you will see a custom section group called SharePoint with many extensions to the web.config schema done by the SharePoint team to store SharePoint- specific configuration information There is also a Microsoft. SharePoint. Client section, which is new in SharePoint 2010, and is present for the client object model I will talk more about the client object model in Chapter 5 Finally, you have the standard... of older versions of SharePoint DLLs to newer versions of DLLs transparently without the calling programs ever knowing about it Thus if you had a DLL that was compiled to target SharePoint version 12 (SharePoint 2007), that would automatically be routed to SharePoint 14 (SharePoint 2010) The System.WebServer element is something new with IIS 7 In this element because SharePoint 2010 works in the integrated... 2008-9-Getting_SPContextCurrent_in_a _SharePoint_ 2007_WCF_Service.aspx Listing 2-1 SharePoint HTTP Modules Listing 2-2 SharePoint System.ServiceModel Element While we are talking about the SharePoint web.config file, I want to share a little trick with you When you're writing code for SharePoint, and your custom code runs into an error, by default SharePoint. .. skip them It will take you a few hours to configure the ideal SharePoint development machine, but believe me it is well worth it Let's get started with building your ideal SharePoint development machine 1 Review the operating system and sql server requirements at http://blogs.msdn.com/ SharePoint/ archive/2009/05/07/announcing -SharePoint- server-2010preliminary-system-requirements.aspx Ensure that you are... was writing this book was who am I writing this book for? The answer was that I'm writing this book for mainly two audiences: • The first audience is an ASP.NET developer who is completely unfamiliar with SharePoint He finds himself either interested in SharePoint or in the middle of a SharePoint project To you my dear ASP.NET developer I must say, a SharePoint project is slightly different from a regular... fragmentation and, therefore, they need more memory allocated to the virtual machine for the same level of performance Also, Powerpivot does work in 32 bit Excel, it just works a whole lot better with very large amounts of data in 64 bit Excel Barring some borderline conditions, I prefer to install 32 bit office client 18 Also install SharePoint Designer 2010, preferably 32 bit for reasons mentioned... into central administration, you are prompted to configure your SharePoint farm You are given two choices; either you can let SharePoint do it for you, or you could fine tweak such configuration yourself For a typical development machine, and to ensure all the examples of this book will work, and if you're a beginner with SharePoint, just let SharePoint automatically configure your installation as shown . ROADMAP Microsoft SharePoint 2010: Building Solutions for SharePoint 2010 Pro SharePoint 2010 Solution Development SharePoint 2010 as a Platform SharePoint 2010 as a Platform Pro SharePoint 2010 Solution. SharePoint 2010 Building Solutions for SharePoint 2010    Sahil Malik Microsoft SharePoint 2010: Building Solutions for Sharepoint 2010 Copyright © 2010 by. count THE EXPERT’S VOICE ®  IN SHAREPOINT Sahil Malik Your fundamental resource for learning and creating with SharePoint 2010 Microsoft SharePoint 2010 Building Solutions for SharePoint 2010 Microsoft SharePoint

Ngày đăng: 08/08/2014, 10:21