Question - Explain the following: a.) SPSite b.) SPWeb
Answer -
a.) SPSite -
i.)It is a site collection and an be represented as SPSite class in the object model.
ii.)SPSite object is a primary entry points to the server object model.
iii.)It is used frequently in SharePoint application development.
b.) SPWeb -
i.) It is a specific site under site collection in Sharepoint.
ii.) It is represented as SPWeb class in the server object model.