<?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>Prolific Notion &#187; Tips</title>
	<atom:link href="http://www.prolificnotion.co.uk/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prolificnotion.co.uk</link>
	<description>Welcome to the miscellaneous mutterings of Simon Dingley, Freelance Web Developer</description>
	<lastBuildDate>Sat, 24 Jul 2010 14:23:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>SmtpClient does not gracefully close the underlying TCP/IP connection</title>
		<link>http://www.prolificnotion.co.uk/smtpclient-does-not-gracefully-close-the-underlying-tcpip-connection/</link>
		<comments>http://www.prolificnotion.co.uk/smtpclient-does-not-gracefully-close-the-underlying-tcpip-connection/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 10:43:17 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=246</guid>
		<description><![CDATA[Some months back Tim Geyssens was kind enough to send me the source for his MailEngine addition to Umbraco before he released it on his blog. I made some customisations to the source to allow users to select templates and changed the filtering options slightly but other than that it worked jut fine for what [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fsmtpclient-does-not-gracefully-close-the-underlying-tcpip-connection%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fsmtpclient-does-not-gracefully-close-the-underlying-tcpip-connection%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>Some months back <a href="http://www.nibble.be/">Tim Geyssens</a> was kind enough to send me the source for his <a href="http://www.nibble.be/?p=63">MailEngine</a> addition to Umbraco before he released it on his blog. I made some customisations to the source to allow users to select templates and changed the filtering options slightly but other than that it worked jut fine for what I needed.</p>
<p>There was however one problem that became apparent when this was used in production. Sometimes, and apparently randomly the sending of mail would freeze when going to more than say 150 recipients. After a long time trying to track down the reason I stumbled across a post linking to the &#8216;<a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=146711&amp;wa=wsignin1.0">SmtpClient does not gracefully close the underlying TCP/IP connection</a>&#8216;Â issue on the Microsoft Connect website. I guessed it couldn&#8217;t do any harm to set the MaxTimeout property of the SmtpClient to 1 so I tried it and it seemed to work &#8211; so far so good however you should note the recent comment from someone with regards to using this method on IIS7.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/smtpclient-does-not-gracefully-close-the-underlying-tcpip-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find out what groups an Umbraco Member belongs to</title>
		<link>http://www.prolificnotion.co.uk/how-to-find-out-what-groups-an-umbraco-member-belongs-to/</link>
		<comments>http://www.prolificnotion.co.uk/how-to-find-out-what-groups-an-umbraco-member-belongs-to/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 14:47:55 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/?p=131</guid>
		<description><![CDATA[In a project I am currently working on there is a facility for Umbraco users to export Membership and Profile data. As part of the export the client also wanted to include the groups a member belongs to and here is how I achieved it, I hope it is of use to someone else. Member [...]


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/discover-which-asp-net-worker-process-belongs-to-each-apppool/' rel='bookmark' title='Permanent Link: Discover which ASP.Net Worker Process Belongs to each AppPool'>Discover which ASP.Net Worker Process Belongs to each AppPool</a> <small>Ever needed to know which ASP.Net worker process (w3wp.exe) Â...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fhow-to-find-out-what-groups-an-umbraco-member-belongs-to%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fhow-to-find-out-what-groups-an-umbraco-member-belongs-to%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>In a project I am currently working on there is a facility for Umbraco users to export Membership and Profile data. As part of the export the client also wanted to include the groups a member belongs to and here is how I achieved it, I hope it is of use to someone else.</p>
<p>Member m = new Member(mid);<br />
// Loop through the member groups and add them to the field<br />
foreach (MemberGroup mg in m.Groups.Values)<br />
{<br />
//- Do your stuff in here, e.g.<br />
csv.Append(mg.Text); // Appends the Member group name<br />
}</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/discover-which-asp-net-worker-process-belongs-to-each-apppool/' rel='bookmark' title='Permanent Link: Discover which ASP.Net Worker Process Belongs to each AppPool'>Discover which ASP.Net Worker Process Belongs to each AppPool</a> <small>Ever needed to know which ASP.Net worker process (w3wp.exe) Â...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/how-to-find-out-what-groups-an-umbraco-member-belongs-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the default browser for debugging in Visual Studio 2008</title>
		<link>http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/</link>
		<comments>http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 21:15:31 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/?p=10</guid>
		<description><![CDATA[After installing a new browser you may find that Visual Studio changes the default browser for debugging to the newly installed browser and it is not immediately obvious how to revert back to Internet Explorer or another preferred browser. After a lengthy period of time picking through the settings in the Options dialog box I [...]


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Recreate .designer files in Visual Studio 2008'>Recreate .designer files in Visual Studio 2008</a> <small>For some reason or another I ended up with a...</small></li>
<li><a href='http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/' rel='bookmark' title='Permanent Link: Converting a Visual Studio Class Library Project to a Web Application Project'>Converting a Visual Studio Class Library Project to a Web Application Project</a> <small>I started working on a new Umbraco package a while...</small></li>
<li><a href='http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/' rel='bookmark' title='Permanent Link: Shortcut to Implement Abstract Class or Interface in Visual Studio'>Shortcut to Implement Abstract Class or Interface in Visual Studio</a> <small> A great time saving shortcut in Visual Studio to...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fchanging-the-default-browser-for-debugging-in-visual-studio-2008%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fchanging-the-default-browser-for-debugging-in-visual-studio-2008%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>After installing a new browser you may find that Visual Studio changes the default browser for debugging to the newly installed browser and it is not immediately obvious how to revert back to Internet Explorer or another preferred browser. After a lengthy period of time picking through the settings in the Options dialog box I discovered I was looking in the wrong place. In actual fact you can change it via the File &gt; Browse with menu option where you can also specify the size of the new windows that is launched when you start debugging web apps.</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Recreate .designer files in Visual Studio 2008'>Recreate .designer files in Visual Studio 2008</a> <small>For some reason or another I ended up with a...</small></li>
<li><a href='http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/' rel='bookmark' title='Permanent Link: Converting a Visual Studio Class Library Project to a Web Application Project'>Converting a Visual Studio Class Library Project to a Web Application Project</a> <small>I started working on a new Umbraco package a while...</small></li>
<li><a href='http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/' rel='bookmark' title='Permanent Link: Shortcut to Implement Abstract Class or Interface in Visual Studio'>Shortcut to Implement Abstract Class or Interface in Visual Studio</a> <small> A great time saving shortcut in Visual Studio to...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
