| Path Relative to Sharepoint Root Directory | Template File Types |
| /ISAPI | Web Services (.svc, .ashx, .asmx) |
| /Resources | Resource Files (.resx) |
| /TEMPLATE/ADMIN | Application pages exclusively used in CA |
| /TEMPLATE/CONTROLTEMPLATES | ASP.NET User Controls (.ascx) |
| /TEMPLATE/FEAUTURES | Feauture Definition (.xml) |
| /TEMPLATE/IMAGES | Images (.gif, .jpg & .png) |
| /TEMPLATE/LAYOUTS | Application Pages (.aspx) |
| /TEMPLATE/LAYOUTS/1033/STYLES | CSS Files (.css) |
| /TEMPLATE/LAYOUTS/ClientBin | Silverlight Components (.xap) |
| /TEMPLATE/SiteTemplates | Site Definition files (onet.xml) |
| /TEMPLATE/XML | Custom field type definition files (fdltype*.xml) |
Showing posts with label knowledge. Show all posts
Showing posts with label knowledge. Show all posts
Sunday, March 11, 2012
Sharepoint :: Root Directory
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\
Thursday, March 8, 2012
Sharepoint :: Enable Developer Dashboard
Console Application
using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
namespace EnableDeveloperDashboard {
class Program {
static void Main() {
SPDeveloperDashboardSettings settings =
SPDeveloperDashboardSettings.ContentService.DeveloperDashboardSettings;
settings.DisplayLevel = SPDeveloperDashboardLevel.On;
settings.TraceEnabled = True;
settings.Update();
}
}
}
using Microsoft.SharePoint.Administration;
namespace EnableDeveloperDashboard {
class Program {
static void Main() {
SPDeveloperDashboardSettings settings =
SPDeveloperDashboardSettings.ContentService.DeveloperDashboardSettings;
settings.DisplayLevel = SPDeveloperDashboardLevel.On;
settings.TraceEnabled = True;
settings.Update();
}
}
}
Sharepoint :: HelloWorld
Console Application
using System;
using Microsoft.SharePoint;
namespace HelloWorldSharePoint {
class Program {
static void Main() {
const string siteUrl = "http://intranet.meusite.com";
using (SPSite siteCollection = new SPSite(siteUrl)) {
SPWeb site = siteCollection.RootWeb;
foreach (SPList list in site.Lists) {
if (!list.Hidden) {
Console.WriteLine (list.Title);
}
}
}
}
}
}
using System;
using Microsoft.SharePoint;
namespace HelloWorldSharePoint {
class Program {
static void Main() {
const string siteUrl = "http://intranet.meusite.com";
using (SPSite siteCollection = new SPSite(siteUrl)) {
SPWeb site = siteCollection.RootWeb;
foreach (SPList list in site.Lists) {
if (!list.Hidden) {
Console.WriteLine (list.Title);
}
}
}
}
}
}
Subscribe to:
Posts (Atom)
