<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.1" -->
<rss version="0.92">
<channel>
	<title>John Plummer . com</title>
	<link>http://www.johnplummer.com</link>
	<description>Stuff I want to remember</description>
	<lastBuildDate>Wed, 27 Jan 2010 18:32:42 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Simple WCF Service Host</title>
		<description><![CDATA[app.config
The configuration for a simple http WCF host is:
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34; ?&#62;
&#60;configuration&#62;
  &#60;appSettings&#62;
  &#60;/appSettings&#62;

  &#60;system.serviceModel&#62;
    &#60;services&#62;
      &#60;service name=&#34;AssemblyNamespace.ServiceImplementation&#34;
               behaviorConfiguration=&#34;ServiceBehavior&#34;&#62;
        &#60;endpoint address=&#34;ServiceName&#34;
   [...]]]></description>
		<link>http://www.johnplummer.com/code/simple-wcf-service-host.html</link>
			</item>
	<item>
		<title>Installing Subversion on Windows</title>
		<description><![CDATA[My requirements are to host the repository on a windows machine, mostly for access from the LAN but also to be accessible over the Internet. The server is running Vista but the install and set up process should be similar on other versions of windows.
Currently there are two relevant builds of Subversion, one based on [...]]]></description>
		<link>http://www.johnplummer.com/tools/installing-subversion-on-windows.html</link>
			</item>
	<item>
		<title>Installing Apache HTTP Server on Windows</title>
		<description><![CDATA[I am setting up a machine to host Subversion. My preference is to use Apache as the HTTP server. The server is running Vista but the install and set up process should be similar on other versions of windows.
DownloadThe latest Apache build (currently apache_2.2.9-win32-x86-no_ssl-r2.msi) from http://httpd.apache.org/download.cgi
Install ApacheRun the installer and follow the instructions. Enter the [...]]]></description>
		<link>http://www.johnplummer.com/tools/installing-apache-http-server-on-windows.html</link>
			</item>
	<item>
		<title>Vista &#8220;Windows Complete PC Restore&#8221; fails with &#8220;No valid backup locations could be found&#8221;</title>
		<description><![CDATA[There is an issue with Vista complete PC back up and restore if you are restoring to a clean system from more than one&#160;DVD or CD. It appears that the catalogue is stored on the last disc in the back up set but this appears to be undocumented.
This means when you run your Windows Complete [...]]]></description>
		<link>http://www.johnplummer.com/vista/vista-windows-complete-pc-restore-fails-with-no-valid-backup-locations-could-be-found.html</link>
			</item>
	<item>
		<title>Simple Thread Safe Singleton</title>
		<description><![CDATA[This is simple but should work:
public sealed class Singleton{&#160;&#160;&#160;private static Singleton _instance = new Singleton();
&#160;&#160;&#160;private Singleton()&#160;{ }
&#160;&#160;&#160;public static Singleton Instance&#160;&#160;&#160;{&#160;&#160;&#160;&#160;&#160;&#160;get&#160;&#160;&#160;&#160;&#160;&#160;{&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return _instance;&#160;&#160;&#160;&#160;&#160;&#160;}&#160;&#160;&#160;}}
As the CLR synchronises static constructors it is thread safe. Also static constructors are not called until the types is accessed to you have lazy instantiation (use nesting if there are other static methods).
]]></description>
		<link>http://www.johnplummer.com/code/simple-thread-safe-singleton.html</link>
			</item>
	<item>
		<title>Run this program as program as an administrator</title>
		<description><![CDATA[Vista will try and run most programs without admin rights even if you are signed on as an admin. Some programs such as Visual Studio need admin rights so it is worth setting them to always run as administrator.
Confusingly, looking at a shortcut&#8217;s properties, the compatibility tab has an option to &#8220;Run this program as [...]]]></description>
		<link>http://www.johnplummer.com/visual-studio/run-this-program-as-program-as-an-administrator.html</link>
			</item>
	<item>
		<title>Macro to Set Outlook&#8217;s Master Category List</title>
		<description><![CDATA[I upgrade, move, or reinstall the OS on my PCs fairly often so setting a master category list with a macro is useful:
Public Sub ResetCategories()
&#160;&#160;&#160; DeleteAllCategories&#160;&#160;&#160; &#160;&#160;&#160; CreateCategory &#8220;! goals&#8221;, 1, 0&#160;&#160;&#160; CreateCategory &#8220;! objectives&#8221;, 2, 0&#160;&#160;&#160; CreateCategory &#8220;! projects&#8221;, 3, 0&#160;&#160;&#160; CreateCategory &#8220;@ anywhere&#8221;, 4, 0&#160;&#160;&#160; CreateCategory &#8220;@ computer&#8221;, 5, 0&#160;&#160;&#160; CreateCategory &#8220;@ email&#8221;, [...]]]></description>
		<link>http://www.johnplummer.com/tools/macro-to-set-outlooks-master-category-list.html</link>
			</item>
	<item>
		<title>Outlook Item to Task Macro</title>
		<description><![CDATA[The following macros convert outlook items to tasks with different categories. Based on this blog post&#160;which in turn is based on this one.

The item body is copied to the task body and the item itself is added as an attachment.
If multiple items are selected, multiple tasks will be created.
Created tasks are left open for editing.
I [...]]]></description>
		<link>http://www.johnplummer.com/tools/outlook-item-to-task-macro.html</link>
			</item>
	<item>
		<title>Vista Install Blank Screen</title>
		<description><![CDATA[Trying to install Vista on a machine and getting a blank screen after one of the reboots?
This could be caused by an incompatible display driver. I solved this problem by:

Reboot the machine and hit F8 to get the Windows boot menu.
Select Safe Mode with Networking.
Vista will boot then will complain that it cannot continue with [...]]]></description>
		<link>http://www.johnplummer.com/vista/vista-install-blank-screen.html</link>
			</item>
	<item>
		<title>How to Use InternalsVisibleTo</title>
		<description><![CDATA[VS2005 defaults new classes to internal rather than public (although it appears that Orcas defaults to public). This is good as it reduces the public interface of your assembly and it encourages you to actually think about whether a class needs to be public.
You can allow other assemblies access to your internal types and members [...]]]></description>
		<link>http://www.johnplummer.com/code/how-to-use-internalsvisibleto.html</link>
			</item>
</channel>
</rss>
