<?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, 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>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.


Related posts:<ol><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/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/changing-the-default-browser-for-debugging-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Changing the default browser for debugging in Visual Studio 2008'>Changing the default browser for debugging in Visual Studio 2008</a> <small>After installing a new browser you may find that Visual...</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%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" 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>


<p>Related posts:<ol><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/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/changing-the-default-browser-for-debugging-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Changing the default browser for debugging in Visual Studio 2008'>Changing the default browser for debugging in Visual Studio 2008</a> <small>After installing a new browser you may find that Visual...</small></li>
</ol></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. [...]


Related posts:<ol><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>
<li><a href='http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Changing the default browser for debugging in Visual Studio 2008'>Changing the default browser for debugging in Visual Studio 2008</a> <small>After installing a new browser you may find that Visual...</small></li>
<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>
</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%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" 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;">&lt;projecttypeguids&gt;{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}&lt;/projecttypeguids&gt;</pre>


<p>Related posts:<ol><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>
<li><a href='http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Changing the default browser for debugging in Visual Studio 2008'>Changing the default browser for debugging in Visual Studio 2008</a> <small>After installing a new browser you may find that Visual...</small></li>
<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>
</ol></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 [...]


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Changing the default browser for debugging in Visual Studio 2008'>Changing the default browser for debugging in Visual Studio 2008</a> <small>After installing a new browser you may find that Visual...</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/smtp-logging-on-windows-server-2008/' rel='bookmark' title='Permanent Link: Setup SMTP Logging on Windows Server 2008 by enabling the ODBC Logging module'>Setup SMTP Logging on Windows Server 2008 by enabling the ODBC Logging module</a> <small>I recently had a client who had some issues delivering...</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%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" 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>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Changing the default browser for debugging in Visual Studio 2008'>Changing the default browser for debugging in Visual Studio 2008</a> <small>After installing a new browser you may find that Visual...</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/smtp-logging-on-windows-server-2008/' rel='bookmark' title='Permanent Link: Setup SMTP Logging on Windows Server 2008 by enabling the ODBC Logging module'>Setup SMTP Logging on Windows Server 2008 by enabling the ODBC Logging module</a> <small>I recently had a client who had some issues delivering...</small></li>
</ol></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>
