Posts

SharePoint Provider Apps and Auto Hosted Apps

Here you are some links that are useful when building and deploying apps (provider hosted and auto hosted) http://spbreed.wordpress.com/2013/11/25/deploying-mvc5-based-provider-hosted-apps-for-on-premise-sharepoint-2013/ http://spcaca.blogspot.co.uk/2013/10/create-on-premise-high-trust-provider.html http://www.sharepointnutsandbolts.com/2013/07/deploying-sp2013-provider-hosted.html

SharePoint Tools and codes Links

Important tools/code when developing/administrating SharePoint Code Analysis: http://blogs.msdn.com/b/codeanalysis/ http://csslint.net/ http://www.jshint.com/ http://www.microsoft.com/en-us/download/details.aspx?id=38196 https://spdisposecheck2012.codeplex.com/ CAML Designer: used to create the CAML queries hat is used in SP data retrieval http://biwug-web.sharepoint.com/SitePages/Caml_designer.aspx http://karinebosch.wordpress.com/my-articles/caml-designer-for-SharePoint-2013/ Apps samples http://code.msdn.microsoft.com/sharepoint/SharePoint-2013-Use-event-8b5a551f http://code.msdn.microsoft.com/sharepoint/Remote-Authentication-in-b7b6f43c http://code.msdn.microsoft.com/sharepoint/Apps-for-SharePoint-sample-64c80184/view/SamplePack#content http://code.msdn.microsoft.com/sharepoint/SharePoint-2013-Sample-81b03d1e/view/SamplePack#content http://code.msdn.microsoft.com/sharepoint/Apps-for-SharePoint-sample-64c80184/view/SamplePack#content Clien

Developer Dashboard SharePoint 2010

Developer Dashboard used to track issues/performance and calls which is an effective tool for developers to check their code to enable it using powershell $sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings $sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On $sp2010.RequiredPermissions = 'EmptyMask' $sp2010.TraceEnabled = $true $sp2010.Update() To Disable it: $sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings $sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::Off $sp2010.Update()

State Service Application

Creates a session state database and turns on the session state service. $serviceApp = New-SPStateServiceApplication -Name "<StateServiceName>" New-SPStateServiceDatabase -Name "<StateServiceDatabase>" -ServiceApplication $serviceApp New-SPStateServiceApplicationProxy -Name "ApplicationProxy" -ServiceApplication $serviceApp -DefaultProxy

Session State SharePoint 2013

This is different than enabling state service application Enable-SPSessionStateService –DatabaseName “SessionStateDatabase” –DatabaseServer “localhost” –SessionTimeout 120

enumerate SharePoint 2013 Databases using powershell

Use this command to enumerate the databses: get-spdatabase | Format-Table Name,Type -autosize | Out-File "c:\dbs.txt"

Create Host Named Site Collection in SharePoint 2013 using Powershell

$owner = "domain\user" $siteurl = " http:/x.com " $name = " Site" $w = get-spwebapplication  " http://hostweb.com " New-spsite $siteurl –owneralias $owner –hostheaderwebapplication $w –name $name –template "STS#0"