Category Archives: SharePoint 2016

Get all items from a list performance

Running on a list with 4,000 items. Option 1 is on average 1 second slower than Option 2. Option 1: using (SPSite currentSite = new SPSite(SPContext.Current.Site.ID)) { using (SPWeb currentWeb = currentSite.OpenWeb(“crm”)) { DateTime dt1 = DateTime.Now; DateTime dt2 = … Continue reading

Posted in SharePoint 2010, Visual Studio 2010, SharePoint 2016 | Leave a comment

SharePoint 2013/2016 Branding

1. Create a html/css/javascript file using your favorite designer tool; 2. Go to SharePoint >> Site Settings >> Designer Manager; 3. Go to “Step 3 Upload design files” and Map the following location as a network drive so you can … Continue reading

Posted in SharePoint 2016 | Tagged | Leave a comment