<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Blog Bustin&#039; .NET Beats</title>
	<atom:link href="http://blogbustingbeats.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogbustingbeats.wordpress.com</link>
	<description>Summaries of useful  resources, books and articles from around the web</description>
	<lastBuildDate>Thu, 25 Aug 2011 16:01:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blogbustingbeats.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Blog Bustin&#039; .NET Beats</title>
		<link>http://blogbustingbeats.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blogbustingbeats.wordpress.com/osd.xml" title="Blog Bustin&#039; .NET Beats" />
	<atom:link rel='hub' href='http://blogbustingbeats.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Umbraco Export to .NET &#8211; Skips properties in Inherited Tabs</title>
		<link>http://blogbustingbeats.wordpress.com/2011/08/18/umbraco-export-to-net-skips-properties-in-inherited-tabs/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/08/18/umbraco-export-to-net-skips-properties-in-inherited-tabs/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 18:40:22 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=947</guid>
		<description><![CDATA[Place a property of any type in the Generic tab and it always exports, move it to a tab inherited from the parent docType and it&#8217;s excluded from the export. Seeing this issue in v.4.7, issue occurs with our without using the autoexport2dotnet (http://our.umbraco.org/projects/developer-tools/autoexport2dotnet) &#8211; because it&#8217;s an issue in the core export logic. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=947&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Place a property of any type in the Generic tab and it always exports, move it to a tab inherited from the parent docType and it&#8217;s excluded from the export.</p>
<p>Seeing this issue in v.4.7, issue occurs with our without using the autoexport2dotnet (http://our.umbraco.org/projects/developer-tools/autoexport2dotnet) &#8211; because it&#8217;s an issue in the core export logic.</p>
<p>This is caused by what <strong>seems</strong> like a bug in the umbraco.presentation project, in <strong>\umbraco\presentation\umbraco\dialogs\ExportCode.aspx.cs</strong> in the <strong>GenerateProperties</strong> method.</p>
<pre class="brush: csharp;">		private object GenerateProperties(DocumentType dt)
		{
			var sb = new StringBuilder();

			foreach (var pt in
                dt.getVirtualTabs.Where(x =&gt; x.ContentType == dt.Id).SelectMany(x =&gt; x.GetPropertyTypes(dt.Id, true))
                .Concat(dt.PropertyTypes.Where(x =&gt; x.ContentTypeId == dt.Id /* don't limit this to generic tab! &amp;&amp; x.TabId == 0*/)).Distinct()
                )
			{
				//...loops and writes properties here
</pre>
<p>In the above the bit to remove is the &#8220;x.TabId == 0&#8243; that I&#8217;ve commented out &#8211; this limits the properties rendered to the first tab (the generic properties).</p>
<p>I have only tested this quickly, but seems to work perfectly &#8211; I will update here if I find any issues &#8211; cheers!</p>
<p>PS. Please note that this method has changed between version 4.7.0 and 4.7.1 because of a separate issue &#8211; however for both version removing the &#8220;x.TabId == 0&#8243; solves this issue.</p>
<p>If you include abstractions (interfaces) in your export, you need to make the same amend to the <strong>GenerateAbstractProperties</strong> method, so remove the check for TabId == 0 and make the selection distinct.</p>
<p>I wrote this solution here as well: <a href="http://our.umbraco.org/forum/templating/templates-and-document-types/18730-%27Export-to-net%27-not-including-properties-on-inherited-tabs">http://our.umbraco.org/forum/templating/templates-and-document-types/18730-%27Export-to-net%27-not-including-properties-on-inherited-tabs</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/947/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=947&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/08/18/umbraco-export-to-net-skips-properties-in-inherited-tabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET (C#) &#8211; format decimal as price &#8211; with no culture specific information and two decimal points</title>
		<link>http://blogbustingbeats.wordpress.com/2011/08/07/net-c-format-decimal-without-culture-specific-information-two-decimal-points/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/08/07/net-c-format-decimal-without-culture-specific-information-two-decimal-points/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 09:27:58 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=924</guid>
		<description><![CDATA[This is one of those where there&#8217;s so many ways of doing something simple &#8211; you end up going &#8220;will someone please just tell me how the&#8230;&#8221; etc etc :0) The below is a simple basic way, which ignores all culture specific information (you add the currency symbol yourself), and gives you two decimal points. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=924&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is one of those where there&#8217;s so many ways of doing something simple &#8211; you end up going &#8220;will someone please just tell me how the&#8230;&#8221; etc etc :0)<br />
The below is a simple basic way, which ignores all culture specific information (you add the currency symbol yourself), and gives you two decimal points.</p>
<pre class="brush: csharp;">
		decimal decimalValue = 12.99M;
		string test = String.Format(&quot;Item costs £{0:N} only&quot;, decimalValue);
		//&quot;Item costs £12.99 only&quot;
		//This will also round correctly - e.g. 12.995 to &quot;13.00&quot;, and 12.994 to &quot;12.99&quot;.
</pre>
<p>And if you need to inject the currency symbol based on some logic:</p>
<pre class="brush: csharp;">
		string currencySymbol = &quot;£&quot;;
		string test = String.Format(&quot;Item costs {0}{1:N} only&quot;, currencySymbol, decimalValue);
		//&quot;Item costs £12.99 only&quot;
</pre>
<p>And then of course finally we stick this into an extension method:</p>
<pre class="brush: csharp;">
	public static class ExtDecimal
	{
		public static string ToMoney(this Decimal d, string currencySymbol)
		{
			return String.Format(&quot;{0}{1:N}&quot;, currencySymbol, d);
		}
	}

	...

	string test = decimalValue.ToMoney(&quot;£&quot;);
	//&quot;£12.99&quot; - and above example:
	test = String.Format(&quot;Item costs {0} only&quot;, decimalValue.ToMoney(&quot;£&quot;));
	//&quot;Item costs £12.99 only&quot;
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/924/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=924&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/08/07/net-c-format-decimal-without-culture-specific-information-two-decimal-points/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
		<item>
		<title>Multiple SSL sites using host headers in IIS 6</title>
		<link>http://blogbustingbeats.wordpress.com/2011/08/04/multiple-ssl-sites-using-host-headers-in-iis-6/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/08/04/multiple-ssl-sites-using-host-headers-in-iis-6/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 06:53:46 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=912</guid>
		<description><![CDATA[Use 443 for all, but use host file configured headers to distinguish (your host file lives at c:\windows\system32\drivers\etc\host) To setup run this from your command prompt (if fails try the Visual Studio command prompt). In the above the id listed between &#8220;w3svc&#8221; and &#8220;SecureBindings&#8221; (i.e. 1 and 726940114) is the ID of the website in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=912&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Use 443 for all, but use host file configured headers to distinguish (your host file lives at c:\windows\system32\drivers\etc\host)</p>
<p>To setup run this from your command prompt (if fails try the Visual Studio command prompt).</p>
<pre class="brush: vb;">
cscript.exe adsutil.vbs set /w3svc/1/SecureBindings &quot;:443:siteonedomain.localhost.com&quot;
cscript.exe adsutil.vbs set /w3svc/726940114/SecureBindings &quot;:443:anotherdomain.localhost.com&quot;
</pre>
<p>In the above the id listed between &#8220;w3svc&#8221; and &#8220;SecureBindings&#8221; (i.e. 1 and 726940114) is the ID of the website in IIS. You can see this in the IIS admin console when you view all sites &#8211; or you can use the below script to print all in the command prompt:</p>
<p>To list all bindings (save as .vbs file):</p>
<pre class="brush: vb;">
strComputer = &quot;.&quot;

Set objWMIService = GetObject _
    (&quot;winmgmts:{authenticationLevel=pktPrivacy}\\&quot; _
        &amp; strComputer &amp; &quot;\root\microsoftiisv2&quot;)

Set colItems = objWMIService.ExecQuery _
    (&quot;Select * from IIsWebServerSetting&quot;)

For Each objItem in colItems
    For i = 0 to Ubound(objItem.SecureBindings)
        Wscript.Echo &quot;Port: &quot; &amp; _
            objItem.SecureBindings(i).Port
    Next
Next
</pre>
<p>See <a href="http://www.sslshopper.com/article-how-to-configure-ssl-host-headers-in-iis-6.html" target="_blank">http://www.sslshopper.com/article-how-to-configure-ssl-host-headers-in-iis-6.html</a> for details and explanation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/912/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/912/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/912/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/912/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/912/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/912/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/912/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/912/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/912/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/912/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/912/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/912/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/912/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/912/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=912&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/08/04/multiple-ssl-sites-using-host-headers-in-iis-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET Session State IsNew &#8211; or is it?</title>
		<link>http://blogbustingbeats.wordpress.com/2011/08/04/asp-net-session-state-gotchas-a-couple-of/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/08/04/asp-net-session-state-gotchas-a-couple-of/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 06:22:41 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=908</guid>
		<description><![CDATA[A new session ID is generated for each request in applications that do not store data in the session dictionary. Yes it&#8217;s amazing, but true. Logically you&#8217;d expect a new ASP.NET session object to be created when the user arrives at your site, and then expire 20 mins (or whatever you configure) after they leave, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=908&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>A new session ID is generated for each request in applications that do not store data in the session dictionary.</h4>
<p>Yes it&#8217;s amazing, but true. Logically you&#8217;d expect a new ASP.NET session object to be created when the user arrives at your site, and then expire 20 mins (or whatever you configure) after they leave, but in fact a new instance is created for each request, until (if ever) your code sticks some data into session state.</p>
<p>The reason for this is performance &#8211; at the end of the request life cycle any data placed in Session state is serialised and persisted using your chosen provider. If there&#8217;s no data, then ASP.NET skips the taks of maintaining the session ID and loading this again next time.</p>
<p>If you&#8217;re using the default InProc mode then the performance gain might be negligable, but if you&#8217;re for instance using SQL server then the job of adding an empty record to the session state tables, and reading this again (for no purpose) is very sensibly skipped.</p>
<p>What this does mean however is that the Session IsNew property will return true until you use Session State &#8211; so don&#8217;t use this flag to check if a user has just arrived at your site. If you need to check this you could place your own cookie to expire with the session (i.e. don&#8217;t set the cookie&#8217;s Expire property).</p>
<p>Key thing is &#8211; Session State might be new, but that does not mean your user&#8217;s session on the webserver is.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/908/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=908&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/08/04/asp-net-session-state-gotchas-a-couple-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
		<item>
		<title>PowerShell &#8211; Passing Arguments to a Function &#8211; Don&#8217;t Use Commas!</title>
		<link>http://blogbustingbeats.wordpress.com/2011/05/19/powershell-passing-arguments-to-a-function-dont-use-commas/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/05/19/powershell-passing-arguments-to-a-function-dont-use-commas/#comments</comments>
		<pubDate>Thu, 19 May 2011 19:31:08 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=886</guid>
		<description><![CDATA[Recently picked up PowerShell for some automated deployment scripts &#8211; when passing more than one argument to a function I seemed to end up with one strange object, and any subsequent arguments were simply missing. The problem was that within PowerShell you must separate arguments to a function by spaces rather than commas &#8211; if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=886&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently picked up PowerShell for some automated deployment scripts &#8211; when passing more than one argument to a function I seemed to end up with one strange object, and any subsequent arguments were simply missing.<br />
The problem was that within PowerShell you must separate arguments to a function by <strong>spaces</strong> rather than commas &#8211; if you use commas you are actually creating a list (of objects) and passing that as the first argument.</p>
<p>So say you have a function myFunction defined somewhere &#8211; the below call will dynamically create a list (the parentheses are simply ignored) and pass that to myFunction:
<pre>
    myFunction($arg1, $arg2, $arg3);
    #myFunction will receive ONE argument from this call, a list with three elements
    #The second and third parameter will be null.
</pre>
<p>The correct way to pass three separate arguments is with spaces:
<pre>
    myFunction $arg1 $arg2 $arg3;
    # my function will receive THREE separate arguments from this call.
</pre>
<p>I mainly code in C# &#8211; and I think the main reason this caught me out, is that PowerShell scripting language is otherwise very similar to C#, especially when you code in a nice IDE like <a href="http://powergui.org/" title="Link to Power GUI">Power GUI</a>.<br />
At the time I calling a function inside a foreach loop with a XmlElement, and it&#8217;s just odd that you then have to &#8220;switch back&#8221; to this kind of classic command line passing of params.. but there you go &#8211; it&#8217;s a shell, albeit a powerful one!</p>
<p>This is also covered along with some other great PowerShell gotchas in the excellent article here <a href="http://www.johndcook.com/powershell_gotchas.html">http://www.johndcook.com/powershell_gotchas.html</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/886/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=886&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/05/19/powershell-passing-arguments-to-a-function-dont-use-commas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
		<item>
		<title>Digital Volcano&#8217;s Excellent Duplicate File Cleaner</title>
		<link>http://blogbustingbeats.wordpress.com/2011/05/15/digital-volcanos-excellent-duplicate-file-cleaner/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/05/15/digital-volcanos-excellent-duplicate-file-cleaner/#comments</comments>
		<pubDate>Sun, 15 May 2011 18:03:05 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[Windows/Server/IIS]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=880</guid>
		<description><![CDATA[Some times one is amazed at the free software out there &#8211; Digital Volcano&#8217;s Duplicate Cleaner is a brilliantly designed, super fast, easy to use piece of software brilliance, and it really is just free &#8211; no &#8220;you can only&#8221; or &#8220;x days only&#8221; limitation &#8211; just full featured and free. Get your copy quick: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=880&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some times one is amazed at the free software out there &#8211; Digital Volcano&#8217;s Duplicate Cleaner is a brilliantly designed, super fast, easy to use piece of software brilliance, and it really is just free &#8211; no &#8220;you can only&#8221; or &#8220;x days only&#8221; limitation &#8211; just full featured and free.<br />
Get your copy quick: <a href="http://www.digitalvolcano.co.uk/content/duplicate-cleaner" title="Digital Volcano's Duplicate Cleaner">http://www.digitalvolcano.co.uk/content/duplicate-cleaner</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/880/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/880/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/880/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/880/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/880/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/880/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/880/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/880/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/880/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/880/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/880/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/880/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/880/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/880/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=880&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/05/15/digital-volcanos-excellent-duplicate-file-cleaner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
		<item>
		<title>Umbraco Examine &#8211; Indexing Large Sites &#8211; ThreadAbort Timeout Error Workaround</title>
		<link>http://blogbustingbeats.wordpress.com/2011/05/08/umbraco-examine-indexing-large-sites-threadabort-timeout-error-workaround/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/05/08/umbraco-examine-indexing-large-sites-threadabort-timeout-error-workaround/#comments</comments>
		<pubDate>Sun, 08 May 2011 13:14:41 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=857</guid>
		<description><![CDATA[This relates to a problem with Umbraco Examine indexing very large Umbraco sites. The issue is being looked at by the core Examine team, however if like us you can&#8217;t wait &#8211; the below describes a workaround we used: As part of an Umbraco 4.7 (which ended up being a 4.7.1 upgrade for other reasons) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=857&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This relates to a problem with Umbraco Examine indexing very large Umbraco sites. The issue is being looked at by the core Examine team, however if like us you can&#8217;t wait &#8211; the below describes a workaround we used:</p>
<p>As part of an Umbraco 4.7 (which ended up being a 4.7.1 upgrade for <a href="http://blogbustingbeats.wordpress.com/2011/03/22/umbraco-preview-performance-slow/">other reasons</a>) we had an issue with the UmbracoExamine indexing timing out when initially creating the internal indexes for Members and Content respectively. This initial indexing action happens on the application start as the UmbracoEventManager constructor calls EnsureIndexesExist().<br />
The item is logged in the work item here: <a href="http://examine.codeplex.com/workitem/10324">http://examine.codeplex.com/workitem/10324</a> &#8211; and the good people at the Farm have already started working on a solution.<br />
The current solution is to split the Lucene .add files into folders with 500 in each, which improves the IO performance. Another very welcome addition is a new RebuildOnAppStart configuration setting in the ExamineSettings.config file:<br />
<code>
<pre>&lt;Examine RebuildOnAppStart="false"&gt;
</pre>
<p></code><br />
We used this setting in conjunction with the Examine Index admin package found here: <a href="http://our.umbraco.org/projects/backoffice-extensions/examine-index-admin" title="Link to Examine Index admin Package">http://our.umbraco.org/projects/backoffice-extensions/examine-index-admin</a> &#8211; which allows you to kick off the indexSets one at a time, and monitor the progress.</p>
<p>Some other potential issues:</p>
<ul>
<li>In a large site you might get &gt;9 batch folders in the queue folder &#8211; currently this breaks (bear in mind we&#8217;re using untested source code here). Likely this will be fixed soon &#8211; but if you still get this, you need to add a Int32.Parse to the ordering statements in the LuceneIndexer.cs file.</li>
<li>The processing does not index all the queued batch folders, again you need to look at LuceneIndexer.cs, in the ForceProcessQueueItems() you need to order the names using an Int32.Parse and then convert this sort to a list before iterating.</li>
<li>The Examine Index package may time out before generating all the .add files (in the batched folders) as this is not done asynchronously. To solve this we added this to the package file at \usercontrols\packages\umbraco\ExamineIndexAdmin.ascx.cs (note this does not have to be compiled, uses the CodeFile attribute in the aspx):<br />
<code>
<pre>
private int _orgTimeOut;

        private void Page_Init(object sender, System.EventArgs e)
        {
            _orgTimeOut = Server.ScriptTimeout;
            Server.ScriptTimeout = 3600; //1 hour (seconds)
        }

        private void Page_PreRender(object sender, System.EventArgs e)
        {
            Server.ScriptTimeout = _orgTimeOut;
        }
</code></pre>
<p>This is adapted from here: <a href="http://codebetter.com/petervanooijen/2006/06/15/timeout-of-an-asp-net-page/">http://codebetter.com/petervanooijen/2006/06/15/timeout-of-an-asp-net-page/</a>.<br />
I'm not sure it's a super great solution, as it will affect all requests until the pre_render event reverts - but I wanted a solution that did not require us to modify the web.config.
</li>
</ul>
<p>All in all, the above is a viable interim solution for what is likely to be a temporary problem in the Umbraco Examine project. Once these indexes have been generated, the day-to-day indexing is unaffected by the size of your content (or number of members) and works perfectly.<br />
As discussed, it also seems that the Umbraco Examine folks at <a href="http://www.farmcode.org/" title="Link to Farm Code">The Farm</a> are already aware of these issues, so I'm sure they will have an updated release that fixes this (properly) very soon.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/857/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=857&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/05/08/umbraco-examine-indexing-large-sites-threadabort-timeout-error-workaround/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
		<item>
		<title>Umbraco Upgrade hangs at 35% &#8220;Upgrading Database Tables&#8221;</title>
		<link>http://blogbustingbeats.wordpress.com/2011/05/07/umbraco-upgrade-hangs-at-35-upgrading-database-tables/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/05/07/umbraco-upgrade-hangs-at-35-upgrading-database-tables/#comments</comments>
		<pubDate>Sat, 07 May 2011 18:45:23 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=844</guid>
		<description><![CDATA[This is an issue that seems to apply to the install wizard for Umbraco 4.6 and 4.7, when upgrading from older versions. At the database step you get to 35% with the status &#8220;upgrading database tables&#8221; &#8211; and nothing else happens. This is caused by a bug in the install code &#8211; the format of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=844&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is an issue that seems to apply to the install wizard for Umbraco 4.6 and 4.7, when upgrading from older versions.<br />
At the database step you get to 35% with the status &#8220;upgrading database tables&#8221; &#8211; and nothing else happens.</p>
<p>This is caused by a bug in the install code &#8211; the format of the code makes it hard to spot &#8211; but below reformatted section from \umbraco\presentation\install\utills\p.aspx.cs shows the problem &#8211; the first block is incorrect and should be removed:</p>
<p><a href="http://blogbustingbeats.files.wordpress.com/2011/05/screenshot-141.png"><img src="http://blogbustingbeats.files.wordpress.com/2011/05/screenshot-141.png?w=500&#038;h=268" alt="" title="screenshot-141" width="500" height="268" class="aligncenter size-full wp-image-846" /></a></p>
<p>Howver, at the point where you see the &#8220;35% Updatings database tables&#8230;&#8221; the code has already checked that&#8217;s it&#8217;s able to connect to and upgrade your database. The Install() call (above) is a quick set of SQL statements &#8211; only takes a couple of seconds to run &#8211; and the RefreshContent() is async (will run separately in another thread), so if you have been looking at the &#8220;35 upgrading tables&#8221; for a little while it&#8217;s <em>pretty safe</em> to assume that this has completed without errors, and hitting F5 will then force a recheck of your database which should send you on to the next step.</p>
<p>I&#8217;ve also covered this issue in the Umbraco forums here: <a href="http://our.umbraco.org/forum/getting-started/installing-umbraco/17531-Upgrade-to-461-Updating-database-tables-Problem" target="_blank">http://our.umbraco.org/forum/getting-started/installing-umbraco/17531-Upgrade-to-461-Updating-database-tables-Problem</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/844/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=844&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/05/07/umbraco-upgrade-hangs-at-35-upgrading-database-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>

		<media:content url="http://blogbustingbeats.files.wordpress.com/2011/05/screenshot-141.png" medium="image">
			<media:title type="html">screenshot-141</media:title>
		</media:content>
	</item>
		<item>
		<title>Loading Custom youTube player Using jQuery</title>
		<link>http://blogbustingbeats.wordpress.com/2011/04/16/loading-custom-youtube-using-jquery/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/04/16/loading-custom-youtube-using-jquery/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 06:18:53 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=831</guid>
		<description><![CDATA[Did this in ASP.NET &#8211; should roll into a user control, and load the jScript using the Client Dependency Framework &#8211; but code is as follows (jQuery from here): &#60;div id="youtube-player"&#62;&#60;/div&#62; $('#youtube-player').youTubeEmbed({ video: 'http://www.youtube.com/watch?v=TUoOcDGMgT4' , width: 226 // Height is calculated automatically , progressBar: false // Hide the progress bar , autoplay: 1 });<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=831&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Did this in ASP.NET &#8211; should roll into a user control, and load the jScript using the <a href="http://clientdependency.codeplex.com/">Client Dependency Framework</a> &#8211; but code is as follows (jQuery from <a href="http://tutorialzine.com/2010/07/youtube-api-custom-player-jquery-css/">here</a>):</p>
<pre><code>
	&lt;div id="youtube-player"&gt;&lt;/div&gt;
	$('#youtube-player').youTubeEmbed({
		video: 'http://www.youtube.com/watch?v=TUoOcDGMgT4'
		, width: 226 		// Height is calculated automatically
		, progressBar: false	// Hide the progress bar
		, autoplay: 1
	});

</code></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/831/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=831&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/04/16/loading-custom-youtube-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
		<item>
		<title>A new Session ID for each request (until you use session)</title>
		<link>http://blogbustingbeats.wordpress.com/2011/04/14/a-new-session-id-for-each-request-until-you-use-session/</link>
		<comments>http://blogbustingbeats.wordpress.com/2011/04/14/a-new-session-id-for-each-request-until-you-use-session/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 07:55:44 +0000</pubDate>
		<dc:creator>blogbustingbeats</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://blogbustingbeats.wordpress.com/?p=829</guid>
		<description><![CDATA[Caught me out twice now this &#8211; watch it with the Session.IsNewSession property &#8211; a new session ID is generated for each request in applications that do not store data in the session dictionary. http://msdn.microsoft.com/en-us/library/aa479041.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=829&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Caught me out twice now this &#8211; watch it with the Session.IsNewSession property &#8211; a new session ID is generated for each request in applications that do not store data in the session dictionary.<br />
<a href="http://msdn.microsoft.com/en-us/library/aa479041.aspx">http://msdn.microsoft.com/en-us/library/aa479041.aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogbustingbeats.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogbustingbeats.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogbustingbeats.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogbustingbeats.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogbustingbeats.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogbustingbeats.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogbustingbeats.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogbustingbeats.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogbustingbeats.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogbustingbeats.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogbustingbeats.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogbustingbeats.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogbustingbeats.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogbustingbeats.wordpress.com/829/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogbustingbeats.wordpress.com&amp;blog=1409830&amp;post=829&amp;subd=blogbustingbeats&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://blogbustingbeats.wordpress.com/2011/04/14/a-new-session-id-for-each-request-until-you-use-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/002d11cbb2cd8cc21d50933371fcccb9?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">blogbustingbeats</media:title>
		</media:content>
	</item>
	</channel>
</rss>
