[EN] 101 SharePoint 2010 Code Samples

LOGO__SharePoint2010YAY!!! That’s awesome news. On February, 23rd Windows Azure Team has published 101 Code Samples for SharePoint 2010. I’m not SharePoint developer, but… not yet. As SharePoint administrator sometimes I must collaborate with developers, sometimes I should develop myself. Why I shoudn’t use as easy code as possible?

101 Code Sample for SharePoint 2010 is a special project for developers, connected with Windows Azure services. Based on the information from provider: 

Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in Microsoft Visual Studio 2010.

Let’s look just for the list of all 101 Code Samples, below:

CODE SAMPLES FOR SHAREPOINT 2010:
Accessing List Items from Silverlight
Accessing SharePoint Lists from External WCF Services
Calling Azure Services from Custom Workflow Activities
Calling Azure Services from Event Receivers
Calling Azure Services from Timer Jobs
Calling Azure Services from Web Parts
Calling RESTful SharePoint Services From Desktop Applications
Calling WCF Services from Custom Workflow Activities
Calling WCF Services from Event Receivers
Calling WCF Services from Timer Jobs
Calling WCF Services from Web Parts
Calling WCF Services Hosted in SharePoint
Canceling Synchronous Events
Creating Content Organizer Rules Programmatically
Creating Content Types Programmatically
Creating Custom Field Types
Creating Custom SharePoint Service Applications
Creating Custom Timer Jobs
Creating Document Sets Programmatically
Creating Items in Lists from External WCF Services
Creating List Items from Silverlight
Creating SQL Azure Records from Web Parts
Creating Taxonomies Programmatically
Declaring Records Programmatically
Deleting Items in Lists from External WCF Services
Deleting SQL Azure Records from Web Parts
Developing AJAX-Enabled Web Parts
Developing Application Pages
Developing Branded Media Controls
Developing Connected Silverlight Web Parts
Developing Connected Web Parts
Developing Custom Expiration Actions
Developing Custom Expiration Formulae
Developing Custom Field Controls
Developing Custom Navigation Providers
Developing Delegate Controls
Developing Editor Web Parts
Developing Event Receivers
Developing Feature Receivers
Developing JQuery-Enabled Web Parts
Developing List Definitions
Developing Page Layouts
Developing Ribbon Actions
Developing Ribbon Drop Down Controls
Developing Sandboxed Web Parts
Developing Sequential Workflows
Developing Site Definitions
Developing Solution Validators
Developing Starter Master Pages
Developing State Machine Workflows
Developing Styled Master Pages
Developing Web Templates
Developing Workflow Activities
Displaying User Profile Pictures Programmatically
Displaying Video Files Stored in Azure
Exporting Content by Using the Content Deployment API
Hosting Silverlight Applications that Call Azure Services
Importing Content by Using the Content Deployment API
Leveraging HTML5 Objects in SharePoint
Logging Data to the Developer Dashboard
Logging Site Events Programmatically
Managing Document Sets Programmatically
Performing Cached Cross-Site Queries
Performing Cross-List Queries
Performing Searches from Silverlight
Performing Searches from Web Parts
Programmatically Finding Tagged Items
Programmatically Reading User Profile Properties
Querying SQL Azure Data from Web Parts
Retrieving List Contents and Parsing Atom Responses
Retrieving List Contents in JSON Format and Parsing Responses
Retrieving Single List Items in REST Requests
Updating SQL Azure Records from Web Parts
Uploading SharePoint Library Content to Azure Storage
Using JavaScript and CAML to Query Lists
Using JavaScript to Create Lists
Using JavaScript to Delete Items from Lists
Using JavaScript to Edit and Save Values in Items
Using JavaScript to Enable Notifications
Using JavaScript to Get Details About Site Collections
Using JavaScript to Get Details About Sites
Using JavaScript to Retrieve and Interrogate Items in Lists
Using JavaScript to Show Dialog Boxes
Using JavaScript to Update Site Properties
Using JQuery to Retrieve List Contents in JSON
Using LINQ in REST Requests
Using REST to Create a SharePoint and Bing Maps Mashup
Using REST to Discover the Contents of Excel Worksheets
Using REST to Obtain Excel Charts
Using REST to Query Data Ranges in Excel Worksheets
Working with Disposable Objects

CODE SAMPLES FOR SHAREPOINT ONLINE:
Accessing Current User Information in Sandboxed Solutions
Accessing Web Services
Authenticating Using the Client-Side Object Model
Creating and Deploying Sandboxed Event Receivers
Creating and Deploying Sandboxed Feature Receivers
Creating and Deploying Sandboxed Web Parts
Creating and Deploying Sandboxed Workflow Activities
Creating Documents Using Word, PowerPoint, or OneNote Web App
Creating Excel Worksheets by Using Excel Web App
Deploying Sandboxed Content Types and List Definitions

Exciting, isn’t? Just download zip file (8,9MB) from HERE, unpack (you need about 39 MB free space) and add code for you Visual Studio 2010 environment.

PS.: ENJOY!!!

[PL] zBZIKowani na punkcie SQL…

Za dwa tygodnie trzech zBZIKowanych maniaków SiQueLa, dożywotnio zapisanych do PLSSUG, zdecydowanych pozostawić domy i rodziny w sobotni wieczór czy też niedzielny poranek, tylko po to by bliżej niezidentyfikowanej grupie odbiorców opowiadać SQL Server, przetwarzaniu danych, wersjach, danych przestrzennych, licencjach, kostkach, , algorytmach i innych dziwacznych pojęciach, pojawi się na sali 306 krakowskiej AGH. Tam inna, nie mniej odstająca od normy grupa zapaleńców: Błyskotliwych, Zorganizowanych, Innowacyjnych, Kreatywnych; ukierunkowanych na Biznes, Zarządzanie, Informatykę, Konferencje organizuje pierwsża studencją konferencję poświęconą innowacyjnemu wykorzystaniu IT, zarządzaniu projektami, trendami w programowaniu, umiejętnościom miękkim, data mining.

Trzy najważniejsze sesje to oczywiście sesje przedstawicieli Polskiej Grupy Użytkowników SQL Server (ach, ta nasza zniewalająca skromność) w osobach liderów lokalnych grup PLSSUG:

Zanim utoniesz w danych – wprowadzenie do data mining.
Grzegorz Stolecki
(SQL Server MVP, Lider PLSSUG Katowice)
Sobota 10 marca 2012 | 09:00 – 12:00, sala 306 | LINK

Zarządzanie cyklem życia Microsoft SQL Server jako wzorzec planowania i utrzymania projektu.
Tobiasz Janusz Koprowski
(SQL Server MVP, Lider PLSSUG Wrocław)
Sobota 10 marca 2012 | 17:00 – 20:00, sala 306 | LINK

Przetwarzanie informacji geolokalizacyjnych w środowisku Microsoft SQL Server oraz narzędziach analitycznych.
Paweł Wilkosz
(SQL Server MVP, Lider PLSSUG Kraków)
Niedziela 11 marca 2012 | 09:00 – 12:00, sala 306 | LINK

Jeżeli ktoś będzie w okolicy – zapraszam serdecznie szczególnie w sobotni i niedzielny poranek – szykują się naprawdę ciekawe warsztaty. Więcej informacji, agenda, rejestracja, opisy warsztatów, sylwetki prelegentów znajdziecie na stronie KONFERENCJI. Zachęcam także do odwiedzenia profili PLSSUG i BZIK na Facebook.

[EN] SharePoint 2010 Technical Reference

LOGO__SharePoint2010Microsoft published just a moment ago (February 23rd) one of the most, heavy and freaky document about SharePoint 2010 Family. It is for SharePoint Foundation 2010, SharePoint Server 2010 and connected services such as: Visio, Word, Access, Excel, InfoPath and solutions like BDC, STS, ULS and typical aspects: security, users, privileges, levels od access and more. This free document is really heavy: about 6,3 MB (in PDF format) and over 450 pages.

Is it good stuff? Hmm, good questions. For me of course Yes! and I strongly recommend this document for all SharePoint administrators. Below You can look for the extract from this document – it is Table of Contents:

Technical reference for SharePoint Server 2010
System Center Operations Manager knowledge articles
Access Services in SharePoint Server 2010 knowledge articles
Access Services – configuration database access failed – Event 1
Access Services cannot create session cache – Event 11
Access Services out of memory – Event 16
Access Services failed to load calculation library – Event 17
Access Services template input output error – Event 21
Access failed to contact Access Services – Events 24 25 26
Access Data Services no longer available – Event 28
Access Services server is not available – Event 29
Excel Services Application in SharePoint Server 2010 knowledge articles
Excel unauthorized attempt to access a session – Event 2011
Excel Services Application internal error – Event 2026
Excel Services Application save failed – Event 3348
Excel Services Application unexpected workbook failure – Event 5225
Excel workbook disk cache cannot be created – Event 5226  21
Unable to establish connection with Excel Services Application – Events 5231 5233
Error communicating with Excel Services Application – Events 5231 5239 5240
Excel Services Application not available – Event 5234
Excel Services Application configuration database access failed – Event 5244
Max memory configured for Excel Services Application exceeded – Event 5255
Excel Services Application memory allocation failed – Event 5256
Excel Services Application not running locally – Event 5271
Excel invalid file access method configured – Event 5557
Excel Services Application user-defined function exception – Event 6467
Excel Services Application localized template file not found – Event 7924
Excel Services Application template file missing – Event 7925
Excel Services Application null access violation – Event 7926
Excel Services Application non-null access violation – Event 7927
Excel Services Application array out of bounds – Event 7928
Excel workbook disk cache full
InfoPath Forms Services in SharePoint Server 2010 knowledge articles
InfoPath Forms Services business logic failed – Event 5337
InfoPath Forms Services business logic exceeded re-entrant count – Event 5340
InfoPath Forms Services business logic is out of memory – Event 5342
InfoPath Forms Services business logic load exception – Event 5343
InfoPath Forms Services Web files list load failed – Event 5369
InfoPath Forms Services postback failure – Event 5374
InfoPath Forms Services conflicting assembly identities found – Event 5733
InfoPath Forms Services business logic cannot be serialized – Event 5734
InfoPath Forms Services DoS postbacks per session – Event 5736
InfoPath Forms Services DoS actions per postback – Event 5737
InfoPath Forms Services data adapter security error submit – Event 5758
InfoPath Forms Services solution cache churning – Event 5759
InfoPath Forms Services data adapter security error query – Event 6932
InfoPath Forms Services solution load failure – Event 7056
InfoPath Forms Services not working due to invalid State Service configuration – Event 7898
Managed Metadata services in SharePoint Server 2010 knowledge articles
Disk-based cache misconfigured – Event 5787
Metadata Service is unavailable – Event 8088
Disk-based cache at critical capacity
Disk-based cache flushing
Disk-based cache is compacting
PerformancePoint Services in SharePoint Server 2010 knowledge articles
PerformancePoint Services – login failed – Events 5 6 37 45
PerformancePoint Services – Service unavailable – Events 33 39
PerformancePoint Services – Database Connection Failed – Event 34
Search services in SharePoint Server 2010 knowledge articles
Search gatherer disk is full – Event 23
Search database out of space – Event 52
Search relegate query component – Event 58
Search query critical error – Event 60
Search indexer initialization index failed – Event 71
Search index corrupted – Events 74
Search indexer low disk space – Event 80
Search propagation communication error – Event 92
Search gatherer host unavailable – Event 114
Search administration component failed – Event 121
Search crawl component index path error – Events 2588 2589
Search Query and Site Settings Service is not running
SharePoint Server 2010 search is not running
Word Services in SharePoint Server 2010 knowledge articles
Word Services timer job failed – Events 1022 8077
Word services – PDF file converter failing – Event 8004
Word services – XPS file converter failing – Event 8005
Word services must be updated – Event 8010
Word services – language pack not installed – Event 8012
Visio Services in SharePoint Server 2010 knowledge articles
Visio Services data refresh failed – Events 8037 8038 8063 8062
Visio configuration database not found – Event 8040  96
Visio Services untrusted data provider request – Event 8041
Visio Services failed to generate diagram – Events 8042 8043 8060
Visio proxy initialization failed – Event 8044
Visio application proxy has invalid endpoint – Event 8049
Visio Services data provider not found – Event 8050
Visio Services file loading error – Events 8051 8061

User Profile Synchronization Configuration Service cannot connect to SQL Server – Event 4
ULS not enough storage for log directory – Event 2150
Event log flooding – Events 2158 2159
SQL Server database login failed – Event 3351
Backup failed due to insufficient permissions – Event 3353
Cannot connect to SQL Server – Event 3355
The application pool account cannot add user accounts to Active Directory – Event 3359
Active Directory organization unit unregistered – Event 3360
SQL Server database is full – Event 3758
Database could not be accessed – Event 3760
Content deployment job failed – Events 4958 5323 5325 5335
Content database is Read-Only – Event 4971
Cannot create My Sites – Event 5187
User Profile changes cannot be committed – Event 5188
Insufficient SQL Server database permissions – Event 5214
Unable to write to trace log – Event 5401
Could not schedule synchronization jobs – Event 5556
Unknown SQL exceptions – Event 5586
Audience compilation failed – Event 5693
Synchronizing data between SharePoint Server and directory failed – Events 6000-6099
SharePoint Foundation failed to create a site – Event 6141
Unable to load authentication provider – Event 6143
User Profile Synchronization Service unexpected failure – Events 6300-6309
Insufficient permissions to write to the configuration data cache – Event 6395
Alternate access mapping update failed – Event 6397
Service Instance timer execution failed – Event 6398
ULS not enough free disk space – Event 6457
Access denied for writing to registry – Event 6588
Access denied for writing to disk – Event 6589
Application pool account must be registered as Kerberos – Event 6590
SMTP service not running – Event 6599
Event handler failed to load – Event 6644
Product Help Library Permission – Event 6769
Cannot resolve name of the outbound SMTP server – Event 6856
Cannot connect to SMTP host – Event 6857
Error occurred while communicating with SMTP server – Event 6858
SharePoint lists cannot receive e-mail – Event 6872
E-mail service cannot deliver e-mail – Event 687
Event receiver failed – Event 6875
Service instance provisioning failed – Event 7034
Backup timer job could not be created – Event 7035
Central Administration update failed – Event 7037
Secure Store reencrypt credentials failed – Event 7510
Secure Store could not retrieve master encryption key – Event 753
Secure Store SQL exception – Event 7551
Secure Store proxy unexpected exception – Event 7557
Throttling starts alert- Events 8032 8062
Cannot retrieve end point – Event 8070
Cannot retrieve list of service applications from remote farm – Event 8071
Log folder does not exist – Event 8074
Usage timer job failed – Event 8075
Business Data Connectivity Service – BDC database adapter connection exception – Event 8080
BDC Service – BDC Web service proxy generations exception – Event 8082
BDC Service – BDC Proxy – unexpected exception – Event 8085
BDC Service – SQL exception – Event 8086
ULS trace log reaching maximum size – Event 8094
ULS usage log reaching maximum size – Event 8095
STS signing certificate missing – Event 8303
STS cannot sign credentials – Event 8304
Claims cannot establish endpoint – Event 8305
STS claims provider error – Event 8307
Administration service is not running
Backend server not reachable
Document conversion failures high
Document conversion launcher unavailable
Document conversion load balancer unavailable
Knowledge article is not yet available
Sandboxed code is running
SharePoint Administration service is disabled
SharePoint Foundation 2010 search is not running
SharePoint Health Analyzer has detected an error or warning
SharePoint Timer service could not start
SharePoint Timer service is not running
SQL Server remote access is disabled
Tracing service is not running
Unacceptable rendering response time
User Profile Configuration service not started
User Profile Synchronization service not started
Web application taking too long to render a page
Web application unavailable
Web site unavailable
SharePoint Health Analyzer rules reference
Web Applications using Claims authentication require an update
Automatic update setting inconsistent across farm servers
Diagnostic logging is set to verbose
The server farm account should not be used for other services
One or more services have started or stopped unexpectedly
Databases used by SharePoint have fragmented indices
Content databases contain orphaned items
Outbound e-mail has not been configured
Some health analyzer rules do not have associated timer jobs
Drives are running out of free space
The paging file size should exceed the amount of physical RAM in the system
Built-in accounts are used as application pool or service identities
Web Analytics: Monitors the health of the Report Consolidator component
Web Analytics: Verifies that when the Web Analytics is installed and running, usage logging is enabled in the farm
Web Analytics: Verifies that a web application is serviced by at most one Web Analytics service application proxy
Web Analytics: Verifies that the SQL Server Service Broker is enabled for the Web Analytics staging databases
InfoPath Forms Services Maintenance Timer Job not enabled
Validate the My Site Host and individual My Sites are on a dedicated Web application and separate URL domain
Search scopes not defined for My Sites
Verify each User Profile service application has a My Site host configured
Visio Graphics Service has a maximum cache age setting that will adversely impact performance
The Visio Graphics Service has a Maximum Web Drawing Size setting that will adversely impact performance 
Visio Graphics Service has a maximum recalculation duration setting that will adversely impact performance
The Visio Graphics Service has a minimum cache age setting that may cause a security issue
The Visio Graphics Service has a minimum cache age setting that will adversely impact performance 
All State Service databases are paused for a State Service Application
A State Service Application has no database defined 
InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured 
Expired sessions are not being deleted from the ASPNET Session State database
The State Service Delete Expired Sessions timer job is not enabled
One or more Search crawl databases have fragmented indices
One or more Search property databases have fragmented indices
InfoPath Forms Services forms cannot be filled out in a Web browser
Word Automation Service timer job is not running 
Installation reference
Setup command-line reference
Psconfig command-line reference
Configxml reference 
Windows PowerShell commands
Enterprise search technical reference
Default connectors
File types and IFilters reference
Languages for word breakers and stemmers
Managing privacy
User permissions and permission level
Database types and descriptions
Language packs
Regional settings
Managed metadata input file format
User experience on read-only sites
Scripted deployment reference
Account permissions and security settings
PerformancePoint Services glossary
Word Automation Services Troubleshooting
Timer job reference
SharePoint 2010 Administration Toolkit
Installing the SharePoint 2010 Administration Toolkit
Uninstalling the SharePoint 2010 Administration Toolkit
Security Configuration Wizard manifest for SharePoint Server 2010
Load Testing Kit
User Profile Replication Engine overview
Content Management Interoperability Services (CMIS) connector overview
SharePoint Diagnostic Studio 2010 (SPDiag 30)
Conformance statement A-level
Conformance statement AA-level
Settings and features backed up from a farm configuration
Peoplepicker-peopleeditoronlyresolvewithinsitecollection: Stsadm property
Default user profile properties
Default user profile property mappings

ENOUGH? I HOPE!

You can download this files from special site: Technical reference for Microsoft SharePoint Server 2010 or directly from link in five different formats: PDF DOCX XPS EPUB MOBI.