As an application prototype system, SharePoint provides many powerful application and management functions. However, in actual applications, these original functions cannot meet users' needs. Therefore, SharePoint also provides a complete set of object models as underlying interfaces for secondary development.
Windows SharePoint Services (WSS), as the basic part of SharePoint Portal Server (SPS), is the most widely used system in the development process. Therefore, at the beginning of the development part of this book, we will use a chapter to introduce the WSS object model system and some simple applications.
WSS provides a complete set of object model systems, covering the entire Web server (SPWebServer class), the version information of a file (SPFileVersion class), and website settings, can be accessed or modified through the WSS object model. In addition, to make up for some shortcomings of the. NET class library in this environment, some common functions are also provided in SharePoint, which are encapsulated in Microsoft. SharePoint. Utilities namespace.
By using the SharePoint object model, almost all functions can be completed, but in some cases, due to the limitations of SharePoint itself (such as strict permission control ), some functions are hard to complete or even unable to be completed by using only the object model. Therefore, when considering user requirements and design solutions, we should also consider the difficulty of implementation as much as possible.
In the WSS object model system, the following namespaces are provided ):
· Microsoft. HtmlTrans. Interface
Provides an interface to display some files in the Document Library to the client in the form of Html, so that you can view these files when the client does not install the corresponding file browsing software;
· Microsoft. SharePoint
This namespace is the most commonly used namespace. It provides basic object models for website content in WSS, such as websites, lists, files, and users, this chapter also focuses on this namespace;
· Microsoft. SharePoint. Administration
This namespace mainly provides WSS website management and parameter settings <