Archives

Stage one under way. one spilt…

Stage one under way. one spilt drink and a wet teddy bear. #fb

Last walk with the dog at the …

Last walk with the dog at the local park… #fb

All ok, deleted some junk and …

All ok, deleted some junk and realised that I have my netbook as well. Three copies makes me feel better #fb

All ok, deleted some junk and …

All ok, deleted some junk and realised that I have my netbook as well. Three copies makes me feel better

eeek.. ran out of space on my …

eeek.. ran out of space on my external drive. Maybe two copies of our data is excessive to take on the trip #fb

humm i seem to have a twitter …

humm i seem to have a twitter fail…

Is 4 copies of all my photos a…

Is 4 copies of all my photos and videos enough… Moving paranoia setting in. #fb

WPF Converter: CaseConverter

Case Converter was made when I wanted the text to display in a WPF UI in upper case. Probably not the best class name, but anyway. To get the code and install read on.

Continue reading WPF Converter: CaseConverter

Setting Max memory usage in SQL Server

When running SharePoint locally it is a good idea to control the memory usage of SQL. To do this use the SQL query below.

sp_configure ‘max server memory’, 1024 RECONFIGURE GO

A good article that goes through some of the areas you need to look at in relationship to memory is located at: http://www.eraofdata.com/blog/2008/10/sql-server-memory-configuration/

Getting the Central Admin URL for a Farm in SharePoint

I recently needed to get the Url of the CA for a SharePoint farm, after a bit of hunting in the API it was tracked down under the SPAdministrationWebApplication object.

C# SPAdministrationWebApplication caWebApp = Microsoft.SharePoint.Administration.SPAdministrationWebApplication.Local; var url = caWebApp.Sites[0].Url; PowerShell $caWebApp = [Microsoft.SharePoint.Administration.SPAdministrationWebApplication]::Local $caWebApp.Sites[0].Url