<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>John Plummer . com &#187; CSharp</title>
	<atom:link href="http://www.johnplummer.com/category/csharp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.johnplummer.com</link>
	<description>Stuff I want to remember</description>
	<lastBuildDate>Sun, 29 Aug 2010 21:27:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>DI with Ninject for an MVC project</title>
		<link>http://www.johnplummer.com/code/di-with-ninject-for-an-mvc-project.html</link>
		<comments>http://www.johnplummer.com/code/di-with-ninject-for-an-mvc-project.html#comments</comments>
		<pubDate>Sun, 29 Aug 2010 18:06:04 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Asp Net]]></category>
		<category><![CDATA[Class Instances]]></category>
		<category><![CDATA[Concrete Class]]></category>
		<category><![CDATA[Ctor]]></category>
		<category><![CDATA[Download Web]]></category>
		<category><![CDATA[Files Dll]]></category>
		<category><![CDATA[Instance Methods]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Lib]]></category>
		<category><![CDATA[Moving Target]]></category>
		<category><![CDATA[Mvc2]]></category>
		<category><![CDATA[Source Link]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Void Load]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/code/di-with-ninject-for-an-mvc-project.html</guid>
		<description><![CDATA[This seems to be a somewhat moving target with ASP.Net MVC moving up the versions as well as Ninject. This particular target will be ASP.Net MVC 2.0 and Ninject 2.0. First set up the references: Download Ninject.Web.Mvc (If not using git, there is a download source link on the page). Open the mvc2/Ninject.Web.Mvc.sln and compile [...]]]></description>
		<wfw:commentRss>http://www.johnplummer.com/code/di-with-ninject-for-an-mvc-project.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple WCF Service Host</title>
		<link>http://www.johnplummer.com/code/simple-wcf-service-host.html</link>
		<comments>http://www.johnplummer.com/code/simple-wcf-service-host.html#comments</comments>
		<pubDate>Fri, 22 Jan 2010 18:52:35 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/uncategorized/simple-wcf-service-host.html</guid>
		<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; binding=&#34;basicHttpBinding&#34; contract=&#34;AssemblyNamespace.ServiceContractInterface&#34; /&#62; &#60;endpoint address=&#34;mex&#34; binding=&#34;mexHttpBinding&#34; contract=&#34;IMetadataExchange&#34; /&#62; &#60;host&#62; &#60;baseAddresses&#62; &#60;add baseAddress=&#34;http://HostName:Port/&#34;/&#62; &#60;/baseAddresses&#62; &#60;/host&#62; &#60;/service&#62; &#60;/services&#62; &#60;behaviors&#62; &#60;serviceBehaviors&#62; &#60;behavior name=&#34;ServiceBehavior&#34;&#62; &#60;serviceMetadata httpGetEnabled=&#34;true&#34;/&#62; &#60;/behavior&#62; &#60;/serviceBehaviors&#62; &#60;/behaviors&#62; &#60;/system.serviceModel&#62; &#60;/configuration&#62; An example: &#60;?xml version=&#34;1.0&#34; [...]]]></description>
		<wfw:commentRss>http://www.johnplummer.com/code/simple-wcf-service-host.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple Thread Safe Singleton</title>
		<link>http://www.johnplummer.com/code/simple-thread-safe-singleton.html</link>
		<comments>http://www.johnplummer.com/code/simple-thread-safe-singleton.html#comments</comments>
		<pubDate>Sat, 14 Jul 2007 14:56:04 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/csharp/simple-thread-safe-singleton.html</guid>
		<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 [...]]]></description>
		<wfw:commentRss>http://www.johnplummer.com/code/simple-thread-safe-singleton.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Use InternalsVisibleTo</title>
		<link>http://www.johnplummer.com/code/how-to-use-internalsvisibleto.html</link>
		<comments>http://www.johnplummer.com/code/how-to-use-internalsvisibleto.html#comments</comments>
		<pubDate>Mon, 18 Jun 2007 08:22:16 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/visual-studio/how-to-use-internalsvisibleto.html</guid>
		<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 [...]]]></description>
		<wfw:commentRss>http://www.johnplummer.com/code/how-to-use-internalsvisibleto.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Give an Assembly a Strong Name</title>
		<link>http://www.johnplummer.com/code/how-to-give-an-assembly-a-strong-name.html</link>
		<comments>http://www.johnplummer.com/code/how-to-give-an-assembly-a-strong-name.html#comments</comments>
		<pubDate>Thu, 14 Jun 2007 20:00:00 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/visual-studio/how-to-give-an-assembly-a-strong-name.html</guid>
		<description><![CDATA[To Strongly name an assembly you need to associate it with a public and private key. This can be either done by the developer when they compile the assembly (signing)&#160;or by at a later stage for instance by the QA department (delayed signing). Public and private keys can be associated with code signing certificates, generated [...]]]></description>
		<wfw:commentRss>http://www.johnplummer.com/code/how-to-give-an-assembly-a-strong-name.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
