1/16/2010

SharePoint 2010: Assemblies and Namespaces

 

(2007 version here: http://techtrainingnotes.blogspot.com/2010/01/sharepoint-2007-assemblies-and.html)

 

You see a sample of code on the web… you copy and paste it exactly… and you get red “squiggles” everywhere, and an error like:

“The type or namespace name 'SPabc' could not be found (are you missing a using directive or an assembly reference?)”

You are missing a reference! You do a help or web search and find the namespace it belongs to. Cool… which assembly contains that namespace, which one do you reference???

So, here is a list of SharePoint 2010 assemblies and namespaces (from Beta2). There are two tables, one sorted on Assembly and the other on Namespace.  Note that some namespaces occur in more than one assembly.

These are the assemblies I checked…

Not in Visual Studio’s “Add Reference”:
1 = Located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI|

Namespace and DLL name Name in Visual Studio “Add Reference”
Microsoft.BusinessData Microsoft® SharePoint® Foundation Business Data
Microsoft.Office.DocumentManagement 1
Microsoft.Office.Excel.Server.Udf Excel Services UDF Framework
Microsoft.Office.Excel.Server.WebServices 1
Microsoft.Office.Policy 1
Microsoft.Office.SecureStoreService.Server.Security Microsoft Office Secure Store Service Security
Microsoft.Office.Server 1
Microsoft.Office.Server.Search 1
Microsoft.Office.Server.UserProfiles 1
Microsoft.Office.SharePoint.ClientExtensions 1
Microsoft.Office.Word.Server 1
Microsoft.Office.Workflow.Actions 1
Microsoft.Office.Workflow.Tasks Microsoft Office DLC task utility
Microsoft.SharePoint Microsoft.SharePoint
Microsoft.SharePoint.Client Microsoft.SharePoint.Client
Microsoft.SharePoint.Client.Runtime Microsoft.SharePoint.Client.Runtime
Microsoft.SharePoint.Portal 1
Microsoft.SharePoint.Publishing 1
Microsoft.SharePoint.Search Microsoft® SharePoint® Server Search
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration
….Search.Extended.Administration.Common ….Search.Extended.Administration.Common
….Search.Extended.Administration.ResourceStorage ….Search.Extended.Administration.ResourceStorage
Microsoft.SharePoint.Search.Extended.Query SearchAPI
Microsoft.SharePoint.Security Microsoft.SharePoint.Security
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy
Microsoft.SharePoint.WorkflowActions Microsoft.SharePoint.WorkflowActions
Microsoft.Web.CommandUI Microsoft.Web.CommandUI

 

 

I did not include Microsoft.SharePoint.Linq as there is a missing assembly in the beta that Linq refers to.

 

Sorted by Assembly:

 

Assembly Namespace
Microsoft.BusinessData Microsoft.BusinessData.Infrastructure
Microsoft.BusinessData Microsoft.BusinessData.Infrastructure.Collections
Microsoft.BusinessData Microsoft.BusinessData.Infrastructure.SecureStore
Microsoft.BusinessData Microsoft.BusinessData.Infrastructure.Throttle
Microsoft.BusinessData Microsoft.BusinessData.MetadataModel
Microsoft.BusinessData Microsoft.BusinessData.MetadataModel.Collections
Microsoft.BusinessData Microsoft.BusinessData.Offlining
Microsoft.BusinessData Microsoft.BusinessData.Runtime
Microsoft.BusinessData Microsoft.BusinessData.SystemSpecific
Microsoft.BusinessData Microsoft.BusinessData.SystemSpecific.Wcf
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement.DocSite
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement.DocumentSets
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement.Internal
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement.MetadataNavigation
Microsoft.Office.DocumentManagement Microsoft.Office.Server.WebControls
Microsoft.Office.Excel.Server.Udf Microsoft.Office.Excel.Server.Udf
Microsoft.Office.Excel.Server.WebServices Microsoft.Office.Excel.Server.WebServices
Microsoft.Office.Policy Microsoft.Office.DocumentManagement
Microsoft.Office.Policy Microsoft.Office.DocumentManagement.Server
Microsoft.Office.Policy Microsoft.Office.DocumentManagement.WebControls
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.Controls
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.Holds
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.InformationPolicy
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.Internal
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.OfficialFileWSProxy
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.PolicyFeatures
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.RecordsRepository
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.RecordsRepository.Internal
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.Reporting
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.SearchAndProcess
Microsoft.Office.Policy Microsoft.Office.Server.DLC.Upgrade
Microsoft.Office.Policy Microsoft.Office.Workflow
Microsoft.Office.Policy Microsoft.SharePoint.WorkflowUtil
Microsoft.Office.SecureStoreService.Server.Security Microsoft.Office.SecureStoreService.Server.Security
Microsoft.Office.Server Microsoft.Office.Server
Microsoft.Office.Server Microsoft.Office.Server.Administration
Microsoft.Office.Server Microsoft.Office.Server.Auditing
Microsoft.Office.Server Microsoft.Office.Server.Cabinet
Microsoft.Office.Server Microsoft.Office.Server.CommandLine
Microsoft.Office.Server Microsoft.Office.Server.Data
Microsoft.Office.Server Microsoft.Office.Server.Diagnostics
Microsoft.Office.Server Microsoft.Office.Server.Diagnostics.ULSEventTemplates
Microsoft.Office.Server Microsoft.Office.Server.EvaluatorModeProvisioning
Microsoft.Office.Server Microsoft.Office.Server.Infrastructure
Microsoft.Office.Server Microsoft.Office.Server.Internal
Microsoft.Office.Server Microsoft.Office.Server.Internal.Resources
Microsoft.Office.Server Microsoft.Office.Server.Metabase
Microsoft.Office.Server Microsoft.Office.Server.Monitoring
Microsoft.Office.Server Microsoft.Office.Server.ObjectCache
Microsoft.Office.Server Microsoft.Office.Server.Search.PortalCrawl
Microsoft.Office.Server Microsoft.Office.Server.Security
Microsoft.Office.Server Microsoft.Office.Server.Upgrade
Microsoft.Office.Server Microsoft.Office.Server.Utilities
Microsoft.Office.Server Microsoft.Office.Server.Utilities.Security
Microsoft.Office.Server Microsoft.Office.Server.Utilities.Win32
Microsoft.Office.Server Microsoft.Office.Server.WebControls
Microsoft.Office.Server.Search <CppImplementationDetails>
Microsoft.Office.Server.Search <CrtImplementationDetails>
Microsoft.Office.Server.Search ATL
Microsoft.Office.Server.Search ATL.?HKeyFromString@CRegParser@ATL@@$$FKAPEAUHKEY__@@PEA_W@Z.__l2
Microsoft.Office.Server.Search ATL.?VTFromRegType@CRegParser@ATL@@$$FKAHPEB_WAEAG@Z.__l2
Microsoft.Office.Server.Search ATL._ATL_SAFE_ALLOCA_IMPL
Microsoft.Office.Server.Search ATL.<AtlImplementationDetails>
Microsoft.Office.Server.Search BihConsumerInterop
Microsoft.Office.Server.Search Define_the_symbol__ATL_MIXED
Microsoft.Office.Server.Search FastSerialization
Microsoft.Office.Server.Search Inconsistent_definition_of_symbol__ATL_MIXED
Microsoft.Office.Server.Search Microsoft.Office.Server.Search
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.CommandLine
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.Health
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.MSSITLB
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.NotesWebServiceWrapper
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.Security
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.TopologyExport
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Cmdlet
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Extended.Administration.Common
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Extended.Administration.Facade
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Extended.Administration.Internal.UI
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Extended.Query.Internal.UI
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Administration
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.PeopleSoapProxy
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2001
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2003
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2006
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SharePointPortal2003
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SiteData
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SPSCrawl
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.UI
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.UI.CentralAdmin
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.UI.WebControls
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.MobileControls
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Monitoring
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Query
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Query.Common
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Query.Gateway
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Query.LanguageResources
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Upgrade
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.WebControls
Microsoft.Office.Server.Search Microsoft.Search
Microsoft.Office.Server.Search Microsoft.Search.Administration.CommandLine
Microsoft.Office.Server.Search Microsoft.Search.Administration.Security
Microsoft.Office.Server.Search Microsoft.Search.Server
Microsoft.Office.Server.Search Microsoft.Search.Server.comadmin
Microsoft.Office.Server.Search Microsoft.Search.Upgrade
Microsoft.Office.Server.Search Microsoft.SharePoint.Portal.Search
Microsoft.Office.Server.Search Microsoft.SharePoint.Portal.Search.Admin.WebControls
Microsoft.Office.Server.Search Microsoft.SharePoint.Portal.WebControls
Microsoft.Office.Server.Search System.Collections.Generic
Microsoft.Office.Server.Search System.Diagnostics
Microsoft.Office.Server.Search System.Diagnostics.Events
Microsoft.Office.Server.Search Utilities
Microsoft.Office.Server.Search vc_attributes
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.ActivityFeed
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Administration
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Audience
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.CommandLine
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Infrastructure
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Security
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.SocialData
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Upgrade
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.UserProfiles
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.UserProfiles.Cache
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.UserProfiles.PowerShell
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.WebControls
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.WebControls.FieldTypes
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.WebControls.UserProfileHelper
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.Deployment
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.Publishing
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.SecureStoreSetCredentialsPages
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.TenantSecureStoreAdministration
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.WebControls
Microsoft.Office.Word.Server Microsoft.Office.Word.Server
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.AdminUI
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.Conversions
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.Powershell
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.Service
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.Service.Messages
Microsoft.Office.Workflow.Actions Microsoft.Office.Workflow
Microsoft.Office.Workflow.Actions Microsoft.Office.Workflow.Actions
Microsoft.Office.Workflow.Actions Microsoft.SharePoint.WorkflowUtil
Microsoft.Office.Workflow.Tasks Microsoft.Office.Workflow
Microsoft.Office.Workflow.Tasks Microsoft.Office.Workflow.Utility
Microsoft.Office.Workflow.Tasks Microsoft.SharePoint.WorkflowUtil
Microsoft.SharePoint Microsoft.BusinessData
Microsoft.SharePoint Microsoft.SharePoint
Microsoft.SharePoint Microsoft.SharePoint.Administration
Microsoft.SharePoint Microsoft.SharePoint.Administration.AccessControl
Microsoft.SharePoint Microsoft.SharePoint.Administration.Backup
Microsoft.SharePoint Microsoft.SharePoint.Administration.Claims
Microsoft.SharePoint Microsoft.SharePoint.Administration.Health
Microsoft.SharePoint Microsoft.SharePoint.ApplicationPages.Calendar
Microsoft.SharePoint Microsoft.SharePoint.ApplicationPages.Calendar.Exchange
Microsoft.SharePoint Microsoft.SharePoint.ApplicationPages.PickerQuery
Microsoft.SharePoint Microsoft.SharePoint.ApplicationPages.WebControls
Microsoft.SharePoint Microsoft.SharePoint.ApplicationRuntime
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard.MobileControls
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard.Utilities
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard.WebControls
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard.WebPartPages
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Administration
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Infrastructure
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Infrastructure.Collections
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Collections
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Constants
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Dynamic
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Static
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Static.DataAccess
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Offlining
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Parser
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Runtime
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SharedService
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SharedService.Structs.ExtensionMethods
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific.Db
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific.Wcf
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific.WebService
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Upgrade
Microsoft.SharePoint Microsoft.SharePoint.Calculation
Microsoft.SharePoint Microsoft.SharePoint.Client
Microsoft.SharePoint Microsoft.SharePoint.CoordinatedStreamBuffer
Microsoft.SharePoint Microsoft.SharePoint.Deployment
Microsoft.SharePoint Microsoft.SharePoint.Diagnostics
Microsoft.SharePoint Microsoft.SharePoint.Diagnostics.ULSEventTemplates
Microsoft.SharePoint Microsoft.SharePoint.DirectorySoap
Microsoft.SharePoint Microsoft.SharePoint.Dsp
Microsoft.SharePoint Microsoft.SharePoint.EmailIntegration
Microsoft.SharePoint Microsoft.SharePoint.Help
Microsoft.SharePoint Microsoft.SharePoint.Help.Constants
Microsoft.SharePoint Microsoft.SharePoint.Help.Search
Microsoft.SharePoint Microsoft.SharePoint.IdentityModel
Microsoft.SharePoint Microsoft.SharePoint.JSGrid
Microsoft.SharePoint Microsoft.SharePoint.JsonUtilities
Microsoft.SharePoint Microsoft.SharePoint.Library
Microsoft.SharePoint Microsoft.SharePoint.Meetings
Microsoft.SharePoint Microsoft.SharePoint.Metabase
Microsoft.SharePoint Microsoft.SharePoint.MobileControls
Microsoft.SharePoint Microsoft.SharePoint.MobileMessage
Microsoft.SharePoint Microsoft.SharePoint.Navigation
Microsoft.SharePoint Microsoft.SharePoint.RBSWrapper
Microsoft.SharePoint Microsoft.SharePoint.SoapServer
Microsoft.SharePoint Microsoft.SharePoint.StsAdmin
Microsoft.SharePoint Microsoft.SharePoint.Upgrade
Microsoft.SharePoint Microsoft.SharePoint.UserCode
Microsoft.SharePoint Microsoft.SharePoint.Utilities
Microsoft.SharePoint Microsoft.SharePoint.Utilities.Cab
Microsoft.SharePoint Microsoft.SharePoint.Utilities.SimpleParsers
Microsoft.SharePoint Microsoft.SharePoint.Utilities.SqlTrace
Microsoft.SharePoint Microsoft.SharePoint.Utilities.Syndication
Microsoft.SharePoint Microsoft.SharePoint.Utilities.ThemingParser
Microsoft.SharePoint Microsoft.SharePoint.Utilities.Win32
Microsoft.SharePoint Microsoft.SharePoint.WebControls
Microsoft.SharePoint Microsoft.SharePoint.WebPartPages
Microsoft.SharePoint Microsoft.SharePoint.WebPartPages.Communication
Microsoft.SharePoint Microsoft.SharePoint.Win32
Microsoft.SharePoint Microsoft.SharePoint.Workflow
Microsoft.SharePoint Microsoft.SharePoint.WorkflowUtil
Microsoft.SharePoint Microsoft.Xslt
Microsoft.SharePoint.Client Microsoft.SharePoint.Client
Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Utilities
Microsoft.SharePoint.Client Microsoft.SharePoint.Client.WebParts
Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Workflow
Microsoft.SharePoint.Client.Runtime Microsoft.SharePoint.Client
Microsoft.SharePoint.Client.Runtime Microsoft.SharePoint.Client.Application
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Administration
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Infrastructure
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Runtime
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Search
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.SharedService
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.SystemSpecific.Db
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.SystemSpecific.WebService
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Upgrade
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.WebService
Microsoft.SharePoint.Portal Microsoft.Office.Server.UserProfiles
Microsoft.SharePoint.Portal Microsoft.SharePoint.Cmdlet
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Administration
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Analytics
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Analytics.UI
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Audience.AdminUI
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.ClaimProviders
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Collections
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Diagnostics
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Infrastructure
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Integration
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Internal
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.MobileControls
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Search
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Search.PortalCrawl
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Search.PortalCrawl.SoapServer
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Security
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.ServerAdmin
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.SiteAdmin
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.SiteAdmin.General
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.SiteData
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.SiteDirectory
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Topology
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.UserProfiles
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.UserProfiles.AdminUI
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.WebControls
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.WebControls.Alerts
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.WebControls.UserProfileHelper
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.WebControls.WSRPWebService
Microsoft.SharePoint.Publishing Microsoft.Office.Server.Serialization
Microsoft.SharePoint.Publishing Microsoft.Office.Workflow.Templates
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Administration
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Administration.WebServices
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Cmdlet
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Design.WebControls
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Fields
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.Administration
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.CodeBehind
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.Converters
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.States
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.Upgrade
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.WebControls
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.Xml
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Navigation
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.WebControls
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.WebServices
Microsoft.SharePoint.Search <CppImplementationDetails>
Microsoft.SharePoint.Search <CrtImplementationDetails>
Microsoft.SharePoint.Search ATL
Microsoft.SharePoint.Search ATL.?HKeyFromString@CRegParser@ATL@@$$FKAPEAUHKEY__@@PEA_W@Z.__l2
Microsoft.SharePoint.Search ATL.?VTFromRegType@CRegParser@ATL@@$$FKAHPEB_WAEAG@Z.__l2
Microsoft.SharePoint.Search ATL._ATL_SAFE_ALLOCA_IMPL
Microsoft.SharePoint.Search ATL.<AtlImplementationDetails>
Microsoft.SharePoint.Search BihConsumerInterop
Microsoft.SharePoint.Search Define_the_symbol__ATL_MIXED
Microsoft.SharePoint.Search Inconsistent_definition_of_symbol__ATL_MIXED
Microsoft.SharePoint.Search Microsoft.Search
Microsoft.SharePoint.Search Microsoft.Search.Administration.CommandLine
Microsoft.SharePoint.Search Microsoft.Search.Administration.Security
Microsoft.SharePoint.Search Microsoft.Search.Upgrade
Microsoft.SharePoint.Search Microsoft.SharePoint.Search
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Administration
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Administration.CommandLine
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Administration.MSSITLB
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Cmdlet
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.PeopleSoapProxy
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SharePoint2001
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SharePoint2003
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SharePoint2006
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SharePointPortal2003
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SiteData
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SPSCrawl
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.UI
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.WebControls
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Query
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Query.LanguageResources
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Upgrade
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.WebControls
Microsoft.SharePoint.Search vc_attributes
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Commandlets
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Commandlets.Properties
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Commandlets.Schema
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Common
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Content
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Deployment
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Exceptions
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Keywords
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Linguistics
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Logging
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Schema
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Service
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Service.DTO
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Store
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Utils.Interceptor
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Utils.Proxy
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCF
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCFClient
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCFClient.Deployment
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCFClient.Linguistics
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCFClient.Store
….Search.Extended.Administration.Common Microsoft.SharePoint.Search.Extended.Administration
….Search.Extended.Administration.Common Microsoft.SharePoint.Search.Extended.Administration.Common
….Search.Extended.Administration.ResourceStorage Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage
….Search.Extended.Administration.ResourceStorage Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage.WebServerSpecifics
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Content.Util
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Http
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Navigation
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Query
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Result
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.View
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.View.Presentation
Microsoft.SharePoint.Security Microsoft.SharePoint.Security
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.Cmdlet
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.ContentTypeSync
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.ContentTypeSync.Internal
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.Generic
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.Internal
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.OM.CodeBehind
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.Upgrade
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.WebServices
Microsoft.SharePoint.WorkflowActions Microsoft.SharePoint.WorkflowActions
Microsoft.SharePoint.WorkflowActions Microsoft.SharePoint.WorkflowActions.WithKey
Microsoft.Web.CommandUI Microsoft.Web.CommandUI

 

Sorted by Namespace:

 

Assembly Namespace
Microsoft.Office.Server.Search <CppImplementationDetails>
Microsoft.SharePoint.Search <CppImplementationDetails>
Microsoft.Office.Server.Search <CrtImplementationDetails>
Microsoft.SharePoint.Search <CrtImplementationDetails>
Microsoft.Office.Server.Search ATL
Microsoft.SharePoint.Search ATL
Microsoft.Office.Server.Search ATL.?HKeyFromString@CRegParser@ATL@@$$FKAPEAUHKEY__@@PEA_W@Z.__l2
Microsoft.SharePoint.Search ATL.?HKeyFromString@CRegParser@ATL@@$$FKAPEAUHKEY__@@PEA_W@Z.__l2
Microsoft.Office.Server.Search ATL.?VTFromRegType@CRegParser@ATL@@$$FKAHPEB_WAEAG@Z.__l2
Microsoft.SharePoint.Search ATL.?VTFromRegType@CRegParser@ATL@@$$FKAHPEB_WAEAG@Z.__l2
Microsoft.Office.Server.Search ATL._ATL_SAFE_ALLOCA_IMPL
Microsoft.SharePoint.Search ATL._ATL_SAFE_ALLOCA_IMPL
Microsoft.Office.Server.Search ATL.<AtlImplementationDetails>
Microsoft.SharePoint.Search ATL.<AtlImplementationDetails>
Microsoft.Office.Server.Search BihConsumerInterop
Microsoft.SharePoint.Search BihConsumerInterop
Microsoft.Office.Server.Search Define_the_symbol__ATL_MIXED
Microsoft.SharePoint.Search Define_the_symbol__ATL_MIXED
Microsoft.Office.Server.Search FastSerialization
Microsoft.Office.Server.Search Inconsistent_definition_of_symbol__ATL_MIXED
Microsoft.SharePoint.Search Inconsistent_definition_of_symbol__ATL_MIXED
Microsoft.SharePoint Microsoft.BusinessData
Microsoft.BusinessData Microsoft.BusinessData.Infrastructure
Microsoft.BusinessData Microsoft.BusinessData.Infrastructure.Collections
Microsoft.BusinessData Microsoft.BusinessData.Infrastructure.SecureStore
Microsoft.BusinessData Microsoft.BusinessData.Infrastructure.Throttle
Microsoft.BusinessData Microsoft.BusinessData.MetadataModel
Microsoft.BusinessData Microsoft.BusinessData.MetadataModel.Collections
Microsoft.BusinessData Microsoft.BusinessData.Offlining
Microsoft.BusinessData Microsoft.BusinessData.Runtime
Microsoft.BusinessData Microsoft.BusinessData.SystemSpecific
Microsoft.BusinessData Microsoft.BusinessData.SystemSpecific.Wcf
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement
Microsoft.Office.Policy Microsoft.Office.DocumentManagement
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement.DocSite
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement.DocumentSets
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement.Internal
Microsoft.Office.DocumentManagement Microsoft.Office.DocumentManagement.MetadataNavigation
Microsoft.Office.Policy Microsoft.Office.DocumentManagement.Server
Microsoft.Office.Policy Microsoft.Office.DocumentManagement.WebControls
Microsoft.Office.Excel.Server.Udf Microsoft.Office.Excel.Server.Udf
Microsoft.Office.Excel.Server.WebServices Microsoft.Office.Excel.Server.WebServices
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.Controls
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.Holds
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.InformationPolicy
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.Internal
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.OfficialFileWSProxy
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.PolicyFeatures
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.RecordsRepository
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.RecordsRepository.Internal
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.Reporting
Microsoft.Office.Policy Microsoft.Office.RecordsManagement.SearchAndProcess
Microsoft.Office.SecureStoreService.Server.Security Microsoft.Office.SecureStoreService.Server.Security
Microsoft.Office.Server Microsoft.Office.Server
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.ActivityFeed
Microsoft.Office.Server Microsoft.Office.Server.Administration
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Administration
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Administration
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Infrastructure
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Runtime
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Search
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.SharedService
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.SystemSpecific.Db
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.SystemSpecific.WebService
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.Upgrade
Microsoft.SharePoint.Portal Microsoft.Office.Server.ApplicationRegistry.WebService
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Audience
Microsoft.Office.Server Microsoft.Office.Server.Auditing
Microsoft.Office.Server Microsoft.Office.Server.Cabinet
Microsoft.Office.Server Microsoft.Office.Server.CommandLine
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.CommandLine
Microsoft.Office.Server Microsoft.Office.Server.Data
Microsoft.Office.Server Microsoft.Office.Server.Diagnostics
Microsoft.Office.Server Microsoft.Office.Server.Diagnostics.ULSEventTemplates
Microsoft.Office.Policy Microsoft.Office.Server.DLC.Upgrade
Microsoft.Office.Server Microsoft.Office.Server.EvaluatorModeProvisioning
Microsoft.Office.Server Microsoft.Office.Server.Infrastructure
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Infrastructure
Microsoft.Office.Server Microsoft.Office.Server.Internal
Microsoft.Office.Server Microsoft.Office.Server.Internal.Resources
Microsoft.Office.Server Microsoft.Office.Server.Metabase
Microsoft.Office.Server Microsoft.Office.Server.Monitoring
Microsoft.Office.Server Microsoft.Office.Server.ObjectCache
Microsoft.Office.Server.Search Microsoft.Office.Server.Search
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.CommandLine
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.Health
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.MSSITLB
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.NotesWebServiceWrapper
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.Security
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Administration.TopologyExport
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Cmdlet
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Extended.Administration.Common
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Extended.Administration.Facade
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Extended.Administration.Internal.UI
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Extended.Query.Internal.UI
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Administration
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.PeopleSoapProxy
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2001
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2003
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2006
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SharePointPortal2003
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SiteData
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.Protocols.SPSCrawl
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.UI
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.UI.CentralAdmin
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Internal.UI.WebControls
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.MobileControls
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Monitoring
Microsoft.Office.Server Microsoft.Office.Server.Search.PortalCrawl
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Query
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Query.Common
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Query.Gateway
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Query.LanguageResources
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.Upgrade
Microsoft.Office.Server.Search Microsoft.Office.Server.Search.WebControls
Microsoft.Office.Server Microsoft.Office.Server.Security
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Security
Microsoft.SharePoint.Publishing Microsoft.Office.Server.Serialization
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.SocialData
Microsoft.Office.Server Microsoft.Office.Server.Upgrade
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.Upgrade
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.UserProfiles
Microsoft.SharePoint.Portal Microsoft.Office.Server.UserProfiles
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.UserProfiles.Cache
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.UserProfiles.PowerShell
Microsoft.Office.Server Microsoft.Office.Server.Utilities
Microsoft.Office.Server Microsoft.Office.Server.Utilities.Security
Microsoft.Office.Server Microsoft.Office.Server.Utilities.Win32
Microsoft.Office.DocumentManagement Microsoft.Office.Server.WebControls
Microsoft.Office.Server Microsoft.Office.Server.WebControls
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.WebControls
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.WebControls.FieldTypes
Microsoft.Office.Server.UserProfiles Microsoft.Office.Server.WebControls.UserProfileHelper
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.Deployment
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.Publishing
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.SecureStoreSetCredentialsPages
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.TenantSecureStoreAdministration
Microsoft.Office.SharePoint.ClientExtensions Microsoft.Office.SharePoint.ClientExtensions.WebControls
Microsoft.Office.Word.Server Microsoft.Office.Word.Server
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.AdminUI
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.Conversions
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.Powershell
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.Service
Microsoft.Office.Word.Server Microsoft.Office.Word.Server.Service.Messages
Microsoft.Office.Policy Microsoft.Office.Workflow
Microsoft.Office.Workflow.Actions Microsoft.Office.Workflow
Microsoft.Office.Workflow.Tasks Microsoft.Office.Workflow
Microsoft.Office.Workflow.Actions Microsoft.Office.Workflow.Actions
Microsoft.SharePoint.Publishing Microsoft.Office.Workflow.Templates
Microsoft.Office.Workflow.Tasks Microsoft.Office.Workflow.Utility
Microsoft.Office.Server.Search Microsoft.Search
Microsoft.SharePoint.Search Microsoft.Search
Microsoft.Office.Server.Search Microsoft.Search.Administration.CommandLine
Microsoft.SharePoint.Search Microsoft.Search.Administration.CommandLine
Microsoft.Office.Server.Search Microsoft.Search.Administration.Security
Microsoft.SharePoint.Search Microsoft.Search.Administration.Security
Microsoft.Office.Server.Search Microsoft.Search.Server
Microsoft.Office.Server.Search Microsoft.Search.Server.comadmin
Microsoft.Office.Server.Search Microsoft.Search.Upgrade
Microsoft.SharePoint.Search Microsoft.Search.Upgrade
Microsoft.SharePoint Microsoft.SharePoint
Microsoft.SharePoint Microsoft.SharePoint.Administration
Microsoft.SharePoint Microsoft.SharePoint.Administration.AccessControl
Microsoft.SharePoint Microsoft.SharePoint.Administration.Backup
Microsoft.SharePoint Microsoft.SharePoint.Administration.Claims
Microsoft.SharePoint Microsoft.SharePoint.Administration.Health
Microsoft.SharePoint Microsoft.SharePoint.ApplicationPages.Calendar
Microsoft.SharePoint Microsoft.SharePoint.ApplicationPages.Calendar.Exchange
Microsoft.SharePoint Microsoft.SharePoint.ApplicationPages.PickerQuery
Microsoft.SharePoint Microsoft.SharePoint.ApplicationPages.WebControls
Microsoft.SharePoint Microsoft.SharePoint.ApplicationRuntime
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard.MobileControls
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard.Utilities
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard.WebControls
Microsoft.SharePoint Microsoft.SharePoint.Applications.GroupBoard.WebPartPages
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Administration
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Infrastructure
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Infrastructure.Collections
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Collections
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Constants
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Dynamic
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Static
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.MetadataModel.Static.DataAccess
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Offlining
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Parser
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Runtime
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SharedService
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SharedService.Structs.ExtensionMethods
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific.Db
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific.Wcf
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.SystemSpecific.WebService
Microsoft.SharePoint Microsoft.SharePoint.BusinessData.Upgrade
Microsoft.SharePoint Microsoft.SharePoint.Calculation
Microsoft.SharePoint Microsoft.SharePoint.Client
Microsoft.SharePoint.Client Microsoft.SharePoint.Client
Microsoft.SharePoint.Client.Runtime Microsoft.SharePoint.Client
Microsoft.SharePoint.Client.Runtime Microsoft.SharePoint.Client.Application
Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Utilities
Microsoft.SharePoint.Client Microsoft.SharePoint.Client.WebParts
Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Workflow
Microsoft.SharePoint.Portal Microsoft.SharePoint.Cmdlet
Microsoft.SharePoint Microsoft.SharePoint.CoordinatedStreamBuffer
Microsoft.SharePoint Microsoft.SharePoint.Deployment
Microsoft.SharePoint Microsoft.SharePoint.Diagnostics
Microsoft.SharePoint Microsoft.SharePoint.Diagnostics.ULSEventTemplates
Microsoft.SharePoint Microsoft.SharePoint.DirectorySoap
Microsoft.SharePoint Microsoft.SharePoint.Dsp
Microsoft.SharePoint Microsoft.SharePoint.EmailIntegration
Microsoft.SharePoint Microsoft.SharePoint.Help
Microsoft.SharePoint Microsoft.SharePoint.Help.Constants
Microsoft.SharePoint Microsoft.SharePoint.Help.Search
Microsoft.SharePoint Microsoft.SharePoint.IdentityModel
Microsoft.SharePoint Microsoft.SharePoint.JSGrid
Microsoft.SharePoint Microsoft.SharePoint.JsonUtilities
Microsoft.SharePoint Microsoft.SharePoint.Library
Microsoft.SharePoint Microsoft.SharePoint.Meetings
Microsoft.SharePoint Microsoft.SharePoint.Metabase
Microsoft.SharePoint Microsoft.SharePoint.MobileControls
Microsoft.SharePoint Microsoft.SharePoint.MobileMessage
Microsoft.SharePoint Microsoft.SharePoint.Navigation
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Administration
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Analytics
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Analytics.UI
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Audience.AdminUI
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.ClaimProviders
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Collections
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Diagnostics
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Infrastructure
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Integration
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Internal
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.MobileControls
Microsoft.Office.Server.Search Microsoft.SharePoint.Portal.Search
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Search
Microsoft.Office.Server.Search Microsoft.SharePoint.Portal.Search.Admin.WebControls
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Search.PortalCrawl
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Search.PortalCrawl.SoapServer
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Security
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.ServerAdmin
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.SiteAdmin
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.SiteAdmin.General
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.SiteData
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.SiteDirectory
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.Topology
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.UserProfiles
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.UserProfiles.AdminUI
Microsoft.Office.Server.Search Microsoft.SharePoint.Portal.WebControls
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.WebControls
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.WebControls.Alerts
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.WebControls.UserProfileHelper
Microsoft.SharePoint.Portal Microsoft.SharePoint.Portal.WebControls.WSRPWebService
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Administration
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Administration.WebServices
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Cmdlet
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Design.WebControls
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Fields
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.Administration
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.CodeBehind
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.Converters
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.States
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.Upgrade
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.WebControls
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Internal.Xml
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.Navigation
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.WebControls
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions
Microsoft.SharePoint.Publishing Microsoft.SharePoint.Publishing.WebServices
Microsoft.SharePoint Microsoft.SharePoint.RBSWrapper
Microsoft.SharePoint.Search Microsoft.SharePoint.Search
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Administration
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Administration.CommandLine
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Administration.MSSITLB
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Cmdlet
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration
….Search.Extended.Administration.Common Microsoft.SharePoint.Search.Extended.Administration
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Commandlets
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Commandlets.Properties
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Commandlets.Schema
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Common
….Search.Extended.Administration.Common Microsoft.SharePoint.Search.Extended.Administration.Common
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Content
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Deployment
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Exceptions
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Keywords
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Linguistics
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Logging
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage
….Search.Extended.Administration.ResourceStorage Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage
….Search.Extended.Administration.ResourceStorage Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage.WebServerSpecifics
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Schema
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Service
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Service.DTO
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Store
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Utils.Interceptor
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Utils.Proxy
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCF
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCFClient
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCFClient.Deployment
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCFClient.Linguistics
Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.WCFClient.Store
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Content.Util
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Http
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Navigation
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Query
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.Result
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.View
Microsoft.SharePoint.Search.Extended.Query Microsoft.SharePoint.Search.Extended.Query.View.Presentation
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.PeopleSoapProxy
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SharePoint2001
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SharePoint2003
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SharePoint2006
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SharePointPortal2003
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SiteData
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.Protocols.SPSCrawl
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.UI
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Internal.WebControls
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Query
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Query.LanguageResources
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.Upgrade
Microsoft.SharePoint.Search Microsoft.SharePoint.Search.WebControls
Microsoft.SharePoint.Security Microsoft.SharePoint.Security
Microsoft.SharePoint Microsoft.SharePoint.SoapServer
Microsoft.SharePoint Microsoft.SharePoint.StsAdmin
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.Cmdlet
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.ContentTypeSync
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.ContentTypeSync.Internal
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.Generic
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.Internal
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.OM.CodeBehind
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.Upgrade
Microsoft.SharePoint.Taxonomy Microsoft.SharePoint.Taxonomy.WebServices
Microsoft.SharePoint Microsoft.SharePoint.Upgrade
Microsoft.SharePoint Microsoft.SharePoint.UserCode
Microsoft.SharePoint Microsoft.SharePoint.Utilities
Microsoft.SharePoint Microsoft.SharePoint.Utilities.Cab
Microsoft.SharePoint Microsoft.SharePoint.Utilities.SimpleParsers
Microsoft.SharePoint Microsoft.SharePoint.Utilities.SqlTrace
Microsoft.SharePoint Microsoft.SharePoint.Utilities.Syndication
Microsoft.SharePoint Microsoft.SharePoint.Utilities.ThemingParser
Microsoft.SharePoint Microsoft.SharePoint.Utilities.Win32
Microsoft.SharePoint Microsoft.SharePoint.WebControls
Microsoft.SharePoint Microsoft.SharePoint.WebPartPages
Microsoft.SharePoint Microsoft.SharePoint.WebPartPages.Communication
Microsoft.SharePoint Microsoft.SharePoint.Win32
Microsoft.SharePoint Microsoft.SharePoint.Workflow
Microsoft.SharePoint.WorkflowActions Microsoft.SharePoint.WorkflowActions
Microsoft.SharePoint.WorkflowActions Microsoft.SharePoint.WorkflowActions.WithKey
Microsoft.Office.Policy Microsoft.SharePoint.WorkflowUtil
Microsoft.Office.Workflow.Actions Microsoft.SharePoint.WorkflowUtil
Microsoft.Office.Workflow.Tasks Microsoft.SharePoint.WorkflowUtil
Microsoft.SharePoint Microsoft.SharePoint.WorkflowUtil
Microsoft.Web.CommandUI Microsoft.Web.CommandUI
Microsoft.SharePoint Microsoft.Xslt
Microsoft.Office.Server.Search System.Collections.Generic
Microsoft.Office.Server.Search System.Diagnostics
Microsoft.Office.Server.Search System.Diagnostics.Events
Microsoft.Office.Server.Search Utilities
Microsoft.Office.Server.Search vc_attributes
Microsoft.SharePoint.Search vc_attributes

1/13/2010

SharePoint 2010: A Walkthrough of Converting 2007 Code to 2010

 

While I was experimenting with Forms Based Authentication for SharePoint 2010 I found that 2010 is still missing any user administration tools for FBA users.  For SharePoint 2007 there is a project on CodePlex (http://fba.codeplex.com/) that is a good starting point for site level admin tools. The only problem is that as-is it will not work for SharePoint 2010. 

This project turned out to be a good demo of what you may need to do to convert code from 2007 to 2010.

 

The key conversion steps:

  • Update the referenced DLL from the 12.0.0.0 version to the 14.0.0.0 version of Windows.SharePoint assembly.
  • Update the references in all of the ASPX pages from 12.0.0.0 to 14.0.0.0
  • Replace the master page used in the ASPX files with the 2010 applicationV4.master.
  • Set Visual Studio to compile the project using Framework 3.5  (2007 used 2.0, or 3.0 for workflow work) and compile the code. Make sure you target 64 Bit or “Any CPU”!
  • Edit the files used to create the WSP  (the CAB file)
  • Edit the files used to deploy (to the 14 directories instead of the 12 directories)

 

  1. First setup a SharePoint 2010 application for FBA. 

    One way: http://techtrainingnotes.blogspot.com/2010/01/sharepoint-2010-forms-based.html
    You will need to setup both the membership and the role providers to support the codeplex project.

    Also, edit the XML for the membership provider and set requiresQuestionAndAnswer="false" as the codeplex project does not support that feature.
  2. Go to http://fba.codeplex.com/, click the Source Code tab and on the right under “Latest Version” click Download  (confirm that you have found a ZIP file and not a WSP file)
  3. Extract the ZIP file. You should get a folder named FBABasic that contains the project
  4. Open the project in Visual Studio 2010 and let it do the project conversion (and let it remove the source “control bindings”)
    (You could use VS 2005, VS 2008 or even Notepad if you wanted to)
  5. Change the Target Framework from 2.0 to 3.5  - Click the Project menu and select Properties
    (Studio will have to close and reopen the project)
  6. In the Solution Explorer remove the Microsoft.SharePoint reference (this is for the 12 version)
  7. Add a reference to Microsoft.SharePoint 14.0.0.0  (was listed as Windows SharePoint Services in the 12 version)
  8. Do a Find and Replace through all of the ASPX files and change 12.0.0.0 to 14.0.0.0
    (I found 5 per page, 35 total.)
  9. Do another Find and Replace through all of the ASPX files and change “application.master” to “applicationV4.master” to add the 2010 look and feel to the page.
  10. Edit the Deploy.cmd, DevDeploy and UnDeploy.cmd files and make two changes:
    - Change the path from \12\ to \14\
    - Change the sample URLs (“http://wssdev”) to your FBA test application (Mine was http://maxsp2010beta2:85)
  11. The project has two post build events.
    Note: I personally don’t like to use Build Actions as you can’t see if they succeed or fail. Instead I manually run package.cmd and deploy.cmd in a command window so can see all of the messages.
    1. Package.cmd creates the CAB/WSP file and needs MAKECAB.exe to run. Find makecab.exe (C:\Windows\System32\makecab.exe) and either copy it to the project directory or edit Package.cmd and add the path for makecab.exe.
    2. Deploy you have already edited, but check it again.
  12. Make sure you are targeting “Any CPU” (or x64) and then build the application.
  13. If you are not using the post-build events then manually run package.cmd and deploy.cmd.
    Don’t be concerned if the first run of the deploy.cmd file displays a lot of errors as it is trying to retract a solution that has not been deployed yet
  14. Launch your FBA test site, login and then go to Site Actions, Site Settings and see if “Manage FBA Users” and “Manage FBA Roles” is there.

    Note that you will either get errors, or find no users, if you try to access these pages from the Windows Authenticated application.
  15. Test, test, test…

 

Things to do…

  • Add error handling
  • Add support for “requiresQuestionAndAnswer” and other Membership provider features
  • Add detection for when the pages are displayed in a Windows Authenticated application.

 

.

1/12/2010

SharePoint 2010: RegistrationId List Template Type IDs

 

I have updated the Registration ID list to include 15 new SharePoint 2010 IDs and a few other general updates. See the complete list or IDs here:

http://techtrainingnotes.blogspot.com/2008/01/sharepoint-registrationid-list-template.html

 

New in 2010: (found so far…)  More details in the link above.

121 SolutionCatalog Solution Gallery  “Use the Solution Gallery to track user solutions.”
122 NoCodePublic No Code Public Workflows  (“wfpub” in the database AllLists table)
123 ThemeCatalog Theme Gallery “Use the theme gallery to store themes. The themes in this gallery can be used by this site or any of its subsites.”
398   Access Services Application Log
399   Access Services System Objects
402 Facility Resources  “Use the Resources list to document shared assets, such as cameras and vehicles. Users can reserve and track listed resources in Group Calendar.” (used in the new Group Work Site template)
403 Whereabouts Whereabouts  “Use this list to quickly and easily track the location of individuals throughout the day.” (used in the new Group Work Site template)
404 CallTrack Phone Call Memo  (used in the new Group Work Site template)
405 Circulation Circulations: “Use this list to inform team members and request confirmation stamps.”  (used in the new Group Work Site template)
420 Timecard  
421 Holidays  
499 IMEDic IME Dictionary (Input Method Editor: http://office.microsoft.com/en-us/powerpoint/HP030900551033.aspx)
600 ExternalList External List
1220 HealthRules used in Central Administration
1221 HealthReports used in Central Administration

 

851 is not new, but the new “Asset Library” in 2010 is of type 851

SharePoint 2010: Forms Based Authentication (without Claims!)

 

 

Note: The following is for SharePoint 2010 Beta 2 and does not work in the RC or RTM releases.  So this was an interesting exercise, but has no future value…

 

 

 

While searching the web to see if anything had changed with SharePoint 2010 authentication and how to setup Forms Based Authentication (FBA) all I was finding was how to setup up FBA using the new Claims Based approach. While interesting, I was just looking to accomplish what we have been doing all along in SharePoint 2007; create an application using Windows Authentication and then “Extend” it to create a second IIS application based on FBA.  Since I didn’t find what I was looking for, I went through all of the steps to basically do what we did in 2007, and found only a few differences.

 

 

First of all… if you have done this for SP 2007, then you already know most of the steps…

 

 

Setting up SharePoint 2010 for Forms Based Authentication

 

Overview:

  • Create a store for the user data (I’m using the ASP.Net default tables)
  • Create a Windows Authenticated application and a top level site.
  • Extend the application.
  • Edit the web.config of the extended application, and the web.config of Central Administration.
  • Add users
  • Test…

What has changed with2010?

  • You can do FBA with Claims Based authentication (but that’s not what I was looking for here)
  • With Claims Based you can do multiple types of authentication in a single application – no need to extend. (but you will then have only one IIS application and a single web.config. You may other reasons to want these to be separate.)
  • All of the screens in Central Administration  ;-)
  • Almost nothing else… (including the lack any FBA user maintenance screens)

 

Run ASPNET_REGSQL.exe to build the SQL tables for the user data.

You need to store your user names, passwords, etc somewhere. If you can created your own custom membership provider then you can store your data anywhere you like. If you are using the out of the box .Net membership provider then you can use one of the .Net tools to create the database and tables.

  1. Open a command prompt and navigate to the C:\windows\Microsoft.NET\Framework\v2.0.xxx directories or better if you have Visual Studio 20xx installed, go to Start, All Programs, Microsoft Visual Studio 20xx, Visual Studio Tools and Visual Studio Command Prompt (it already knows the path to the .Net tools).
  2. You could type ASPNET_REGSQL and press enter to run the wizard, but it create tables for features you are not using. Instead, supply the command prompt options.

    C:\> aspnet_regsql -S localhost\sharepoint -d aspnetdb -E -A m
      Start adding the following features:
      Membership
      ....
      Finished.

    This example uses
      Windows authentication:                                                      –E
      a SQL Server:                                                                         -S localhost\sharepoint
      to create a database named:                                             -d aspnetdb
      and in that database create the membership tables:   -A m
    Type aspnet_regsql /? for all options.
  3. If you are curious, launch your SQL tools and browse the database and tables just created.

 

Create the initial application:

For testing purposes you may want to create a new SharePoint Application and Site Collection from Central Administration.

  • This application will be created as an ordinary SharePoint application with Windows authentication (Classic Mode Authentication).  Do not enable anonymous.
  • The initial site owner for the site collection should be a Windows authenticated user (an administrator account will do for a test)

To extend or not extend?

You could just follow the steps below to change the application’s authentication from Windows to Forms, but Windows authenticated users, such as Search, would not be able to access the site! As an alternative you can Extend the SharePoint application by creating new IIS application that shares the SharePoint’s databases with the Windows authenticated application. This will create a new IIS application, a new folder (typically in INETPUB) and a new web.config. The last is the most important as the web.config is where we configure FBA.

To Extend an application:

  1. Go to Central Administration, click Application Management and click your existing application. (In my example, SharePoint – 83)
    image
  2. Click the Extend button in the Ribbon.
    1. Enter a name, and if needed, a port number or host header  (If this is for an internet facing application then you will probably use port 80 and a host header)
    2. Click Yes under Allow Anonymous. (This does not allow anonymous access to sites, pages or lists yet, that has to be enabled in the sites. This can also be done later.)
    3. Note that for authentication you can only choose Negotiate (Kerberos) or NTLM, not FBA. You will do this later. 
    4. Pick a Zone. Note the Default is missing from the list. (The actual zone choice is not important as they could have just been called Zone 1, Zone  2, etc.)
      image
    5. When you click OK the new application will be created. You can see that they are both sharing the same SharePoint databases by navigating to both of the application URLs. In my case:
         http://maxsp2010beta2:83/SitePages/Home.aspx
         http://maxsp2010beta2:84/SitePages/Home.aspx 

      The only difference between the two so far are the port numbers and the second allows anonymous access.

      Note that this extended application is not listed with the other applications in Central Administration as it an alternate access to an existing application, not a standalone application. In the screen below you just see “SharePoint – 83”.
      image

      You can see both applications in IIS. To see the extended application in SharePoint select “Authentication Providers” in the Ribbon:
      image
      The extended application is the “Internet” Zone. (The zone you picked)
    6. Click your zone (Internet in this example)

      You will return here later to configure Forms authentication, but first you need to configure a Membership provider in the web.config of the extended application and create a database to store your user tables.

Now update the extended application’s web.config

You need to define a membership provider. The steps here show you how to copy one from the machine.config.file.

Make sure you are editing the Extended application’s web.config! In my example it would be SharePoint – 84, not SharePoint – 83.

  1. Open the web.config in your favorite XML editor (Notepad, Visual Studio, etc)
  2. Open the machine.config file to do some copy and paste work
      C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config
    (Why not the configs in 4.0?  SharePoint 2010 is a 3.5 application and 3.5 is built on top of 2.0)
  3. Microsoft added default entries for the membership provider and for a SQL connection string in machine.config. You copy and edit these for your own use.  Find the <membership> section, copy it and paste it into your application’s <system.web> section.

    Two changes: I used a new name for the provider: MyAspNetSqlMembershipProvider and I set a default provider using the new name.
      <system.web>
        <membership defaultProvider="MyAspNetSqlMembershipProvider">
          <providers>
            <clear />
            <add name="MyAspNetSqlMembershipProvider" 
                 type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
                 connectionStringName="aspnetdb" 
                 enablePasswordRetrieval="false" 
                 enablePasswordReset="true" 
                 requiresQuestionAndAnswer="true" 
                 applicationName="/" 
                 requiresUniqueEmail="false" 
                 passwordFormat="Hashed" 
                 maxInvalidPasswordAttempts="5" 
                 minRequiredPasswordLength="7" 
                 minRequiredNonalphanumericCharacters="1" 
                 passwordAttemptWindow="10" 
                 passwordStrengthRegularExpression="" />
          </providers>
        </membership>
    <
    roleManager enabled="true"> <providers> <add name="MyAspNetSqlRoleProvider" connectionStringName="aspnetdb" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </providers> </roleManager>


    See here for more info: http://msdn.microsoft.com/en-us/library/system.web.security.membership.aspx
    (Notice that there is no mention of SharePoint there. This is a .Net feature.)

    See here for details on the properties: http://msdn.microsoft.com/en-us/library/system.web.security.membership_members.aspx

  4. Note the connectionStringProperty described above. LocalSqlServer is also defined in machine.config and needs to be changed or overwritten as the default points to a SQL Express database, and you created your own database and tables above. I changed it the machine.config’s LocalSqlServer to my own aspnetdb and added a <connectionStrings> section to the application’s web.config.
    Note that this the connection string to your database.

    <connectionStrings>
       
    <add name="aspnetdb
                  connectionString="Data Source=MAXSP2010Beta2\sharepoint;Initial Catalog=aspnetdb;Integrated Security=True"
                  providerName="System.Data.SqlClient" />
    </
    connectionStrings>

    Note: the Role manager is optional, but if you what the equivalent to Windows Groups then also add the Role manager to the web.config.

  5. Now find this following line and edit it (or copy and paste it back as a new line) using your membership provider’s name:
    Copy:

       <add key="AspNetSqlMembershipProvider" value="%" />
    and paste back as:
       <add key="MyAspNetSqlMembershipProvider" value="%" />

  6. Save the config file.
  7. Display the site from both the original and the extended URLs and make sure you have not broken anything while editing the web.config.

 

Turn on FBA and tell SharePoint to use your membership provider…

  1. Return to Central Administration and in the Application Management section click your SharePoint application.
    image 

    Click “Authentication Providers” in the Ribbon:
    image
    The extended application is the zone you picked.
  2. Click your zone (Internet in this example)

  3. In the Authentication section click Forms.
    image

    Notice that the form is redrawn with new options and that “Client Integration” has been disabled. Microsoft Office prior to Office 2007 SP2 did not “play nice” with SharePoint when using FBA. (Office did not understand cookies prior to SP2)
  4. Enter the name of your Membership provider exactly as it is listed in your web.config.
    image 
    Note: the Role manager is optional, but if you what the equivalent to Windows Groups then also add the Role manager to the web.config and to this page.
  5. Click Save

    Central Admin just changed your web.config (as it often does).

    This was the authentication section for Windows before turning on FBA:
         <authentication mode="Windows" />  
    and here is the after:
         <authentication mode="Forms">
           <forms loginUrl="/_layouts/login.aspx" />
         </authentication>

    Now you have a SharePoint application with two “Doors”. One door is secured using Windows authentication and the other by forms with data stored in SQL Server (or where ever your Membership provides stores user data)

You are not done yet!

Your initial application still works for Windows authenticated users, but the second now has a locked door! If you visit the site with the extended URL you will just get a login form. Now you know why it is called “Forms” based authentication. And you can also now see why anonymous was needed… so users can visit at least one page unauthenticated, this form, so they can login.

image

 

So what have we done so far…

  • Created a database in SQL Server to work with the default .Net membership provider to store user login data.
  • Created an application that uses Windows authentication so we can do inside the firewall administration and so other tools, like Search, can access the site.
  • Extended this application so we can have to web.config files (among other things) to configure Anonymous access, Membership providers and other things.
  • Enabled FBA

Add your first FBA user

You now need to add a user for your site. While SharePoint did provide a login page (/_layouts/login.aspx) it does not provide FBA user administration fools. You can look to sources like codeplex.com or write your own. (The current FBA codeplex project is for 2007 and does not work “as-is” in 2010. You can down load it and change the references to 2010 and it does work.)

IIS 7.0 does have limited tools to add FBA users. Visual Studio also has Web Site manager that can be used to add users.

  1. Launch IIS: Start, Administration Tools, Internet Information Services (ISS) Manager
  2. Click the extended application (SharePoint –84 – FBA in this example).
    image
  3. Double-click .Net Users image
  4. In the Actions section click “Set Default Provider” and select the provider name you used in your web.config edits.
  5. In the Actions section click New and add a user!  Add at least one user to serve as the Site Collection Owner. Add a few test accounts while you are at it.
    image

    Note that the password rules enforced here (length, strength) are defined in the membership provider in the web.config.

Fix up Central Administration

You now have an FBA application and a user, but no way to enter the user. Central Administration does not know about your membership provider, yet…

You need to duplicate the membership provider and connection string sections in Central Administration’s web.config file, but we are not going to make Central Admin an FBA application. Much of what you do here will be the same as the extended application.

  1. Open the web.config for Central Administration (The inetpub folder will probably be the port number of Central Admin)
    image
  2. Add the connection string, membership provider and optional role provider sections:

      <connectionStrings>
        <
    addname="aspnetdb"
             connectionString="Data Source=MAXSP2010Beta2\sharepoint;Initial Catalog=aspnetdb;Integrated Security=True"
             providerName="System.Data.SqlClient" />
      </
    connectionStrings>

      <
    system.web>

        <
    membershipdefaultProvider="MyAspNetSqlMembershipProvider">
          <
    providers>
            <
    clear/>
            <
    add name="MyAspNetSqlMembershipProvider"
                 type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
                 connectionStringName="aspnetdb"
                 enablePasswordRetrieval="false"
                 enablePasswordReset="true"
                 requiresQuestionAndAnswer="true"
                 applicationName="/" requiresUniqueEmail="false"
                 passwordFormat="Hashed" maxInvalidPasswordAttempts="5"
                 minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1"
                 passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
          </
    providers>
        </
    membership>

        <
    roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider">
          <
    providers>
            <
    add name="MyAspNetSqlRoleProvider" connectionStringName="aspnetdb"
                 applicationName="/"
                 type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
                 />
          </
    providers>
        </
    roleManager>

  3. Now find this following line and copy and paste it using your membership provider’s name:

    <add key="AspNetSqlMembershipProvider" value="%" />

  4. Now you should be able to use Central Administration to add an FBA user as a Site Collection Administrator:
    1. Go to Central Administration and click Application Management and then “Change site collection administrators”
    2. Add the FBA account, either as the Primary or Secondary.

 

Interesting footnotes…

  • A new FBA user can only be added to the site from a logged on FBA user. A new Windows news can only be added by a logged in Windows user. Once a user had been added to a site from either side, the user can be added elsewhere (task lists, other permissions, etc) by users of either type.
    • FBA authenticated admin/user click the Browse button on Assign To field in a task list and does a search… they can find all users in the FBA store and only Windows users how already have some type of access to the site.
    • Windows authenticated admin/user click the Browse button on Assign To field in a task list and does a search… they can find all users in Windows/AD and only FBA users how already have some type of access to the site.

 

Other things you need to research…

  • FBA (2007 and 2010) remote application access has interesting issues with / depends on Cookies so Office (and other application) integration (much better with Office 2007 SP2) may not work, or keep prompting users for credentials.
  • SharePoint (still) does not include user administration tools: add user, edit user, change user password, etc.  There is a codeplex.com project for 2007 that you can update for 2010.

 

 

Did I missing anything?  Leave a comment!

 

.

1/09/2010

SharePoint: Permission Levels, SPBasePermissions and PermissionMask

 

This is a list of SharePoint 2007 and 2010 permissions and related notes (mostly for my own use :-)  ).

 

SharePoint users/groups are granted access to SharePoint objects by being assigned one or more Permission Levels (Roles in the API). Permission Levels are created from individual Site, List and Personal permissions represented as a 64 bit bitmap known in the object model as a PermissionMask property.

SharePoint 2007 and 2010 include 33 permissions, plus two additional not in the UI: EmptyMask and FullMask. Note the the definition of FullMask can change!  See here: http://www.cjvandyk.com/blog/Lists/Posts/Post.aspx?List=744536f4%2D127e%2D4c4a%2Dbcff%2Db85408e7e7e5&ID=225

 

API notes:

  Permission Level = Role       myuser.Roles.Count     mygroup.Roles.Count

foreach ( SPRole role in mygroup.Roles)
     {
          Console.Write(" Role: " + role.Name);
      }

  Permission test:

if (web.DoesUserHavePermissions(user.LoginName,SPBasePermissions.DeleteListItems)
   {    }

  Permission levels are OR’d ( “|” in C#), so user gets all permissions for all levels assigned to them.
  (and there is no “Deny”)

 

  Two other places to find user related info:

     Owners:
       site.SecondaryContact.Name
       site.SystemAccount.Name

    Site Collection Administrators:
       user.IsSiteAdmin

 

 

Permission Levels, SPBasePermissions, PermissionMask bit, and default assignments

 

enum = order of item in the enumeration of  SPBasePermissions

Enum Name = Enumeration name (SPBasePermissions.ManageLists)

bit = bit position SPRole.PermissionMask

Group = Group name in  the “Edit Permission Level” page  (_layouts/editrole.aspx)

Name in Browser = name in  the “Edit Permission Level” page  (_layouts/editrole.aspx)

R = included in the default Read permission level and the “sitename Reader” group

C = included in the default Contribute permission level and the “sitename Members” group

D = included in the default Design permission level (no default group)

FC = included in the default Full Control permission level and the “sitename Owner” group

The View permission level is the same as Read, except it is missing Open Items.

 

enum bit Group Enum Name Name in browser Description R C D FC
12 12 List ManageLists Manage Lists Create and delete lists, add or remove columns in a list, and add or remove public views of a list.       X
10 9 List CancelCheckout Override Checkout Discard or check in a document which is checked out to another user.     X X
3 2 List AddListItems Add Items Add items to lists, add documents to document libraries, and add Web discussion comments.   X X X
4 3 List EditListItems Edit Items Edit items in lists, edit documents in document libraries, edit Web discussion comments in documents, and customize Web Part Pages in document libraries.   X X X
5 4 List DeleteListItems Delete Items Delete items from a list, documents from a document library, and Web discussion comments in documents.   X X X
2 1 List ViewListItems View Items View items in lists, documents in document libraries, and view Web discussion comments. X X X X
6 5 List ApproveItems Approve Items Approve a minor version of a list item or document.     X X
7 6 List OpenItems Open Items View the source of documents with server-side file handlers. X X X X
8 7 List ViewVersions View Versions View past versions of a list item or document. X X X X
9 8 List DeleteVersions Delete Versions Delete past versions of a list item or document.   X X X
32 40 List CreateAlerts Create Alerts Create e-mail alerts. X X X X
13 13 List ViewFormPages View Application Pages View forms, views, and application pages, and enumerate lists. X X X X
23 26 Site ManagePermissions Manage Permissions Create and change permission levels on the Web site and assign permissions to users and groups.       X
19 22 Site ViewUsageData View Usage Data View reports on Web site usage.       X
21 24 Site ManageSubwebs Create Subsite Create subsites such as team sites, Meeting Workspace sites, and Document Workspace sites.        X
28 31 Site ManageWeb Manage Web Site Grant the ability to perform all administration tasks for the Web site as well as manage content. Activate, deactivate, or edit properties of Web site scoped Features through the object model or through the user interface (UI). When granted on the root Web site of a site collection, activate, deactivate, or edit properties of site collection scoped Features through the object model. To browse to the Site Collection Features page and activate or deactivate site collection scoped Features through the UI, you must be a site collection administrator.       X
16 19 Site AddAndCustomizePages Add and Customize Pages Add, change, or delete HTML pages or Web Part Pages, and edit the Web site using a Windows SharePoint Services–compatible editor.     X X
17 20 Site ApplyThemeAndBorder Apply Theme and Border Apply a theme or borders to the entire Web site.     X X
18 21 Site ApplyStyleSheets Apply Style Sheets Apply a style sheet (.css file) to the Web site.     X X
22 25 Site CreateGroups Create Groups Create a group of users that can be used anywhere within the site collection.       X
24 27 Site BrowseDirectories Browse Directories Enumerate files and folders in a Web site using Microsoft Office SharePoint Designer 2007 and WebDAV interfaces.   X X X
20 23 Site CreateSSCSite Use Self-Service Site Creation Create a Web site using Self-Service Site Creation.        
15 18 Site ViewPages View Pages View pages in a Web site. X X X X
34 63 Site EnumeratePermissions Enumerate Permissions Enumerate permissions on the Web site, list, folder, document, or list item.       X
25 28 Site BrowseUserInfo Browse User Information View information about users of the Web site. X X X X
31 39 Site ManageAlerts Manage Alerts Manage alerts for all users of the Web site.       X
30 38 Site UseRemoteAPIs Use Remote Interfaes Use SOAP, WebDAV, or Microsoft Office SharePoint Designer 2007 interfaces to access the Web site. X X X X
29 37 Site UseClientIntegration Use Client Integration Features Use features that launch client applications; otherwise, users must work on documents locally and upload changes.  X X X X
14 17 Site Open Open Allow users to open a Web site, list, or folder to access items inside that container. X X X X
33 41 Site EditMyUserInfo Edit Personal User Information Allows a user to change his or her user information, such as adding a picture.   X X X
11 10 Personal ManagePersonalViews Manage Personal Views Create, change, and delete personal views of lists.   X X X
26 29 Personal AddDelPrivateWebParts Add/Remove Personal Web Parts Add or remove personal Web Parts on a Web Part Page.   X X X
27 30 Personal UpdatePersonalWebParts Update Personal Web Parts Update Web Parts to display personalized information.   X X X
                   
1 0   EmptyMask EmptyMask Has no permissions on the Web site. Not available through the user interface.        
35 1   FullMask FullMask Has all permissions on the Web site. Not available through the user interface.        

.

1/06/2010

Enumerate an enumeration!

 

A quick way to find all of the values of an enumeration (that Microsoft may have not completely documented).

System.Enum.GetNames returns an array of strings with the names

System.Enum.Parse looks up the numeric value using the string name

 

This example lists the value of a SharePoint enumeration named SpBasePermissions:

 

C# example:

//show name, decimal and hex
foreach (string enumName in Enum.GetNames(typeof(SPBasePermissions)))
{
    Console.WriteLine(String.Format("Item: {0,-25} Value: {1,20} {1,20:X}",
        enumName, (ulong)Enum.Parse(typeof(SPBasePermissions), enumName)));
}

 

VB.Net example:

For Each enumName As String In [Enum].GetNames(GetType(SPBasePermissions))
    Console.WriteLine(String.Format("Item: {0,-23} Value: {1,20:D} {1,20:X}", _
        enumName, [Enum].Parse(GetType(SPBasePermissions), enumName)))
Next

 

Result:

image

1/01/2010

SharePoint: Exploring SharePoint CMP Export Files (and a demo application)

 

I found the missing files! I've uploaded them to GitHub. See "Downloads" below. (These are the original files, unmodified since 2010.)


Nearly two years ago I wrote another blog on this topic and referred to a little application I had written to explore a CMP file that could also extract individual files from the CMP. Shortly after that, and before I could upload the app, the hard disk in my laptop died. I recovered most of the content of the drive, but had thought I had lost my Visual Studio directories. Guess what! I revisited that drive (I never throw things away…) looking for some old pictures and I found the missing app!

 

First go read the original article: Exploring SharePoint CMP Export Files. There you can see what’s in a CMP and how to manually extract the files.

 

To help understand the CMP Manifest file I wrote a small .Net program to list the SPObject elements and a handful of attributes from each one.


image

The first step is to open the CAB file and extract the Manifest.xml file. As I have always been amazed at the features found in the .Net libraries, I figured I would find a CAB extractor library in the Framework. Turns out there was one in the one of the Betas, there is not there now. (There is a Zip library though!) So I ended up using the CAB extractor found in Windows, extrac32.exe. (For details type “extrac32 /? | more” at the command prompt.) So within the app I used System.Diagnostics.Process to run extrac32 to extract the files. The Manifest.xml file is then loaded into an XmlDocument object, parsed into a DataTable and then displayed in a GridView.

The List Content button extracts the manifest.xml file from the CMP file and then extracts some of the descriptive content of the manifest file to display a fair amount of detail in the GridView. The manifest documents EVERYTHING about the site, so I added some checkboxes to filter the display.

  • Files Only – well… only displays manifest entries about files (including ASPX, master pages, and other non-content files)
  • Exclude ASPX – hides ASPX files (in the next update I’ll have it hide all non-content files)
  • Include List Items – I hid list content as a default as most of the interesting stuff is in the XML and is different for each list type. If you check this box then all list items are added to the grid. You can check scroll to the right and click in the XML column to see the full XML description of the list item.

Extract All Files extracts all of the files, then renames them and puts them into a SharePoint-like directory structure. Note that this example has three subsites in the backup.

             image

The extracted files are where you would expect them to be, Shared Documents in this example, and still have their correct Date Modified:

image

 

Extract Selected extracts individual files to any location you pick. To select a file click the “selectors” at the left of each row. To select multiple files use the normal click, shift-click, ctrl-click techniques.

            image

 

Downloads:

https://github.com/microsmith/SharePointBackupCMPExplorer

 

 

Downloads

I will probably most this into CodePlex.com, but for now you can download it from here:

  EXE only:   download  (9k)

  Project zip:  download  (107k)

 

.

12/29/2009

SharePoint: Add a “You are leaving this site” message to a links list.

 

This article is a variation of “http://techtrainingnotes.blogspot.com/2009/07/sharepoint-adding-popups-to-link-lists.html” and makes just one small change:

Replace:

links[i].target="_blank“

With:

links[i].onclick=function () {alert('you are now leaving this site')}

 

The links list web part is a quick and easy to add a list of links to vendors, other SharePoint sites or the most popular documents in a library. The problem is that the links list web part does warn users that they are about to leave your site (and you may have a legal reason to tell them so).

A typical links list:

            image

To change a links list to display an exit message:

  • Add a Content Editor Web Part (CEWP) just below the links list web part
  • Modify the CEWP and set a title then click Source Editor
  • Copy and paste the HTML and JavaScript below
  • Edit the JavaScript to change the word “Links” to the name of your links list web part (title of the web part, not the title of the actual list, although they may be the same)
    if (x(i).summary=="Links")     to
    if (x(i).summary=="Your Links List Title")
    (If you are not sure, display your page, select Source from the View menu and search for “.summary”)
  • Also… in the Advanced section of the CEWP’s properties change Chrome to “None” to hide the CEWP
  • Exit the edit mode and see if it works

 

<script>
// CEWP trick from techtrainingnotes.blogspot.com!
// Find the link list  (change "Links" to your web part's name)
var x = document.getElementsByTagName("TABLE") // find all of the Tables 
  var LinkList
  var i=0;
  for (i=0;i<x.length;i++) 
  {
    if (x[i].summary=="Links")
    {
      //
      LinkList = x[i];
      break;
     } 
  }

// add a target to the <A> tags
var links = LinkList.getElementsByTagName("A") // find all of the 
  for (i=0;i<links.length;i++) 
  {
    links[i].onclick=function () {alert('you are now leaving this site')}
  }
</script>

 

 

.

12/23/2009

SharePoint: Wiki Search and Replace

 

Note: The following works in both SharePoint 2007 and 2010. Just be aware that the 2010 “Site Pages” library is also a wiki library!

 

Recently I was asked about how to do a search and replace on text in all of the articles in a wiki. As there is no built-in way to do this I wrote a simple web page to do this.

Note that the example below is trivial and:

  • Is presented as a learning exercise
  • Does not include a master page
  • Must be deployed to the Layouts folder of the web servers
  • Is case sensitive
  • Is over all not too flexible… but it is presented to get you started on your own nice looking page…
Background:
  • A wiki is a library (and a library is just a fancy list)
  • The content displayed in a wiki is stored in a column of the library named “WikiField” (creative huh!)
  • Accessing a list and updating data via the SharePoint API is pretty easy
What you could do to make this better:
  • Just about anything…  ;-)
  • Add support for “Ignore Case”
  • Add a checkbox list of what was found and let the user decide to replace or not
  • Add the application master page and make this look like SharePoint
  • Write it as a little Windows application that calls the SharePoint web services so nothing has to be deployed to the web servers

Here’s what the page looks like:
image

To create this you will need to create a web page (ASPX) and a code behind file and copy them to the LAYOUTS folder on the web front end servers. You will then access the page by going to the site with the wiki(s) and navigating to the new page:
   http://yourserver/sites/yoursite/_layouts/WikiSearchReplace.aspx

 

What’s the <SharePoint:FormDigest runat="server" /> about? See here.

The ASPX page:  (WikiSearchReplace.aspx)

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WikiSearchReplace.aspx.cs"
  Inherits="WikiSearchReplace" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
  Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title>Untitled Page</title>
</head>
<body>
  <form id="form1" runat="server">
    <SharePoint:FormDigest runat="server" />
    <div>
      Wiki Libraries:
      <asp:DropDownList ID="ddlWikis" runat="server">
      </asp:DropDownList><br />
      <br />
      <table>
        <tr>
          <td>
            Find what:</td>
          <td>
            <asp:TextBox ID="txtFind" runat="server" /></td>
        </tr>
        <tr>
          <td>
            Replace with:</td>
          <td>
            <asp:TextBox ID="txtReplace" runat="server" /></td>
        </tr>
      </table>
      <asp:Button ID="btnReplace" runat="server" Text="Replace" OnClick="btnReplace_Click" />
      <br />
      <asp:Label ID="lblResults" runat="server" />
    </div>
  </form>
</body>
</html>

and here’s the code behind: (WikiSearchReplace.aspx.cs)
using System;
using System.Web;
using Microsoft.SharePoint;

public partial class WikiSearchReplace : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        // Get a list of all WIKIs in the site and add to the dropdown
        // WIKI = SPListTemplateType.WebPageLibrary
        if (!IsPostBack)
        {
            SPWeb web = SPContext.Current.Web;
            foreach (SPList lst in web.Lists)
            {
                if (lst.BaseTemplate == SPListTemplateType.WebPageLibrary)
                {
                    ddlWikis.Items.Add(lst.Title);
                }
            }
        }
    }

    protected void btnReplace_Click(object sender, EventArgs e)
    {
        // Get the current site
        using (SPWeb web = SPContext.Current.Web)
        {
            SPList list = web.Lists[ddlWikis.SelectedItem.ToString()];

            int articleCount = 0;
            int occurrenceCount = 0;
            string wikiText = "";

            foreach (SPListItem wikiItem in list.Items)
            {
                wikiText = wikiItem["WikiField"].ToString();
                if (wikiText.Contains(txtFind.Text))
                {
                    articleCount++;

                    // a trick to get the word cound
                    int count = (wikiText.Length - wikiText.Replace(txtFind.Text, "").Length) / txtFind.Text.Length;
                    occurrenceCount += count;

                    wikiItem["WikiField"] = wikiText.Replace(txtFind.Text, txtReplace.Text);
                    wikiItem.Update();
                }
            }
            lblResults.Text = articleCount.ToString() + " articles updated, " + occurrenceCount.ToString() + " occurrences updated";
        }
    }
}

Note to spammers!

Spammers, don't waste your time... all posts are moderated. If your comment includes unrelated links, is advertising, or just pure spam, it will never be seen.