<?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>mylifeinaminute.com &#187; .NET</title>
	<atom:link href="http://www.mylifeinaminute.com/category/microsoft/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mylifeinaminute.com</link>
	<description>You can learn a lot in a minute</description>
	<lastBuildDate>Wed, 18 Jan 2012 02:33:27 +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>IIS 7 and Idle Timeouts</title>
		<link>http://www.mylifeinaminute.com/2011/02/16/iis-7-and-idle-timeouts/</link>
		<comments>http://www.mylifeinaminute.com/2011/02/16/iis-7-and-idle-timeouts/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 18:22:11 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Internet Information Services]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[TechNet]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[iis 7]]></category>
		<category><![CDATA[Technet]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=665</guid>
		<description><![CDATA[There is a bug in the IIS 7 user interface which prevents setting the idleTimeout property of an application pool when both the time (&#8220;Regular Time Interval (minutes)&#8221;) property and idleTimeout properties are set to zero. A quick trip to the command line and the appcmd interface can solve the problem. The following command will [...]]]></description>
			<content:encoded><![CDATA[<p>There is a bug in the <a title="IIS" href="/tag/iis/">IIS</a> 7 user interface which prevents setting the <a title="Configure Idle Time-out Settings for an Application Pool (IIS 7)" href="http://technet.microsoft.com/en-us/library/cc771956(WS.10).aspx"><strong>idleTimeout</strong></a> property of an application pool when both the <strong><a title="Configure an Application Pool to Recycle after an Elapsed Time (IIS 7)" href="http://technet.microsoft.com/en-us/library/cc733120(WS.10).aspx">time</a> </strong>(&#8220;Regular Time Interval (minutes)&#8221;) property and <a title="Configure Idle Time-out Settings for an Application Pool (IIS 7)" href="http://technet.microsoft.com/en-us/library/cc771956(WS.10).aspx"><strong>idleTimeout</strong></a> properties are set to zero.</p>
<p>A quick trip to the command line and the appcmd interface can solve the problem. The following command will set the <strong><a title="Configure Idle Time-out Settings for an Application Pool (IIS 7)" href="http://technet.microsoft.com/en-us/library/cc771956(WS.10).aspx">idleTimeout</a> </strong>property to 10 minutes.</p>
<pre class="brush: plain; light: true; title: ; notranslate">
appcmd set apppool &quot;Application Pool Name&quot; /processModel.idleTimeout:0.00:10:00
</pre>
<p>When properly executed, the command will output the following:</p>
<pre class="brush: plain; light: true; title: ; notranslate">
APPPOOL object &quot;Application Pool Name&quot; changed
</pre>
<p><map name='google_ad_map_665_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/665?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_665_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=665&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F02%2F16%2Fiis-7-and-idle-timeouts%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/02/16/iis-7-and-idle-timeouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS10-070 Released Out-of-Band Today</title>
		<link>http://www.mylifeinaminute.com/2010/09/28/ms10-070-released-out-of-band-today/</link>
		<comments>http://www.mylifeinaminute.com/2010/09/28/ms10-070-released-out-of-band-today/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 20:10:13 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[security patch]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=570</guid>
		<description><![CDATA[The title says it all. Get patching. Hit up the security bulletin for downloads. Reference Microsoft Security Bulletin MS10-070 &#8211; Important Microsoft Security Response Center Microsoft SharePoint Team Blog]]></description>
			<content:encoded><![CDATA[<p>The title says it all. Get patching. Hit up the security bulletin for downloads.</p>
<h4>Reference</h4>
<ul>
<li><a href="http://www.microsoft.com/technet/security/bulletin/ms10-070.mspx" title="Microsoft Security Bulletin MS10-070 - Important">Microsoft Security Bulletin MS10-070 &#8211; Important</a></li>
<li><a href="http://MS10-070 Released Out-of-Band Today" title="MS10-070 Released Out-of-Band Today">Microsoft Security Response Center</a></li>
<li><a href="http://blogs.msdn.com/b/sharepoint/archive/2010/09/28/ms10-070-released-out-of-band-today.aspx" title="MS10-070 Released Out-of-Band Today">Microsoft SharePoint Team Blog</a></li>
</ul>
<p><map name='google_ad_map_570_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/570?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_570_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=570&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F09%2F28%2Fms10-070-released-out-of-band-today%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/09/28/ms10-070-released-out-of-band-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Padding, ASP.NET Vulnerabilities, and SharePoint</title>
		<link>http://www.mylifeinaminute.com/2010/09/21/oracle-padding-asp-net-vulnerabilities-and-sharepoint/</link>
		<comments>http://www.mylifeinaminute.com/2010/09/21/oracle-padding-asp-net-vulnerabilities-and-sharepoint/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 15:51:26 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Guidance]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=548</guid>
		<description><![CDATA[The Microsoft SharePoint team has released specific guidance for a workaround for the recently announced ASP.NET vulnerability (Security Advisory 2416728). With a slight modification, this guidance will also apply to SharePoint 2007. For SharePoint 2010, the relevant web.config entry will look like: While for SharePoint 2007, the web.config entry will read:]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://blogs.msdn.com/sharepoint/" title="Microsoft SharePoint Team Blog">Microsoft SharePoint team</a> has<a href="http://blogs.msdn.com/b/sharepoint/archive/2010/09/21/security-advisory-2416728-vulnerability-in-asp-net-and-sharepoint.aspx" title="Security Advisory 2416728 (Vulnerability in ASP.NET) and SharePoint."> released specific guidance</a> for a workaround for the recently announced ASP.NET vulnerability (<a href="https://www.microsoft.com/technet/security/advisory/2416728.mspx" title="Microsoft Security Advisory (2416728)">Security Advisory 2416728</a>). With a slight modification, this guidance will also apply to SharePoint 2007.</p>
<p>For SharePoint 2010, the relevant web.config entry will look like:</p>
<p>
<pre class="brush: xml; title: ; notranslate"> &lt;customerrors defaultredirect=&quot;/_layouts/error2.aspx&quot; mode=&quot;On&quot; redirectmode=&quot;ResponseRewrite&quot;&gt;&lt;/customerrors&gt;</pre>
</p>
<p>While for SharePoint 2007, the web.config entry will read:</p>
<p>
<pre class="brush: xml; title: ; notranslate"> &lt;customerrors defaultredirect=&quot;/_layouts/error2.aspx&quot; mode=&quot;On&quot;&gt;&lt;/customerrors&gt;</pre></p>
<p><map name='google_ad_map_548_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/548?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_548_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=548&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F09%2F21%2Foracle-padding-asp-net-vulnerabilities-and-sharepoint%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/09/21/oracle-padding-asp-net-vulnerabilities-and-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Solution Downloader</title>
		<link>http://www.mylifeinaminute.com/2009/08/21/sharepoint-solution-downloader/</link>
		<comments>http://www.mylifeinaminute.com/2009/08/21/sharepoint-solution-downloader/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 22:22:24 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[codeplex]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[sharepoint administration]]></category>
		<category><![CDATA[SharePoint Solution Packages]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=401</guid>
		<description><![CDATA[One of my pain points as a SharePoint &#8220;administrator&#8221; is having to deal with deployments of solution packages to my environment without the best change management. This means that I often see packages making their way in to the environment without any thought given to keeping the package in case it needs to be reapplied [...]]]></description>
			<content:encoded><![CDATA[<p>One of my pain points as a SharePoint &#8220;administrator&#8221; is having to deal with deployments of solution packages to my environment without the best change management. This means that I often see packages making their way in to the environment without any thought given to keeping the package in case it needs to be reapplied at a later time (Note: I&#8217;m not the only one who controls what goes into the environment).</p>
<p>The solution? I whipped up a Windows application so download one, several, or all of the solution packages currently stored in the farm configuration database.</p>
<p>I have posted the application to <a title="SharePoint Solution Downloader" href="http://spsolutiondownloader.codeplex.com/">CodePlex</a> @ <a title="SharePoint Solution Downloader" href="http://spsolutiondownloader.codeplex.com/">http://spsolutiondownloader.codeplex.com/</a>.</p>
<p style="text-align: center;"><a href="/images/2009/08/spdownloader_download.jpg" target="_blank" rel="lightbox[401]"><img class="aligncenter size-medium wp-image-402" title="SharePoint Solution Downloader" src="http://www.mylifeinaminute.com/images/2009/08/spdownloader_download-300x155.jpg" alt="SharePoint Solution Downloader" width="300" height="155" /></a></p>
<p>The application must be run in the context of a Farm Administrator (i.e. right-click, <em>Run As&#8230;</em>) on a server in the farm for which you wish to download the solution package(s) from and requires the .NET Framework 3.5.</p>
<p>I would love some feedback from the community as to whether or not this useful. I have some other little apps in mind I could put together with the proper motivation.</p>
<p><map name='google_ad_map_401_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/401?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_401_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=401&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2009%2F08%2F21%2Fsharepoint-solution-downloader%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2009/08/21/sharepoint-solution-downloader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zevenseas LifeCycle Management Released</title>
		<link>http://www.mylifeinaminute.com/2009/02/06/zevenseas-lifecycle-management-released/</link>
		<comments>http://www.mylifeinaminute.com/2009/02/06/zevenseas-lifecycle-management-released/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 19:31:20 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[codeplex]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[wss 3.0]]></category>
		<category><![CDATA[zevenseas]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=315</guid>
		<description><![CDATA[zevenseas has released their SharePoint LifeCycle Management solution to CodePlex.  The LifeCycle Management solution can be used to track unused SharePoint sites as well as capture and automatically back-up sites.  Actions can be defined to use against your unused sites, such as emailing the site owner, locking the site, or even deleting it. What are [...]]]></description>
			<content:encoded><![CDATA[<p><a title="zevenseas Blogs" href="http://community.zevenseas.com/Blogs">zevenseas</a> has released their <a title="zevenseas LCM" href="http://community.zevenseas.com/Blogs/Robin/archive/2009/02/06/zevenseas-lcm-it%E2%80%99s-finally-here.aspx">SharePoint LifeCycle Management</a> solution to <a title="zevenseas LifeCycle Management" href="http://www.codeplex.com/zsLCM">CodePlex</a>.  The LifeCycle Management solution can be used to track unused SharePoint sites as well as capture and automatically back-up sites.  Actions can be defined to use against your unused sites, such as emailing the site owner, locking the site, or even deleting it.</p>
<p>What are you waiting for?  Go <a title="zevenseas LifeCycle Management" href="http://www.codeplex.com/zsLCM">check it out</a>!</p>
<p><map name='google_ad_map_315_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/315?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_315_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=315&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2009%2F02%2F06%2Fzevenseas-lifecycle-management-released%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2009/02/06/zevenseas-lifecycle-management-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In Case You Missed It &#8211; Content Deployment Webcast</title>
		<link>http://www.mylifeinaminute.com/2009/01/07/in-case-you-missed-it-content-deployment-webcast/</link>
		<comments>http://www.mylifeinaminute.com/2009/01/07/in-case-you-missed-it-content-deployment-webcast/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 16:45:09 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>
		<category><![CDATA[content deployment]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=294</guid>
		<description><![CDATA[Spencer Harbar presented an excellent webcast on content deployment in SharePoint 2007 yesterday. If you&#8217;ve ever wanted to learn more about it, now is the time. Go check it out.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.harbar.net/">Spencer Harbar</a> presented an excellent webcast on <a title="Plan content deployment" href="http://technet.microsoft.com/en-us/library/cc263428.aspx">content deployment</a> in <a href="/tag/moss-2007/">SharePoint 2007</a> yesterday. If you&#8217;ve ever wanted to learn more about it, now is the time.</p>
<p><a href="http://www.harbar.net/archive/2009/01/07/content-deployment-webcast-now-available-on-demand.aspx">Go check it out</a>.</p>
<p><map name='google_ad_map_294_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/294?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_294_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=294&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2009%2F01%2F07%2Fin-case-you-missed-it-content-deployment-webcast%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2009/01/07/in-case-you-missed-it-content-deployment-webcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Absolute URLs in a Content Editor Web Part</title>
		<link>http://www.mylifeinaminute.com/2008/12/24/fixing-absolute-urls-in-a-content-editor-web-part/</link>
		<comments>http://www.mylifeinaminute.com/2008/12/24/fixing-absolute-urls-in-a-content-editor-web-part/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 15:00:24 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[TechNet]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[control adapter]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=271</guid>
		<description><![CDATA[Maxime Bombardier has a post on the subject of fixing one of the bigger issues with the Content Editor web part. For the uninitiated, a Content Editor web part always renders absolute URLs when the rich-text editing capabilities are used. I must admit that I would have never have thought to use a control adapter [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.msdn.com/maximeb/default.aspx" title="Maxime Bombardier">Maxime Bombardier</a> has a post on the subject of fixing one of the bigger issues with the Content Editor web part. For the uninitiated, a <a href="http://www.contenteditorwebpart.com/default.aspx">Content Editor web part</a> always renders absolute URLs when the rich-text editing capabilities are used. I must admit that I would have never have thought to use a <a href="http://msdn.microsoft.com/en-us/library/67276kc5.aspx" title="Architectural Overview of Adaptive Control Behavior">control adapter</a> to manipulate the output of the web part on the fly. Now that I have learned something new, you should too.</p>
</p>
<p><a href="http://blogs.msdn.com/maximeb/archive/2008/12/23/fixing-absolute-urls-for-all-alternate-access-mappings-aam-of-content-editor-web-part-with-a-control-adapter.aspx" title="Fixing absolute URLs for all Alternate Access Mappings (AAM) of Content Editor Web Part with a Control Adapter">Go check it out</a>.</p>
<p><map name='google_ad_map_271_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/271?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_271_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=271&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2008%2F12%2F24%2Ffixing-absolute-urls-in-a-content-editor-web-part%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2008/12/24/fixing-absolute-urls-in-a-content-editor-web-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HubKey&#8217;s Development Hole</title>
		<link>http://www.mylifeinaminute.com/2008/12/23/hubkeys-development-hole/</link>
		<comments>http://www.mylifeinaminute.com/2008/12/23/hubkeys-development-hole/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 21:08:35 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[APIs]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[hubkey]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=262</guid>
		<description><![CDATA[Over at the Development Hole, the HubKey crew has been busy building out a SharePoint API that mimics the internal SharePoint object model. If you have ever felt the pain of having to have a SharePoint instance/farm/installation available to run your code again, you&#8217;ll appreciate what HubKey is doing. You can grab a beta of [...]]]></description>
			<content:encoded><![CDATA[<p>Over at the <a href="http://geek.hubkey.com" title="Development Hole">Development Hole</a>, the <a href="http://www.hubkey.com/" title="HubKey">HubKey</a> crew has been busy building out a <a href="http://geek.hubkey.com/2008/11/sharepoint-api-client-side-object-model.html" title="SharePoint API: A client-side object model">SharePoint API</a> that mimics the internal SharePoint object model.</p>
<p>If you have ever felt the pain of having to have a SharePoint instance/farm/installation available to run your code again, you&#8217;ll appreciate what <a href="http://www.hubkey.com/" title="HubKey">HubKey</a> is doing.  You can grab a beta of their API <a href="http://www.hubkey.com/contact.aspx">here</a> (select HubKey SharePoint API as your interest).</p>
<p><map name='google_ad_map_262_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/262?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_262_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=262&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2008%2F12%2F23%2Fhubkeys-development-hole%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2008/12/23/hubkeys-development-hole/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating User Profile Properties for the Current User</title>
		<link>http://www.mylifeinaminute.com/2008/12/16/updating-user-profile-properties-for-the-current-user/</link>
		<comments>http://www.mylifeinaminute.com/2008/12/16/updating-user-profile-properties-for-the-current-user/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 16:46:48 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[TechNet]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Profile Management]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=256</guid>
		<description><![CDATA[Updates to a user&#8217;s profile properties can be performed with the following:]]></description>
			<content:encoded><![CDATA[<p>Updates to a user&#8217;s profile properties can be performed with the following:</p>
<p><span id="more-256"></span></p>
<pre>
<pre class="brush: csharp; title: ; notranslate">
SPSite site = SPContext.GetContext(HttpContext.Current).Site;
                ServerContext serverContext = ServerContext.GetContext(site);

                UserProfileManager profileManager = new UserProfileManager(serverContext);
                UserProfile currentUserProfile = profileManager.GetUserProfile(System.Web.HttpContext.Current.User.Identity.Name);

                if (this.chkTerms.Checked)
                    currentUserProfile[&quot;TermsOfUseAccepted&quot;].Value = &quot;true&quot;;
                else
                    currentUserProfile[&quot;TermsOfUseAccepted&quot;].Value = &quot;false&quot;;

                currentUserProfile[&quot;SecurityQuestion1&quot;].Value = this.lstQuestion1.SelectedItem.Text + &quot;|&quot; + Server.HtmlEncode(this.txtQuestion1Ans.Text);
                currentUserProfile[&quot;SecurityQuestion2&quot;].Value = this.lstQuestion2.SelectedItem.Text + &quot;|&quot; + Server.HtmlEncode(this.txtQuestion2Ans.Text);
                currentUserProfile[&quot;SecurityQuestion3&quot;].Value = this.lstQuestion3.SelectedItem.Text + &quot;|&quot; + Server.HtmlEncode(this.txtQuestion3Ans.Text);

                currentUserProfile.Commit();

                site.RootWeb.Dispose();
                site.Dispose();
</pre>
</pre>
<p><map name='google_ad_map_256_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/256?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_256_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=256&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2008%2F12%2F16%2Fupdating-user-profile-properties-for-the-current-user%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2008/12/16/updating-user-profile-properties-for-the-current-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieving User Profile Properties for the Current User</title>
		<link>http://www.mylifeinaminute.com/2008/12/16/retrieving-user-profile-properties-for-the-current-user/</link>
		<comments>http://www.mylifeinaminute.com/2008/12/16/retrieving-user-profile-properties-for-the-current-user/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 16:42:10 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[TechNet]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[Shared Services Provider]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Profile Management]]></category>
		<category><![CDATA[SharePoint User Management]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=254</guid>
		<description><![CDATA[Retrieving a user&#8217;s profile properties can be achieved with the following block: Note that this buids on Creating Custom Profile Properties Through Code.]]></description>
			<content:encoded><![CDATA[<p>Retrieving a user&#8217;s profile properties can be achieved with the following block:</p>
<p><span id="more-254"></span></p>
<pre>
<pre class="brush: csharp; title: ; notranslate">
SPSite site = SPContext.GetContext(HttpContext.Current).Site;
            ServerContext serverContext = ServerContext.GetContext(site);

            UserProfileManager profileManager = new UserProfileManager(serverContext);
            UserProfile currentUserProfile = null;

            if (profileManager.UserExists(System.Web.HttpContext.Current.User.Identity.Name))
                currentUserProfile = profileManager.GetUserProfile(System.Web.HttpContext.Current.User.Identity.Name);
            else
                currentUserProfile = profileManager.CreateUserProfile(System.Web.HttpContext.Current.User.Identity.Name);

            string termsOfUseAnswered = (string)currentUserProfile[&quot;TermsOfUseAccepted&quot;].Value;
            string securityQuestion1 = (string)currentUserProfile[&quot;SecurityQuestion1&quot;].Value;
            string securityQuestion2 = (string)currentUserProfile[&quot;SecurityQuestion2&quot;].Value;
            string securityQuestion3 = (string)currentUserProfile[&quot;SecurityQuestion3&quot;].Value;
</pre>
</pre>
<p>Note that this buids on <a href="/2008/12/16/creating-custom-profile-properties-through-code-c/" title="Creating Custom Profile Properties Through Code (C#)">Creating Custom Profile Properties Through Code</a>.</p>
<p><map name='google_ad_map_254_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/254?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_254_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=254&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2008%2F12%2F16%2Fretrieving-user-profile-properties-for-the-current-user%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2008/12/16/retrieving-user-profile-properties-for-the-current-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.mylifeinaminute.com @ 2012-02-07 15:46:38 by W3 Total Cache -->
