I want to Create a Windows Application that
Display :
-
all Web Application,
-
Sites Collection of Each web Applications,
-
Sites of Each Site Collection,
-
Sub-Sites of Each Sites,
-
All lists-Libraries of Each Site and Sub-Sites in Tree-view
here i don't want to Give any Static URL, on Application Start up That All Information Filled Automatically in Tree-view if SharePoint is Installed on that Computer.
Is this Possible ? if yes then how ?
Best Answer
.Net Managed Client Object Model: Fetch All Webs, Libraries, Items
In SharePoint 2010, we have 3 client object model.
Today, I am presenting .NET Managed Client Object Model to retrieve all webs, libraries, items from SharePoint.
Prerequisites References for your desktop application:
1. Microsoft.SharePoint.Client.dll
2. Microsoft.SharePoint.Client.Runtime.dll
My Custom Classes to feel like we are working on SharePoint Server Object model:
Methods which is used to fetch Webs / libraries / Items:
For this I used following reference,
http://shahjinesh11.wordpress.com/2012/06/14/net-managed-client-object-model-fetch-all-webs-libraries-items/
it may helps you Good Luck :-)