John D Hutton Blog

All things Xamarin, SharePoint, and .NET related
John D Hutton Blog

John D Hutton Blog

How to find out what process is running SharePoint 2010 so you can connect to debug

create a batch file called spr.bat and put following in it @echo off PATH=%PATH%;c:\windows\system32\inetsrv appcmd list wp open cmd window where spr.bat file is and run it Output: WP "9892" (applicationPool:SharePoint – 80) WP "1784" (applicationPool:SecurityTokenServiceApplicationPool) WP "8528" (applicationPool:9ce61ca73f1b467e9220944802480282) WP "9768" (applicationPool:SharePoint Central Administration v4) So I would connect to …

Programmatically change theme of newly created site

Add Event Reciever for WebProvisioned: Right Click on Project->Add-.New Item…->Event Reciever and lets call it WebProvisionedEvent Now select “A site was provisioned” Change WebProvisioned method to this public override void WebProvisioned(SPWebEventProperties properties) { //newly created site SPWeb childSite = properties.Web; //Get Parent SPWeb topSite = childSite.ParentWeb; //Set themes to same …

MySQL from .NET – Thanks Andy!

Download and install MySQL Sever 5.0.77 http://dev.mysql.com/downloads/mysql/5.0.html#win32 Download and Install MySQL Server Tools 5.0  (gives me SQL Queries) http://dev.mysql.com/downloads/gui-tools/5.0.html I Verify I could load up the tools and connect to MySQL server. Get out of Visual Studio completely. Download and Install MySQL .NET Connector 5.2.5 http://dev.mysql.com/get/Downloads/Connector-Net/mysql-connector-net-5.2.5.zip/from/pick#mirrors This may take awhile.  …

Skins

Skins and objects – http://www.snowcovered.com – http://www.dotnetnukeskin.com – http://www.dotnetnukeskins.com – http://www.dnnskins.com – http://www.dnntemplet.com