<?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>Dom Cosgrove Blog &#187; Development</title>
	<atom:link href="http://blog.domcosgrove.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.domcosgrove.com</link>
	<description>Dom&#039;s views on the SharePoint World</description>
	<lastBuildDate>Tue, 18 Oct 2011 12:59:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Example of how to get the URL to SharePoint 2007 Form Pages</title>
		<link>http://blog.domcosgrove.com/example-of-how-to-get-the-url-to-sharepoint-2007-form-pages/</link>
		<comments>http://blog.domcosgrove.com/example-of-how-to-get-the-url-to-sharepoint-2007-form-pages/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 19:50:07 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/example-of-how-to-get-the-url-to-sharepoint-2007-form-pages/</guid>
		<description><![CDATA[You can use the following syntax to get the fully qualified URL to a Form for a SharePoint List / Library. SPList list = SPContext.Current.List; SPListItem item = list[0]; item.Web.Url + &#34;/&#34; + item.ParentList.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url + &#34;?ID=&#34; + item.ID &#160; PAGETYPE is an enumeration of the SharePoint Forms: PAGE_DEFAULTVIEW Default view. Value=0. PAGE_DIALOGVIEW File dialog box [...]]]></description>
			<content:encoded><![CDATA[<p>You can use the following syntax to get the fully qualified URL to a Form for a SharePoint List / Library. </p>
<pre>SPList list = SPContext.Current.List;

SPListItem item = list[0];

item.Web.Url + &quot;/&quot; + item.ParentList.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url + &quot;?ID=&quot; + item.ID
</pre>
<p>&#160;</p>
<p><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.pagetype.aspx">PAGETYPE</a> is an enumeration of the SharePoint Forms: </p>
<p><table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_DEFAULTVIEW</b></p>
</td>
<td valign="top" width="61%">
<p>Default view. Value=0. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_DIALOGVIEW</b></p>
</td>
<td valign="top" width="61%">
<p>File dialog box view. Value=2. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_DISPLAYFORM</b></p>
</td>
<td valign="top" width="61%">
<p>Display form for list items. Value=4. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_DISPLAYFORMDIALOG</b></p>
</td>
<td valign="top" width="61%">
<p>Display form for a file dialog box. Value=5. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_EDITFORM</b></p>
</td>
<td valign="top" width="61%">
<p>Edit form for list items. Value=6. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_EDITFORMDIALOG</b></p>
</td>
<td valign="top" width="61%">
<p>Edit form for a file dialog box. Value=7. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_INVALID</b></p>
</td>
<td valign="top" width="61%">
<p>Not used. Value= -1. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_MAXITEMS</b></p>
</td>
<td valign="top" width="61%">
<p>Not used. Value=11. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_NEWFORM</b></p>
</td>
<td valign="top" width="61%">
<p>New form for list items. Value=8</p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_NEWFORMDIALOG</b></p>
</td>
<td valign="top" width="61%">
<p>New form for a file dialog box. Value=9. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_NORMALVIEW</b></p>
</td>
<td valign="top" width="61%">
<p>Normal view. Value=1. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_SOLUTIONFORM</b></p>
</td>
<td valign="top" width="61%">
<p>Solution form. Value=10. </p>
</td>
</tr>
<tr>
<td valign="top" width="38%">
<p><b>PAGE_VIEW</b></p>
</td>
<td valign="top" width="61%">
<p>View, including both default view and normal view. Value=3.</p>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/example-of-how-to-get-the-url-to-sharepoint-2007-form-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Counter Sets in Visual Studio for Software Testers</title>
		<link>http://blog.domcosgrove.com/custom-counter-sets-in-visual-studio-for-software-testers/</link>
		<comments>http://blog.domcosgrove.com/custom-counter-sets-in-visual-studio-for-software-testers/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 20:10:00 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Performance Testing]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/custom-counter-sets-in-visual-studio-for-software-testers/</guid>
		<description><![CDATA[Visual Studio 2005 for Software Testers (VSST) allows you to create custom Counter Sets, which are a set of performance counters that can be applied to a computer in the test farm. VSST comes with some Counter Sets out-of-the-box (OOTB) for the Load Test, Controller and Agent amongst others: Invariably when creating performance tests, you&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>Visual Studio 2005 for Software Testers (VSST) allows you to create custom <a href="http://msdn.microsoft.com/en-us/library/ms404695.aspx"><em>Counter Sets</em></a>, which are a set of <a href="http://msdn.microsoft.com/en-us/library/aa373083%28VS.85%29.aspx">performance counters</a> that can be applied to a computer in the test farm. VSST comes with some <em>Counter Sets</em> out-of-the-box (OOTB) for the Load Test, Controller and Agent amongst others:<br />
<a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image002.jpg"><img style="display: inline; border-width: 0px;" title="clip_image002" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="153" height="240" /></a><br />
Invariably when creating performance tests, you&#8217;ll develop them on a computer, which is not in the SharePoint Server Farm. This computer will most probably not have a number of the performance counters that you want to monitor. For instance SharePoint uses the w3wp (IIS) worker process, which unless you have IIS installed on your local machine, you will not be able to add the counters. To add the counters you need to specify a computer that has the counters that you require.</p>
<p>Typically I create a counter set for each of the server roles in the farm. This allows me to monitor different counters for different roles. For instance the Web Front End (WFE) servers counters are very different to the Back End SQL server. Joel Oleson has publish a <a href="http://blogs.msdn.com/joelo/archive/2007/01/16/good-list-of-performance-counters.aspx">good list of counters</a> that the SharePoint Performance Team use.</p>
<p><strong>Creating Custom Counter Set</strong><br />
1. Open or create a new Load Test in VSST;<br />
2. Right mouse click on the <strong>Counter Set</strong> node and select <strong>Add Custom Counter Set</strong>;<br />
<a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image004.jpg"><img style="display: inline; border-width: 0px;" title="clip_image004" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image004_thumb.jpg" border="0" alt="clip_image004" width="195" height="240" /></a><br />
3. In the properties pane give the newly created Counter Set a useful name e.g. SharePoint WFE, SharePoint DB, SharePoint Search e.t.c<br />
4. Right mouse click the newly created Counter Set and select Add Counters;<br />
<a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image006.jpg"><img style="display: inline; border-width: 0px;" title="clip_image006" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image006_thumb.jpg" border="0" alt="clip_image006" width="240" height="232" /></a><br />
5. Enter the name of the computer that you are going to collect the counters from e.g. SharePoint WFE or SQL Database server. The List of Performance Categories will be refreshed for the categories available on that server. If you select Process for instance, the list of instances will be different for the WFE and the DB servers. Select the required counters.<br />
<a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image008.jpg"><img style="display: inline; border-width: 0px;" title="clip_image008" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image008_thumb.jpg" border="0" alt="clip_image008" width="227" height="244" /></a><br />
<strong>Note:</strong><br />
If you work in an environment where least privileges are employed you may not have sufficient right to add performance counters from a remote computer. You may encounter a message such as &#8220;Cant read performance counter categories for computer xxx&#8221;.<br />
<a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image010.jpg"><img style="display: inline; border-width: 0px;" title="clip_image010" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image010_thumb.jpg" border="0" alt="clip_image010" width="227" height="244" /></a><br />
To be able to access the performance counters you need your system administrators to add you (or the account you are running the test under) to the following server roles:</p>
<ul>
<li><strong>Performance Log Users</strong> &#8211; Members of this group have remote access to schedule logging of performance counters on this computer</li>
<li><strong>Performance Monitor Users</strong> &#8211; Members of this group have remote access to monitor this computer</li>
</ul>
<p><strong>Using Custom Counter Set<br />
</strong>1. Open the Load Test where you created your custom counter set;<br />
2. Right mouse click on <strong>Counter Set Mappings</strong> and <strong>Select Manage Counter Sets&#8230;</strong>;<br />
<a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image012.jpg"><img style="display: inline; border-width: 0px;" title="clip_image012" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image012_thumb.jpg" border="0" alt="clip_image012" width="240" height="127" /></a><br />
3. In the <strong>Manage Counter Sets</strong> dialog box select Add Computer. Select the newly created Custom Counter Set and click OK;<br />
<a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image014.jpg"><img style="display: inline; border-width: 0px;" title="clip_image014" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image014_thumb.jpg" border="0" alt="clip_image014" width="244" height="184" /></a>�<br />
<strong></strong></p>
<p><strong>References:</strong></p>
<ul>
<li><strong><a href="http://www.combined-knowledge.com/Downloads/2007/HowToConfigStressTestProjectForMOSS07usingVS2008TS.pdf">How to configure Stress Test Project For MOSS 2007 using VS2008 Team Suite for System Testers</a></strong></li>
<li><strong><a href="http://msdn.microsoft.com/en-us/library/ms182561.aspx">Working with Load Tests</a></strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/custom-counter-sets-in-visual-studio-for-software-testers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Loopback adapter</title>
		<link>http://blog.domcosgrove.com/ms-loopback-adapter/</link>
		<comments>http://blog.domcosgrove.com/ms-loopback-adapter/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 16:52:27 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/ms-loopback-adapter/</guid>
		<description><![CDATA[If you need to browse your SharePoint site or for that matter any site, hosted on your VPC while you are not connected to a network, read on. If you are not connected to a network the VPC does not get an IP address issued hence why you cannot browse hosted sites. The solution to [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to browse your SharePoint site or for that matter any site, hosted on your VPC while you are not connected to a network, read on. If you are not connected to a network the VPC does not get an IP address issued hence why you cannot browse hosted sites. The solution to this is the MS Loopback Adapter. The following shows you how to set up your loopback adapter.</p>
<h4>Add Loopback adapter</h4>
<ol>
<li>Click <strong>Start</strong>, and then click <strong>Control Panel. </strong>Then click <strong>Add Hardware</strong>:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image17.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb17.png" width="300" height="209" /></a> </li>
<li>Select <strong>Yes, I have already connected the hardware</strong>:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image18.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb18.png" width="244" height="188" /></a> </li>
<li>From the list of devices select <strong>Add a new hardware device</strong>:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image19.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb19.png" width="244" height="187" /></a> </li>
<li>Select <strong>Install the hardware that I manually select from list (Advanced)</strong>:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image20.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb20.png" width="244" height="187" /></a> </li>
<li>From the list of hardware types select <strong>Network Adapter</strong>:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image21.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb21.png" width="244" height="187" /></a> </li>
<li>From the list of Manufactures select <strong>Microsoft</strong> and from the list of Network Adapters select<strong> Microsoft Loopback Adapter</strong>:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image22.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb22.png" width="244" height="187" /></a> </li>
<li>Click <strong>Finish</strong> once the adapter is installed. </li>
<li>The Loopback Adapter will now appear in you list of <strong>Network Connections</strong>:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image23.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb23.png" width="240" height="81" /></a> </li>
</ol>
<h4>Configure Loopback Adapter</h4>
<ol>
<li>In the <strong>Network Connections</strong> right mouse click on the newly created Loopback Adapter and select <strong>Properties;</strong> </li>
<li>From the <strong>Properties</strong> select <strong>Internet Protocol (TCP/IP)</strong> and click <strong>Properties</strong>:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image24.png"><strong><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb24.png" width="202" height="244" /></strong></a><strong> </strong></li>
<li>In the <strong>Properties</strong> add the IP address as follows:       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image25.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb25.png" width="221" height="244" /></a>&#160; </li>
<li>Click <strong>OK </strong>to commit the changes. </li>
</ol>
<h4>Configure VPC Network Adapter</h4>
<ol>
<li>On Virtual PC (VPC) Console click <strong>Settings</strong>;       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image26.png"><strong><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb26.png" width="244" height="169" /></strong></a><strong> </strong></li>
<li>On the settings dialog box select <strong>Networking</strong> and then select <strong>Microsoft Loopback Adapter</strong> as the 1st Adapter. Click <strong>OK</strong>;       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image27.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb27.png" width="244" height="173" /></a> </li>
<li>On the VPC click the Network icon in the task bar or navigate to the <strong>Network Connections</strong> through the control panel. The network icon may display a warning message “Limited or no connectivity”. Don’t worry about this at the moment;       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image28.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb28.png" width="240" height="131" /></a> </li>
<li>On the <strong>Network Connections </strong>window, right mouse click on the <strong>Local Area Connection</strong> and click <strong>Properties</strong>;       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image29.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb29.png" width="240" height="159" /></a> </li>
<li>On the <strong>TCP/IP</strong> settings for the Network adapter enter the following details. Click <strong>OK</strong><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image30.png">;<img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb30.png" width="221" height="244" /></a> </li>
<li>You will notice that the network icon on the desktop task bar no-longer displays the warning message; </li>
<li>On the VPC, launch the <strong>Command Prompt</strong> and type <strong>IPConfig</strong> you should see that the VPC now has the IP address, subnet and gateway that you just entered;       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image31.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb31.png" width="244" height="82" /></a> </li>
<li>From the VPC Command prompt ping <strong>192.168.5.10</strong> to confirm connectivity to the host;       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image32.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb32.png" width="244" height="88" /></a>&#160; </li>
<li>Ensure that you don’t have any network connectivity on your host computer, then from the Command Prompt ping the VPC <strong>192.168.5.11</strong> to confirm connectivity to the VPC; </li>
</ol>
<h4>Configure Host File</h4>
<p>If your SharePoint (or website) uses <strong>Host Headers</strong> then you’ll need to edit your <strong>Host file</strong>:</p>
<ol>
<li>&#160; Open your <strong>Host </strong>file C:\Windows\System32\Drivers\etc\host;       <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image33.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb33.png" width="240" height="137" /></a> </li>
<li>In the host file put the IP address of your VPC <strong>192.168.5.11</strong> and set the host in my case that is scratch;       <br />&#160;<a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image34.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb34.png" width="244" height="191" /></a> </li>
<li>You should now be able to browse your SharePoint (Web Site) hosted on a VPC even if you do not have connection to a network;      <br /><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image35.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/11/image_thumb35.png" width="240" height="192" /></a>&#160; </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/ms-loopback-adapter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top SharePoint Dev Productivity Apps</title>
		<link>http://blog.domcosgrove.com/top-sharepoint-dev-utility-apps/</link>
		<comments>http://blog.domcosgrove.com/top-sharepoint-dev-utility-apps/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 21:36:00 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/top-sharepoint-dev-utility-apps/</guid>
		<description><![CDATA[Ok, so there are loads of these sort of blogs already out there, but hey thought I’d let you know the suite of tools that I’ve added to my arsenal. All these tools should help make your SharePoint life allot easier… they definitely save me a load of headaches over the years. Thanks to all [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Ok, so there are loads of these sort of blogs already out there, but hey thought I’d let you know the suite of tools that I’ve added to my arsenal. All these tools should help make your SharePoint life allot easier… they definitely save me a load of headaches over the years. Thanks to all the community folks for developing these tools, with out them our lives would be a lot harder.</p>
<table border="0" cellspacing="0" cellpadding="2" width="601">
<tbody>
<tr>
<td valign="top" width="187"><a href="http://spi.codeplex.com/" target="_blank">SharePoint Inspector</a></td>
<td valign="top" width="412">
<p align="justify">SharePoint Inspector is a free tool to browse your SharePoint 2007 farm.            </p>
<p align="justify">You can see objects composing its structure, get their properties by reflection, which can be very useful when you want to check if your code does what it should do.            <br />You can use also some advanced features like activate/deactivate SharePoint features, add/remove event receivers, manage your recycle bin. Thanks to Gaetan Bouveret great utility.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://code.msdn.microsoft.com/camlintellisense/Release/ProjectReleases.aspx?ReleaseId=2212" target="_blank">CAML.NET IntelliSense</a></td>
<td valign="top" width="412">
<p align="justify">The purpose of this project is to extend the raw WSS xsd to include annotated documentation taken from the <a href="http://msdn.microsoft.com/en-us/library/ms550992.aspx">SharePoint SDK</a> so that developers don&#8217;t have to break their train of thought while they go searching for information about each element. Thanks to <a href="http://johnholliday.net/post/2009/01/18/Feed-your-CAML-some-IntelliSense-so-it-doesnt-bite-you-in-the-you-know-what!.aspx" target="_blank">John Holliday</a> for providing this.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.u2u.be/Res/Tools/CamlQueryBuilder.aspx" target="_blank">U2U CAML Query Builder</a></td>
<td valign="top" width="412">
<p align="justify">The tool will help you build, test and execute your CAML Queries. This version of the tool only let you build CAML queries for execution against lists. Thanks to those Belgium guys at <a href="http://www.u2u.net/Default.aspx" target="_blank">U2U</a>.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.red-gate.com/products/reflector/" target="_blank">.Net Reflector</a></td>
<td valign="top" width="412">
<p align="justify">This is something that should be in any .Net developer tool box. .NET Reflector enables you to easily view, navigate, and search through, the class hierarchies of .NET assemblies, even if you don&#8217;t have the code for them. With it, you can decompile and analyze .NET assemblies in C#, Visual Basic, and IL.</p>
</td>
</tr>
<tr>
<td valign="top" width="187">
<p align="justify"><a href="http://www.lightningtools.com/bdc-meta-man/default.aspx" target="_blank">BDC Meta Man</a></p>
</td>
<td valign="top" width="412">
<p align="justify">BDC Meta Man is the first Business Data Catalog tool for all SharePoint Developers and Administrators interested in line of business data integration with SharePoint. Without writing a single line of code you can be viewing and searching across your business data through Microsoft Office SharePoint Server 2007 in minutes.            </p>
<p>This is a great tool provided by the guys from Lightening Tools. The free to download version gives you some limited functionality.             </p>
<p>Nick Swan and Brett Lonsdale the cofounders of Lightening tools have also produced a great book on the BDC “<a href="http://www.manning.com/lonsdale/" target="_blank">SharePoint 2007 Developer’s Guide to Business Data Catalog</a>”. They can also be heard on the Excellent <a href="http://www.sharepointpodshow.com/" target="_blank">SharePoint Pod Show</a> with co-host Rob Foster. Definitely check it out.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://wspbuilder.codeplex.com/" target="_blank">WSPBuilder</a></td>
<td valign="top" width="412">
<p>A SharePoint Solution Package (WSP) creation tool for WSS 3.0 &amp; MOSS 2007            <br />- No more manually creating the manifest.xml file.             <br />- No more manually specifying the DDF file.             <br />- No more using the makecab.exe application.</p>
<p><a href="http://keutmann.blogspot.com/" target="_blank">Carsten Keutmann</a> you’re a legend… what more can I say!</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://spm.codeplex.com/" target="_blank">SharePoint Manager 2007</a></td>
<td valign="top" width="412">
<p align="justify">The SharePoint Manager 2007 is a SharePoint object model explorer. It enables you to browse every site on the local farm and view every property. It also enables you to change the properties (at your own risk). This is a very powerful tool for developers that like to know what the SharePoint holds of secrets. Another great tool from <a href="http://keutmann.blogspot.com/" target="_blank">Carsten Keutmann</a>.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.fiddler2.com/fiddler2/" target="_blank">Fiddler</a></td>
<td valign="top" width="412">
<p align="justify">Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) traffic, set breakpoints, and &quot;fiddle&quot; with incoming or outgoing data.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.harbar.net/articles/apm.aspx" target="_blank">AppPool Manager</a></td>
<td valign="top" width="412">Neat little tool from <a href="http://www.harbar.net/" target="_blank">Spencer Harbar</a>.</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://spsource.codeplex.com/" target="_blank">SPSource</a></td>
<td valign="top" width="412">
<p align="justify">SPSource is a tool for SharePoint developers to assist in the creation of WSS Solution Packages (WSPs) allowing for the use SharePoint Designer and the SharePoint web UI to make quick changes to items, then push those items into Visual Studio for later compilation into a WSP. Thanks to <a href="http://wss.made4the.net/default.aspx" target="_blank">Jeremy Thake</a>.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://stsadm.blogspot.com/2009/02/downloads.html" target="_blank">STSAdm Extensions</a></td>
<td valign="top" width="412">A must have suite of STSAdm commands from <a href="http://stsadm.blogspot.com" target="_blank">Gary Lapointe</a>. Great for those SharePoint Administrators out there.</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://sptraceview.codeplex.com/" target="_blank">SPTraceView</a></td>
<td valign="top" width="412">
<p align="justify">SPTraceView analyses in real time the ULS trace messages coming from all MOSS components and can notify you using a balloon-style tray bar messages when something of interest happens.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://code.msdn.microsoft.com/SPDisposeCheck" target="_blank">SP Dispose Checker Tool</a></td>
<td valign="top" width="412">
<p align="justify">SPDisposeCheck is a tool to help you to check your assemblies that use the SharePoint API so that you can build better code. It provides assistance in correctly disposing of certain SharePoint objects to help you follow published best practice.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.codeplex.com/sharepointinstaller" target="_blank">SharePoint Installer</a></td>
<td valign="top" width="412">
<p align="justify">This project is a Windows application for an eased and more user friendly installation and deployment of SharePoint 2007 solution files to a SharePoint server farm. Distribute your SharePoint solution files with this installation program instead of a raw script using STSADM.EXE to install and deploy the solution.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.codeplex.com/SharePointSearchServ" target="_blank">SharePoint Search Service Tool</a></td>
<td valign="top" width="412">
<p align="justify">The SharePoint Search Service Tool is a rich web service client that allows a developer to explore the scopes and managed properties of a given SharePoint Search SSP, build queries in either Keyword or SQL Syntax, submit those queries and examine the raw web service results. This tool can be useful in troubleshooting and verifying the behaviour and configuration of a SharePoint environment.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.devexpress.com/Products/Visual_Studio_Add-in/Coding_Assistance/" target="_blank">CodeRush</a></td>
<td valign="top" width="412">
<p align="justify">CodeRush for Visual Studio® .NET will help you create sophisticated code blocks in seconds and extend code templates instantly. CodeRush will complete identifiers as you type and expand or contract selections logically. With CodeRush, you will be able to instantly place selected code inside Try/Catch blocks, Regions and your own custom wrappers with ease.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.jetbrains.com/resharper/index.html#" target="_blank">ReSharper</a></td>
<td valign="top" width="412">
<p align="justify">ReSharper provides solution-wide error highlighting on the fly, instant solutions for found errors, over 30 advanced code refactorings, superior unit testing tools, handy navigation and search features, single-click code formatting and cleanup, automatic code generation and templates, and a lot more productivity features for C#, VB.NET, ASP.NET, XML, and XAML.</p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.elumenotion.com/Blog/Lists/Posts/Post.aspx?ID=94" target="_blank">SharePoint Skinner</a></td>
<td valign="top" width="412">Helps you define the theme css for your custom SharePoint sites.</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=119F3477-DCED-41E3-A0E7-D8B5CAE893A3&amp;displaylang=en" target="_blank">Visual Round Trip Analyser</a></td>
<td valign="top" width="412">
<p align="justify">The Visual Round Trip Analyzer tool helps web developers and testers visualize the download of their page, identify best practices and changes that improve web performance. The network Round-Trip between the client and server(s) is the single biggest impact to web page performance – much greater than server response time. </p>
</td>
</tr>
<tr>
<td valign="top" width="187"><a href="http://developer.yahoo.com/yslow/" target="_blank">YSlow</a></td>
<td valign="top" width="412">YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. </td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/top-sharepoint-dev-utility-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free PowerShell Book to Download</title>
		<link>http://blog.domcosgrove.com/free-powershell-book-to-download/</link>
		<comments>http://blog.domcosgrove.com/free-powershell-book-to-download/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 16:31:08 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/free-powershell-book-to-download/</guid>
		<description><![CDATA[Microsoft Windows PowerShell command line shell and scripting language helps IT professionals achieve greater control and productivity. Using a new admin-focused scripting language, more than 130 standard command line tools, and consistent syntax and utilities, Windows PowerShell allows IT professionals to more easily control system administration and accelerate automation. A free book called Mastering PowerShell [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft Windows PowerShell command line shell and scripting language helps IT professionals achieve greater control and productivity. Using a new admin-focused scripting language, more than 130 standard command line tools, and consistent syntax and utilities, Windows PowerShell allows IT professionals to more easily control system administration and accelerate automation. </p>
<p>A free book called Mastering PowerShell is available to download here:</p>
<p><a href="http://powershell.com/Mastering-PowerShell.pdf">http://powershell.com/Mastering-PowerShell.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/free-powershell-book-to-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Feature Scopes</title>
		<link>http://blog.domcosgrove.com/sharepoint-feature-scopes/</link>
		<comments>http://blog.domcosgrove.com/sharepoint-feature-scopes/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 15:09:00 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/sharepoint-feature-scopes/</guid>
		<description><![CDATA[This is a useful reference to determine the scope of your features: Web (Web site) Site (site collection) Control Custom Action Custom Action Group Hide Custom Action List Instance List Template Module Receiver Content Type Content Type Binding Control Custom Action Custom Action Group Feature/Site Template Association Field Hide Custom Action List Template Module Workflow [...]]]></description>
			<content:encoded><![CDATA[<p>This is a useful reference to determine the scope of your features:</p>
<table border="0" cellspacing="0" cellpadding="2" width="598">
<tbody>
<tr>
<td valign="top" width="301">
<p><strong><font color="#004080" size="2">Web (Web site) </font></strong></p>
</td>
<td valign="top" width="295">
<p><strong><font color="#004080"><font size="2">Site (site collection)</font> </font></strong></p>
</td>
</tr>
<tr>
<td valign="top" width="301">
<p><a href="http://msdn.microsoft.com/en-us/library/ms463169.aspx" target="_blank">Control</a>             <br /><a href="http://msdn.microsoft.com/en-us/library/ms458635.aspx" target="_blank">Custom Action</a>             <br /><a href="http://msdn.microsoft.com/en-us/library/ms438085.aspx" target="_blank">Custom Action Group</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms414790.aspx" target="_blank">Hide Custom Action</a>             <br /><a href="http://msdn.microsoft.com/en-us/library/ms469947.aspx" target="_blank">List Instance</a>             <br /><a href="http://msdn.microsoft.com/en-us/library/ms434306.aspx" target="_blank">List Template</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms462994.aspx" target="_blank">Module</a>             <br /><a href="http://msdn.microsoft.com/en-us/library/ms475328.aspx" target="_blank">Receiver</a></p>
</td>
<td valign="top" width="295">
<p><a href="http://msdn.microsoft.com/en-us/library/ms454431.aspx" target="_blank">Content Type</a>             <br /><a href="http://msdn.microsoft.com/en-us/library/aa543598.aspx" target="_blank">Content Type Binding</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms463169.aspx" target="_blank">Control</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms458635.aspx" target="_blank">Custom Action</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms438085.aspx" target="_blank">Custom Action Group</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/aa544294.aspx" target="_blank">Feature/Site Template Association</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms426306.aspx" target="_blank">Field</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms414790.aspx" target="_blank">Hide Custom Action</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms434306.aspx" target="_blank">List Template</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms462994.aspx" target="_blank">Module</a>            <br /><a href="http://msdn2.microsoft.com/en-us/library/ms442247.aspx" target="_blank">Workflow</a></p>
</td>
</tr>
<tr>
<td valign="top" width="301">
<p><font color="#004080" size="2"><strong>Web Application (Web application) </strong></font></p>
</td>
<td valign="top" width="295">
<p><strong><font color="#004080"><font size="2">Farm (farm)</font>&#160;</font></strong></p>
</td>
</tr>
<tr>
<td valign="top" width="301">
<p><a href="http://msdn2.microsoft.com/en-us/library/ms463169.aspx" target="_blank">Control</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms458635.aspx" target="_blank">Custom Action</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms438085.aspx" target="_blank">Custom Action Group</a>             <br /><a href="http://msdn.microsoft.com/en-us/library/aa979484.aspx" target="_blank">Document Converter</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/aa544294.aspx" target="_blank">Feature/Site Template Association</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms414790.aspx" target="_blank">Hide Custom Action</a> </p>
</td>
<td valign="top" width="295">
<p><a href="http://msdn2.microsoft.com/en-us/library/ms463169.aspx" target="_blank">Control</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms458635.aspx" target="_blank">Custom Action</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms438085.aspx" target="_blank">Custom Action Group</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/aa544294.aspx" target="_blank">Feature/Site Template Association</a>             <br /><a href="http://msdn2.microsoft.com/en-us/library/ms414790.aspx" target="_blank">Hide Custom Action</a></p>
</td>
</tr>
</tbody>
</table>
<p><strong>Source:</strong> <a title="http://msdn.microsoft.com/en-us/library/ms454835.aspx" href="http://msdn.microsoft.com/en-us/library/ms454835.aspx">http://msdn.microsoft.com/en-us/library/ms454835.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/sharepoint-feature-scopes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CAML.NET IntelliSense project</title>
		<link>http://blog.domcosgrove.com/caml-net-intellisense-project/</link>
		<comments>http://blog.domcosgrove.com/caml-net-intellisense-project/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 08:21:34 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/?p=23</guid>
		<description><![CDATA[MVP John Holliday has extended the wss.xsd schema to provide a rich CAML IntelliSense editing experience.]]></description>
			<content:encoded><![CDATA[<p>MVP John Holliday has extended the wss.xsd schema to provide a rich CAML IntelliSense editing experience. By furnishing the out of the box schema with additional <strong><em>xs:annotation</em></strong> and <strong><em>xs:string,</em></strong> the IntelliSense now provides descriptions for each of the elements (from the SDK) and optional attribute values.</p>
<p>I highly recommend use this schema when developing your SharePoint features definitions.</p>
<p>The CAML.NET IntelliSense comes as an .msi installer to make your life even easier.</p>
<p>Thanks again to John Holliday</p>
<p><a href="http://code.msdn.microsoft.com/camlintellisense/Release/ProjectReleases.aspx?ReleaseId=2212">CAML.NET IntelliSense project</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/caml-net-intellisense-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add a SharePoint WebPart to a group other than Miscellaneous</title>
		<link>http://blog.domcosgrove.com/how-to-add-a-sharepoint-webpart-to-a-group-other-than-miscellaneous/</link>
		<comments>http://blog.domcosgrove.com/how-to-add-a-sharepoint-webpart-to-a-group-other-than-miscellaneous/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 08:29:47 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/?p=38</guid>
		<description><![CDATA[By default, SharePoint web parts are always put into a web part group called “Miscellaneous”. All you need to do is locate your Feature Element Manifest XML file and add a Property Element called Group and assign it a value. This is normally the XML file that is in your WebPart Folder. Nice and easy [...]]]></description>
			<content:encoded><![CDATA[<p>By default, SharePoint web parts are always put into a web part group called “Miscellaneous”.</p>
<p>All you need to do is locate your Feature Element Manifest XML file and add a Property Element called Group and assign it a value. This is normally the XML file that is in your WebPart Folder.</p>
<p>Nice and easy hey… enjoy <img src='http://blog.domcosgrove.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/how-to-add-a-sharepoint-webpart-to-a-group-other-than-miscellaneous/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get SharePoint Installation Directory Path</title>
		<link>http://blog.domcosgrove.com/get-sharepoint-installation-directory-path/</link>
		<comments>http://blog.domcosgrove.com/get-sharepoint-installation-directory-path/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 13:29:23 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/?p=260</guid>
		<description><![CDATA[If you need to get the SharePoint Installation Directory Path then you can use the SPUtility.GetGenericSetupPath method. For instance if you needed to get the path to a features directory to load some XML you could use the following syntax: string FeaturesPath = SPUtility.GetGenericSetupPath(@&#8221;TEMPLATE\FEATURES\&#8221; + FeatureName) The SPUtility Class is full of static methods for [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to get the SharePoint Installation Directory Path then you can use the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.sputility.getgenericsetuppath.aspx">SPUtility.GetGenericSetupPath</a> method. For instance if you needed to get the path to a features directory to load some XML you could use the following syntax:</p>
<p>string FeaturesPath = SPUtility.GetGenericSetupPath(@&#8221;TEMPLATE\FEATURES\&#8221; + FeatureName)</p>
<p>The <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.sputility.aspx">SPUtility Class</a> is full of static methods for assisting you in your SharePoint Development.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/get-sharepoint-installation-directory-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SPDisposeCheck</title>
		<link>http://blog.domcosgrove.com/spdisposecheck/</link>
		<comments>http://blog.domcosgrove.com/spdisposecheck/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 16:42:13 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Trouble Shooting]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/?p=281</guid>
		<description><![CDATA[Every SharePoint Developer should have SPDisposeCheck Tool in there arsnel! This tool, developed by the guys on the SharePoint Team will intergoate your compiled .dll&#8217;s to ensure that you are correctly disposing of SharePoint objects, primarily SPSite and SPWeb. Why do we need to dispose of SharePoint object, well from the horses mouth as such [...]]]></description>
			<content:encoded><![CDATA[<p>Every SharePoint Developer should have <a title="SPDisposeCheck Tool" href="http://code.msdn.microsoft.com/SPDisposeCheck" target="_blank">SPDisposeCheck Tool</a> in there arsnel! This tool, developed by the guys on the SharePoint Team will intergoate your compiled .dll&#8217;s to ensure that you are correctly disposing of SharePoint objects, primarily SPSite and SPWeb. Why do we need to dispose of SharePoint object, well from the horses mouth as such :</p>
<p><em>&#8220;Several of the Windows SharePoint Services objects, primarily the <a id="ctl00_MainContent_ctl03" onclick="javascript:Track('ctl00_MainContent_ctl00|ctl00_MainContent_ctl03',this);" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.aspx">SPSite</a> class and <a id="ctl00_MainContent_ctl04" onclick="javascript:Track('ctl00_MainContent_ctl00|ctl00_MainContent_ctl04',this);" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.aspx">SPWeb</a> class objects, are created as managed objects. However, these objects use unmanaged code and memory to perform the majority of their work. The managed part of the object is much smaller than the unmanaged part. Because the smaller managed part does not put memory pressure on the garbage collector, the garbage collector does not release the object from memory in a timely manner. The object&#8217;s use of a large amount of unmanaged memory can cause some of the unusual behaviors described earlier. Calling applications that work with <strong>IDisposable</strong> objects in Windows SharePoint Services must dispose of the objects when the applications finish using them. You should not rely on the garbage collector to release them from memory automatically.&#8221;</em></p>
<p>Roger Lamb has an excellent blog article -<a href="http://blogs.msdn.com/rogerla/archive/2008/02/12/sharepoint-2007-and-wss-3-0-dispose-patterns-by-example.aspx#SPDisposeCheckID_130" target="_blank"> SharePoint 2007 and WSS 3.0 Dispose Patterns by Example</a></p>
<p><strong>Add SPDisposeCheck to Visual Studio</strong></p>
<p>Visual Studio IDE allows you to add External Tools such as SPDisposeCheck. The follow steps explain how:</p>
<p>1. In Visual Studio select <strong>Tools | External Tools</strong></p>
<p>2. Add the following settings:</p>
<p><strong>Title</strong>:  SPDisposeCheck<br />
<strong>Command</strong>: C:\Program Files\Microsoft\SharePoint Dispose Check\SPDisposeCheck.exe<br />
<strong>Arguements</strong>: $(TargetName)$(TargetExt)<br />
<strong>Initial Directory</strong>: $(TargetDir)<br />
<strong>Use Output Window</strong>: Checked</p>
<p><em></p>
<div id="attachment_282" class="wp-caption alignnone" style="width: 310px"><em><img class="size-medium wp-image-282" title="SPDisposeCheck_ExternalTools" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/SPDisposeCheck_ExternalTools-300x296.png" alt="SP Dispose Check External Tools" width="300" height="296" /></em><p class="wp-caption-text">SP Dispose Check External Tools</p></div>
<p></em><strong>Reference</strong><em></em></p>
<p><a href="http://msdn.microsoft.com/en-us/library/aa973248.aspx" target="_blank">Introduction to Using Disposable Windows SharePoint Services Objects</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/spdisposecheck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

