<?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; Visual Studio</title>
	<atom:link href="http://www.prolificnotion.co.uk/category/development/visual-studio-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prolificnotion.co.uk</link>
	<description>Welcome to the miscellaneous mutterings of Simon Dingley, Certified Umbraco Developer</description>
	<lastBuildDate>Sun, 15 Jan 2012 08:06:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Console2 &#8211; My new and improved command prompt for Windows</title>
		<link>http://www.prolificnotion.co.uk/console2-my-new-and-improved-command-prompt-for-windows/</link>
		<comments>http://www.prolificnotion.co.uk/console2-my-new-and-improved-command-prompt-for-windows/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 08:04:01 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Feature]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=708</guid>
		<description><![CDATA[
			
				
			
		
I am a sucker for a good looking GUI so when an opportunity presents itself to try and improve my workspace to make it more easy on the eye I will generally take it up. Recently I read a post by Scott Hanselman &#8216;Console2 &#8211; A Better Windows Command Prompt&#8216; and I immediately got myself over to [...]<h3>Related Posts</h3>
<ol>
		<li><a href="http://www.prolificnotion.co.uk/problems-with-windows-server-hosted-in-the-cloud-maintaining-correct-time/" rel="bookmark">Problems with Windows Server Hosted in the Cloud Maintaining Correct Time</a><!-- (5.6)--></li>
		<li><a href="http://www.prolificnotion.co.uk/register-asp-net-on-iis-in-windows-7/" rel="bookmark">Register ASP.Net on IIS in Windows 7</a><!-- (5.2)--></li>
		<li><a href="http://www.prolificnotion.co.uk/stop-filezilla-server-interface-from-loading-on-startup/" rel="bookmark">Stop FileZilla Server Interface from loading on startup</a><!-- (5)--></li>
	</ol>


Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></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%2Fconsole2-my-new-and-improved-command-prompt-for-windows%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fconsole2-my-new-and-improved-command-prompt-for-windows%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I am a sucker for a good looking GUI so when an opportunity presents itself to try and improve my workspace to make it more easy on the eye I will generally take it up. Recently I read a post by Scott Hanselman &#8216;<a title="Console2 - A Better Windows Command Prompt" href="http://www.hanselman.com/blog/Console2ABetterWindowsCommandPrompt.aspx" target="_blank">Console2 &#8211; A Better Windows Command Prompt</a>&#8216; and I immediately got myself over to SourceForge to <a title="Console is a Windows console window enhancement" href="http://sourceforge.net/projects/console/" target="_blank">download a copy of Console2</a> for myself. The project describes itself as &#8220;<em>a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles</em>&#8220;.</p>
<p>I&#8217;m not going to cover how to configure your instance of the Console because Scott&#8217;s post already does a very good job of this, however, what I do want to share with you is my own configuration and how I have made it a bit more useful for me.</p>
<p>First of all I have installed Console2 into my Dropbox Tools folder so I essentially have access to it wherever I need it and with the configuration I am now used to. This is easy enough to do since Console2 has no installer you just extract the files to a location of your choice so no further detail needed here. My <a href="http://www.prolificnotion.co.uk/wp-content/uploads/2012/01/console.xml">Console 2 Settings File</a> is attached to this post for anyone that is interested or wants to use it as a basis for configuring your own.</p>
<p>The next thing I did was create a new right-click menu option in Windows to &#8220;Open Console here&#8221; which basically allows me to open a prompt at any folder location in my file system and saves a bit of time since you no longer have to navigate your folder hierarchy to get the prompt to where you want. To do this you need to create a couple of entries in your registry, simply copy and paste the below into a text file, tweak accordingly and save as a .reg file. Once saved you can double click the .reg file to insert the keys into your registry. Alternatively you can just create the keys manually through regedit. It goes without saying that if you are going to fiddle with your registry please be wise and make a backup first!</p>
<pre class="brush: plain; title: ; notranslate">Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\OpenConsole2Here]
@=&quot;&amp;Open Console 2 Here...&quot;

[HKEY_CLASSES_ROOT\Directory\shell\OpenConsole2Here\command]
@=&quot;D:\\Dropbox\\Tools\\Console2\\Console.exe -d \&quot;%L\&quot;&quot;</pre>
<p>It should be noted that these keys relate to my Windows 7 Professional installation and are untested on other versions of Windows!</p>
<p>Credit to <a href="http://www.hanselman.com/blog/AwesomeVisualStudioCommandPromptAndPowerShellIconsWithOverlays.aspx" target="_blank">Scott Hanselman</a> for the icons and the image used in this post <img src='http://www.prolificnotion.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Related Posts</h3>
<ol>
		<li><a href="http://www.prolificnotion.co.uk/problems-with-windows-server-hosted-in-the-cloud-maintaining-correct-time/" rel="bookmark">Problems with Windows Server Hosted in the Cloud Maintaining Correct Time</a><!-- (5.6)--></li>
		<li><a href="http://www.prolificnotion.co.uk/register-asp-net-on-iis-in-windows-7/" rel="bookmark">Register ASP.Net on IIS in Windows 7</a><!-- (5.2)--></li>
		<li><a href="http://www.prolificnotion.co.uk/stop-filezilla-server-interface-from-loading-on-startup/" rel="bookmark">Stop FileZilla Server Interface from loading on startup</a><!-- (5)--></li>
	</ol>

<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/console2-my-new-and-improved-command-prompt-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shortcut to Implement Abstract Class or Interface in Visual Studio</title>
		<link>http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/</link>
		<comments>http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 10:33:55 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=231</guid>
		<description><![CDATA[ A great time saving shortcut in Visual Studio to implement an Abstract Class or Interface in Visual Studio. Using the shortcut will populate all of the abstract class method signatures for you.<h3>Related Posts</h3>
<ol>
		<li><a href="http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/" rel="bookmark">Converting a Visual Studio Class Library Project to a Web Application Project</a><!-- (14.6)--></li>
		<li><a href="http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/" rel="bookmark">Changing the default browser for debugging in Visual Studio 2008</a><!-- (10.3)--></li>
		<li><a href="http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/" rel="bookmark">Recreate .designer files in Visual Studio 2008</a><!-- (7.6)--></li>
	</ol>


Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></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%2Fshortcut-to-implement-abstract-class-or-interface-in-visual-studio%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fshortcut-to-implement-abstract-class-or-interface-in-visual-studio%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>For me every day is a school day and every day I learn something new. Today the light shined brightly for me when I discovered a great time saving shortcut in Visual Studio to implement an Abstract Class or Interface in Visual Studio. Using the shortcut will populate all of the abstract class method signatures for you.</p>
<p><strong>CTRL + &gt;</strong> or you can use  <strong>SHIFT + ALT + F10</strong></p>
<p>Here is an example of a new custom Application tree I was implementing for the <a title="Umbraco : The Friendly CMS" href="http://umbraco.org">Umbraco CMS</a>:</p>
<p>namespace ProlificNotion.Umbraco</p>
<p>{</p>
<p>public class MyNewTree : umbraco.cms.presentation.Trees.BaseTree<br />
{</p>
<p>}<br />
}</p>
<p>With your cursor at the end of the class signature you can then press <strong>CTRL + &gt;</strong> or <strong>SHIFT + ALT + F10</strong> and you will get a smart tag offering to implement the abstract class or interface, hit enter and the result is as follows:</p>
<p>namespace ProlificNotion.Umbraco<br />
{<br />
public class MyNewTree : umbraco.cms.presentation.Trees.BaseTree<br />
{</p>
<p>protected override void CreateRootNode(ref umbraco.cms.presentation.Trees.XmlTreeNode rootNode)<br />
{<br />
throw new System.NotImplementedException();<br />
}</p>
<p>public override void Render(ref umbraco.cms.presentation.Trees.XmlTree tree)<br />
{<br />
throw new System.NotImplementedException();<br />
}</p>
<p>public override void RenderJS(ref System.Text.StringBuilder Javascript)<br />
{<br />
throw new System.NotImplementedException();<br />
}<br />
}<br />
}</p>
<p>A simple example of something that can be a huge time saver particularly when the inherited class or interface has a large number of methods to implement!</p>
<h3>Related Posts</h3>
<ol>
		<li><a href="http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/" rel="bookmark">Converting a Visual Studio Class Library Project to a Web Application Project</a><!-- (14.6)--></li>
		<li><a href="http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/" rel="bookmark">Changing the default browser for debugging in Visual Studio 2008</a><!-- (10.3)--></li>
		<li><a href="http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/" rel="bookmark">Recreate .designer files in Visual Studio 2008</a><!-- (7.6)--></li>
	</ol>

<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Converting a Visual Studio Class Library Project to a Web Application Project</title>
		<link>http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/</link>
		<comments>http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 20:47:40 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/?p=148</guid>
		<description><![CDATA[
			
				
			
		
I started working on a new Umbraco package a while ago that begain its life as a Class Library. It had been a long day and some time into the project I decided I actually needed my project to be a Web Application Project but there was no obvious way to convert between the two. [...]<h3>Related Posts</h3>
<ol>
		<li><a href="http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/" rel="bookmark">Shortcut to Implement Abstract Class or Interface in Visual Studio</a><!-- (11.3)--></li>
		<li><a href="http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/" rel="bookmark">Recreate .designer files in Visual Studio 2008</a><!-- (8.3)--></li>
		<li><a href="http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/" rel="bookmark">Changing the default browser for debugging in Visual Studio 2008</a><!-- (6.6)--></li>
	</ol>


Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></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%2Fconverting-a-visual-studio-class-library-project-to-a-web-application-project%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fconverting-a-visual-studio-class-library-project-to-a-web-application-project%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I started working on a new Umbraco package a while ago that begain its life as a Class Library. It had been a long day and some time into the project I decided I actually needed my project to be a Web Application Project but there was no obvious way to convert between the two. I suppose I could just create a fresh new project and move my existing files into it but that would be too easy.</p>
<p>I opened the two project files in Notepad++ and after some trial and error discovered that if you copy the line below into your Class Library project file beneath the &lt;ProjectGuid&gt; node and save it then re-open your project in Visual Studio you will magically have a Web Application project that you can add your custom user controls etc to.</p>
<pre class="brush: xml; title: ; notranslate">&lt;projecttypeguids&gt;{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}&lt;/projecttypeguids&gt;</pre>
<h3>Related Posts</h3>
<ol>
		<li><a href="http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/" rel="bookmark">Shortcut to Implement Abstract Class or Interface in Visual Studio</a><!-- (11.3)--></li>
		<li><a href="http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/" rel="bookmark">Recreate .designer files in Visual Studio 2008</a><!-- (8.3)--></li>
		<li><a href="http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/" rel="bookmark">Changing the default browser for debugging in Visual Studio 2008</a><!-- (6.6)--></li>
	</ol>

<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Recreate .designer files in Visual Studio 2008</title>
		<link>http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/</link>
		<comments>http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 22:06:19 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/index.php/2009/01/18/recreate-designer-files-in-visual-studio-2008/</guid>
		<description><![CDATA[
			
				
			
		
For some reason or another I ended up with a corrupt default.aspx.designer.cs file in a recent web project, a quick check with my best friend(Google) and the solution it seemed couldn&#8217;t be easier. Delete the .designer file and right click the .aspx file and select &#8220;Convert to Web Application&#8221;&#8230;were you expecting more? Sorry, that&#8217;s all [...]<h3>Related Posts</h3>
<ol>
		<li><a href="http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/" rel="bookmark">Changing the default browser for debugging in Visual Studio 2008</a><!-- (10.2)--></li>
		<li><a href="http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/" rel="bookmark">Converting a Visual Studio Class Library Project to a Web Application Project</a><!-- (7.9)--></li>
		<li><a href="http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/" rel="bookmark">Shortcut to Implement Abstract Class or Interface in Visual Studio</a><!-- (7.6)--></li>
	</ol>


Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></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%2Frecreate-designer-files-in-visual-studio-2008%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Frecreate-designer-files-in-visual-studio-2008%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>For some reason or another I ended up with a corrupt default.aspx.designer.cs file in a recent web project, a quick check with my best friend(Google) and the solution it seemed couldn&#8217;t be easier. Delete the .designer file and right click the .aspx file and select &#8220;Convert to Web Application&#8221;&#8230;were you expecting more? Sorry, that&#8217;s all there is to it!</p>
<h3>Related Posts</h3>
<ol>
		<li><a href="http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/" rel="bookmark">Changing the default browser for debugging in Visual Studio 2008</a><!-- (10.2)--></li>
		<li><a href="http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/" rel="bookmark">Converting a Visual Studio Class Library Project to a Web Application Project</a><!-- (7.9)--></li>
		<li><a href="http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/" rel="bookmark">Shortcut to Implement Abstract Class or Interface in Visual Studio</a><!-- (7.6)--></li>
	</ol>

<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

