Locating application files on the SharePoint server

Deployment of a SharePoint application affects files in several locations on the server.

File locations

The SharePoint hosting web application is located in the VirtualDirectories folder, e.g.:

C:\Inetpub\wwwroot\wss\VirtualDirectories\34318

 

Location

Contents

~\bin

all application dlls:
MyApp.dll, MyApp.Business.dll, MyApp.Data.dll, AjaxControlToolkit.dll, MyAppBaseClasses.dll, CarlosAg.ExcelXmlWriter.dll, Ciloci.Flee.dll, FredCK.FCKeditorV2.dll, MySql.Data.dll, Report.dll

~\App_Themes

Iron Speed Designer creates a subfolder for each theme name, e.g., MyAppInherited, containing the BaseStyles.css and Styles.css style sheet files.

~\App_GlobalResources

Resource files such as MyApp.resx, MyAppBaseClasses.resx, MyApp.en-US.resx, MyAppBaseClasses.en-US.resx, etc.

SharePoint site content

The full application is copied into the Layouts folder, e.g.:

SharePoint 2010:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\MyApp3

SharePoint 2007:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\MyApp3

SharePoint permissions configuration files

The SharePoint trust (permissions) configuration files are located in the “config” subfolder of the “12” or “14” hive, e.g.:

SharePoint 2010:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\config\wss_mediumtrust.config

SharePoint 2007:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\config\wss_mediumtrust.config

Modifications made to the Hosting application’s Web.config file

Iron Speed Designer modifies your application’s ~\web.config file to:

Your application’s Web.config file is modified using the WebConfigModifications class of SharePoint so that all modifications are tracked and managed by SharePoint.  Thus, a .bak backup file is being created (e.g., web_2010_02_10_14_09_33.bak).

Modifications made to the Medium trust configuration file

Iron Speed Designer modifies the FileIOPermission class to allow path discovery inside the deployed application.

See Also

Locating application files on the SharePoint server

Changing Code Access Security (CAS)

Adding navigation to your application

Uninstalling (retracting) a SharePoint solution

Using Microsoft Access databases in SharePoint applications

SharePoint master page options