<?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>thefusebox.be</title>
	<atom:link href="http://www.thefusebox.be/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thefusebox.be</link>
	<description>tom cryns</description>
	<lastBuildDate>Sun, 01 Apr 2012 20:44:41 +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>Johnny Berlin &#8211; Sid Meier (Sure Thing)</title>
		<link>http://www.thefusebox.be/muziek/johnny-berlin-sid-meier-sure-thing</link>
		<comments>http://www.thefusebox.be/muziek/johnny-berlin-sid-meier-sure-thing#comments</comments>
		<pubDate>Fri, 02 Mar 2012 19:47:45 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Muziek]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=407</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe width="500" height="281" src="http://www.youtube.com/embed/3xaox0q_His?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/muziek/johnny-berlin-sid-meier-sure-thing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Johnny Berlin &#8211; Living Again</title>
		<link>http://www.thefusebox.be/muziek/johnny-berlin-living-again</link>
		<comments>http://www.thefusebox.be/muziek/johnny-berlin-living-again#comments</comments>
		<pubDate>Fri, 02 Mar 2012 19:46:47 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Muziek]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=405</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe width="500" height="281" src="http://www.youtube.com/embed/Zae7baVnRQg?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/muziek/johnny-berlin-living-again/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Johnny Berlin &#8211; Give me the Night</title>
		<link>http://www.thefusebox.be/muziek/401</link>
		<comments>http://www.thefusebox.be/muziek/401#comments</comments>
		<pubDate>Fri, 02 Mar 2012 19:44:04 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Muziek]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=401</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe width="500" height="281" src="http://www.youtube.com/embed/iPrejhnoK84?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/muziek/401/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compositie 006 – Ambient Moth</title>
		<link>http://www.thefusebox.be/muziek/compositie-005-%e2%80%93-ambient-moth</link>
		<comments>http://www.thefusebox.be/muziek/compositie-005-%e2%80%93-ambient-moth#comments</comments>
		<pubDate>Fri, 27 Jan 2012 21:01:11 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Muziek]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=394</guid>
		<description><![CDATA[http://www.thefusebox.be/muziek/Ambient_Moth.mp3 This creative work is licensed under a Creative Commons Attribution-NonCommercial 2.0 Belgium License.]]></description>
			<content:encoded><![CDATA[<p><br clear="all" /></p>
<p><br clear="all" /></p>
<p>http://www.thefusebox.be/muziek/Ambient_Moth.mp3</p>
<p><br clear="all" /><br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc/2.0/be/"><img style="border-width: 0;" src="http://i.creativecommons.org/l/by-nc/2.0/be/80x15.png" alt="Creative Commons Contract" /></a><br />
This creative work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.0/be/">Creative Commons Attribution-NonCommercial 2.0 Belgium License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/muziek/compositie-005-%e2%80%93-ambient-moth/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thefusebox.be/muziek/Ambient_Moth.mp3" length="0" type="audio/mpeg" />
		</item>
		<item>
		<title>Google Insights</title>
		<link>http://www.thefusebox.be/allerlei/google-insights</link>
		<comments>http://www.thefusebox.be/allerlei/google-insights#comments</comments>
		<pubDate>Wed, 23 Nov 2011 22:51:36 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Allerlei]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=388</guid>
		<description><![CDATA[Inzichten over bier, wijn, champagne en frisdranken&#8230; West Vleteren piekt na de Colruyt promotiecampagne]]></description>
			<content:encoded><![CDATA[<p>Inzichten over bier, wijn, champagne en frisdranken&#8230;</p>
<p><script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fgoogle_insightsforsearch_interestovertime_searchterms.xml&amp;up__property=empty&amp;up__search_terms=Bier%7CWijn%7CFrisdrank%7CChampagne&amp;up__location=BE&amp;up__category=0&amp;up__time_range=empty&amp;up__compare_to_category=false&amp;synd=open&amp;w=640&amp;h=350&amp;lang=nl&amp;title=Google+Insights+for+Search&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script></p>
<p>West Vleteren piekt na de Colruyt promotiecampagne</p>
<p><script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fgoogle_insightsforsearch_interestovertime_searchterms.xml&amp;up__property=empty&amp;up__search_terms=West+Vleteren%7CFrisdrank&amp;up__location=BE&amp;up__category=0&amp;up__time_range=empty&amp;up__compare_to_category=false&amp;synd=open&amp;w=640&amp;h=350&amp;lang=nl&amp;title=Google+Insights+for+Search&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/allerlei/google-insights/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSON.Net example</title>
		<link>http://www.thefusebox.be/software-development/json-net-example</link>
		<comments>http://www.thefusebox.be/software-development/json-net-example#comments</comments>
		<pubDate>Fri, 09 Sep 2011 15:22:31 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=329</guid>
		<description><![CDATA[A very simple C-Sharp example of how to use the JSON.Net library. JSON.NET is available on codeplex. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; &#160; namespace JSONNetConsoleApplication1 &#123; class Program &#123; static void Main&#40;string&#91;&#93; args&#41; &#123; // create an instance, fill instance ProductionOrder PO = new ProductionOrder&#40;&#41;; PO.Id = &#34;123&#34;; PO.ProductId = [...]]]></description>
			<content:encoded><![CDATA[<p>A very simple C-Sharp example of how to use the <a href="http://james.newtonking.com/projects/json-net.aspx" title="JSON.NET library" target="_blank">JSON.Net library</a>.<br />
JSON.NET is available on <a href="http://json.codeplex.com" title="Json Codeplex" target="_blank">codeplex</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Collections.Generic</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Linq</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Text</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Newtonsoft.Json</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">namespace</span> JSONNetConsoleApplication1
<span style="color: #008000;">&#123;</span>
    <span style="color: #6666cc; font-weight: bold;">class</span> Program
    <span style="color: #008000;">&#123;</span>
        <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> Main<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> args<span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #008080; font-style: italic;">// create an instance, fill instance</span>
            ProductionOrder PO <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ProductionOrder<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            PO<span style="color: #008000;">.</span><span style="color: #0000FF;">Id</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;123&quot;</span><span style="color: #008000;">;</span>
            PO<span style="color: #008000;">.</span><span style="color: #0000FF;">ProductId</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Tomato&quot;</span><span style="color: #008000;">;</span>
            PO<span style="color: #008000;">.</span><span style="color: #0000FF;">EquipmentId</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Line A&quot;</span><span style="color: #008000;">;</span>
            PO<span style="color: #008000;">.</span><span style="color: #0000FF;">ActualStart</span> <span style="color: #008000;">=</span> DateTime<span style="color: #008000;">.</span><span style="color: #0000FF;">Now</span><span style="color: #008000;">;</span>
            PO<span style="color: #008000;">.</span><span style="color: #0000FF;">ActualStop</span> <span style="color: #008000;">=</span> DateTime<span style="color: #008000;">.</span><span style="color: #0000FF;">Now</span><span style="color: #008000;">.</span><span style="color: #0000FF;">AddHours</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">5</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">// serialize instance</span>
            <span style="color: #6666cc; font-weight: bold;">string</span> jsonString <span style="color: #008000;">=</span> JsonConvert<span style="color: #008000;">.</span><span style="color: #0000FF;">SerializeObject</span><span style="color: #008000;">&#40;</span>PO<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;{0}&quot;</span>, jsonString<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008080; font-style: italic;">// result:</span>
            <span style="color: #008080; font-style: italic;">// {&quot;Id&quot;:&quot;123&quot;,&quot;ProductId&quot;:&quot;Tomato&quot;,&quot;EquipmentId&quot;:&quot;Line A&quot;,&quot;ActualStart&quot;:&quot;\/Date(1315582334861+0200)\/&quot;,&quot;ActualStop&quot;:&quot;\/Date(1315600334861+0200)\/&quot;}</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">// deserialization</span>
            ProductionOrder deserializedPO <span style="color: #008000;">=</span> JsonConvert<span style="color: #008000;">.</span><span style="color: #0000FF;">DeserializeObject</span><span style="color: #008000;">&lt;</span>ProductionOrder<span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span>jsonString<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;{0} {1} {2} {3}&quot;</span>, deserializedPO<span style="color: #008000;">.</span><span style="color: #0000FF;">Id</span>, deserializedPO<span style="color: #008000;">.</span><span style="color: #0000FF;">ProductId</span>, deserializedPO<span style="color: #008000;">.</span><span style="color: #0000FF;">EquipmentId</span>, deserializedPO<span style="color: #008000;">.</span><span style="color: #0000FF;">ActualStart</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008080; font-style: italic;">// result</span>
            <span style="color: #008080; font-style: italic;">// 123 Tomato Line A 9/09/2011 17:32:14</span>
&nbsp;
        <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/software-development/json-net-example/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toggl API .Net Example</title>
		<link>http://www.thefusebox.be/software-development/toggl-api-net-example</link>
		<comments>http://www.thefusebox.be/software-development/toggl-api-net-example#comments</comments>
		<pubDate>Thu, 08 Sep 2011 06:37:38 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[toggl]]></category>
		<category><![CDATA[toggl api]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=289</guid>
		<description><![CDATA[This is a C-Sharp example of how to connect to the toggl API. It is compatible with version 6 of the toggl api. The code shows you how to authenticate and then download the &#8216;workspaces&#8217; from your toggl user account. I&#8217;ve tested the program in VS2010 / .NET 3.5. The JSON.Net library is required. The [...]]]></description>
			<content:encoded><![CDATA[<p>This is a C-Sharp example of how to connect to the <a href="https://www.toggl.com/public/api" title="toggl API" target="_blank">toggl API</a>. It is compatible with version 6 of the toggl api. The code shows you how to authenticate and then download the &#8216;workspaces&#8217; from your toggl user account.<br />
I&#8217;ve tested the program in VS2010 / .NET 3.5. The <a href="http://james.newtonking.com/projects/json-net.aspx" title="JSON.NET library" target="_blank">JSON.Net library</a> is required.</p>
<p>The code was based on the <a href="http://litemedia.info/connect-to-toggl-api-with-net" title="Mikael Lundin" target="_blank">example written by Mikael Lundin</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.IO</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Collections.Generic</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Linq</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Text</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Net</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Newtonsoft.Json</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Newtonsoft.Json.Converters</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Net.Security</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">namespace</span> TogglConsoleApplication1
<span style="color: #008000;">&#123;</span>
    <span style="color: #6666cc; font-weight: bold;">class</span> Program
    <span style="color: #008000;">&#123;</span>
        <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">const</span> <span style="color: #6666cc; font-weight: bold;">string</span> TogglAuthUrl <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;https://www.toggl.com/api/v6/sessions.json&quot;</span><span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">const</span> <span style="color: #6666cc; font-weight: bold;">string</span> TogglWorkSpaceUrl <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;https://www.toggl.com/api/v6/workspaces.json&quot;</span><span style="color: #008000;">;</span>
&nbsp;
        <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">const</span> <span style="color: #6666cc; font-weight: bold;">string</span> AuthenticationType <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Basic&quot;</span><span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">const</span> <span style="color: #6666cc; font-weight: bold;">string</span> ApiToken <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;your api token here&quot;</span><span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">const</span> <span style="color: #6666cc; font-weight: bold;">string</span> ApiTokenString <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;api_token&quot;</span><span style="color: #008000;">;</span>
&nbsp;
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> Main<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> args<span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #008080; font-style: italic;">// --------------------------------------------------------------------------------------------</span>
            <span style="color: #008080; font-style: italic;">// Authentication</span>
            <span style="color: #008080; font-style: italic;">// --------------------------------------------------------------------------------------------</span>
            CookieContainer container <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> CookieContainer<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            var authRequest <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>HttpWebRequest<span style="color: #008000;">&#41;</span>HttpWebRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">Create</span><span style="color: #008000;">&#40;</span>TogglAuthUrl<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            authRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">Credentials</span> <span style="color: #008000;">=</span> CredentialCache<span style="color: #008000;">.</span><span style="color: #0000FF;">DefaultCredentials</span><span style="color: #008000;">;</span>
            authRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">Method</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;POST&quot;</span><span style="color: #008000;">;</span>
            authRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">ContentType</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;application/x-www-form-urlencoded&quot;</span><span style="color: #008000;">;</span>
            authRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">CookieContainer</span> <span style="color: #008000;">=</span> container<span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #6666cc; font-weight: bold;">string</span> value <span style="color: #008000;">=</span> <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Format</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;{0}={1}&quot;</span>, ApiTokenString, ApiToken<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            authRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">ContentLength</span> <span style="color: #008000;">=</span> value<span style="color: #008000;">.</span><span style="color: #0000FF;">Length</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008000;">&#40;</span>StreamWriter writer <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> StreamWriter<span style="color: #008000;">&#40;</span>authRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">GetRequestStream</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, Encoding<span style="color: #008000;">.</span><span style="color: #0000FF;">ASCII</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                writer<span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span>value<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
&nbsp;
            var authResponse <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>HttpWebResponse<span style="color: #008000;">&#41;</span>authRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">GetResponse</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008000;">&#40;</span>var reader <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> StreamReader<span style="color: #008000;">&#40;</span>authResponse<span style="color: #008000;">.</span><span style="color: #0000FF;">GetResponseStream</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, Encoding<span style="color: #008000;">.</span><span style="color: #0000FF;">UTF8</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                <span style="color: #6666cc; font-weight: bold;">string</span> content <span style="color: #008000;">=</span> reader<span style="color: #008000;">.</span><span style="color: #0000FF;">ReadToEnd</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
&nbsp;
&nbsp;
            <span style="color: #008080; font-style: italic;">// --------------------------------------------------------------------------------------------</span>
            <span style="color: #008080; font-style: italic;">// Get WorkSpaces</span>
            <span style="color: #008080; font-style: italic;">// --------------------------------------------------------------------------------------------</span>
            HttpWebRequest workspaceRequest <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>HttpWebRequest<span style="color: #008000;">&#41;</span>HttpWebRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">Create</span><span style="color: #008000;">&#40;</span>TogglWorkSpaceUrl<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            workspaceRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">CookieContainer</span> <span style="color: #008000;">=</span> container<span style="color: #008000;">;</span>
&nbsp;
            var jsonResult <span style="color: #008000;">=</span> <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Empty</span><span style="color: #008000;">;</span>
            var workspaceResponse <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>HttpWebResponse<span style="color: #008000;">&#41;</span>workspaceRequest<span style="color: #008000;">.</span><span style="color: #0000FF;">GetResponse</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008000;">&#40;</span>var reader <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> StreamReader<span style="color: #008000;">&#40;</span>workspaceResponse<span style="color: #008000;">.</span><span style="color: #0000FF;">GetResponseStream</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, Encoding<span style="color: #008000;">.</span><span style="color: #0000FF;">UTF8</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                jsonResult <span style="color: #008000;">=</span> reader<span style="color: #008000;">.</span><span style="color: #0000FF;">ReadToEnd</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Get Workspaces Result &lt;{0}&gt;&quot;</span>, jsonResult<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">try</span>
            <span style="color: #008000;">&#123;</span>
                WorkSpace<span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> payload <span style="color: #008000;">=</span> JsonConvert<span style="color: #008000;">.</span><span style="color: #0000FF;">DeserializeObject</span><span style="color: #008000;">&lt;</span>WorkSpacesReply<span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span>jsonResult<span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Data</span><span style="color: #008000;">;</span>
                <span style="color: #0600FF; font-weight: bold;">foreach</span> <span style="color: #008000;">&#40;</span>WorkSpace ws <span style="color: #0600FF; font-weight: bold;">in</span> payload<span style="color: #008000;">&#41;</span>
                <span style="color: #008000;">&#123;</span>
                    Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Workspace {0} - {1} ({2})&quot;</span>, ws<span style="color: #008000;">.</span><span style="color: #0000FF;">Id</span>, ws<span style="color: #008000;">.</span><span style="color: #0000FF;">Name</span>, ws<span style="color: #008000;">.</span><span style="color: #0000FF;">Profile</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                <span style="color: #008000;">&#125;</span>
            <span style="color: #008000;">&#125;</span>
            <span style="color: #0600FF; font-weight: bold;">catch</span> <span style="color: #008000;">&#40;</span>Exception ex<span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Exception {0}&quot;</span>, ex<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
        <span style="color: #008000;">&#125;</span>
&nbsp;
    <span style="color: #008000;">&#125;</span>
&nbsp;
&nbsp;
    <span style="color: #008080; font-style: italic;">// --------------------------------------------------------------------------------------------</span>
    <span style="color: #008080; font-style: italic;">// Workspace class</span>
    <span style="color: #008080; font-style: italic;">// --------------------------------------------------------------------------------------------</span>
    <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> WorkSpace
    <span style="color: #008000;">&#123;</span>
        <span style="color: #008000;">&#91;</span>JsonProperty<span style="color: #008000;">&#40;</span>PropertyName <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;profile_name&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">string</span> Profile <span style="color: #008000;">&#123;</span> get<span style="color: #008000;">;</span> set<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #008000;">&#91;</span>JsonProperty<span style="color: #008000;">&#40;</span>PropertyName <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;name&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">string</span> Name <span style="color: #008000;">&#123;</span> get<span style="color: #008000;">;</span> set<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #008000;">&#91;</span>JsonProperty<span style="color: #008000;">&#40;</span>PropertyName <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;id&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">int</span> Id <span style="color: #008000;">&#123;</span> get<span style="color: #008000;">;</span> set<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
&nbsp;
&nbsp;
    <span style="color: #008080; font-style: italic;">// --------------------------------------------------------------------------------------------</span>
    <span style="color: #008080; font-style: italic;">// Workspace Responce class</span>
    <span style="color: #008080; font-style: italic;">// --------------------------------------------------------------------------------------------</span>
    <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> WorkSpacesReply
    <span style="color: #008000;">&#123;</span>
        <span style="color: #008000;">&#91;</span>JsonProperty<span style="color: #008000;">&#40;</span>PropertyName <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;data&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> WorkSpace<span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> Data <span style="color: #008000;">&#123;</span> get<span style="color: #008000;">;</span> set<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #008000;">&#91;</span>JsonProperty<span style="color: #008000;">&#40;</span>PropertyName <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;related_data_updated_at&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
        <span style="color: #008000;">&#91;</span>JsonConverter<span style="color: #008000;">&#40;</span><span style="color: #008000;">typeof</span><span style="color: #008000;">&#40;</span>IsoDateTimeConverter<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> DateTime Updated <span style="color: #008000;">&#123;</span> get<span style="color: #008000;">;</span> set<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>[facebook] </p>
<p>[retweet]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/software-development/toggl-api-net-example/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compositie 005 &#8211; Ambient Snowpad</title>
		<link>http://www.thefusebox.be/muziek/compositie-005-ambient-snowpad</link>
		<comments>http://www.thefusebox.be/muziek/compositie-005-ambient-snowpad#comments</comments>
		<pubDate>Wed, 08 Jun 2011 19:11:48 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Muziek]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=286</guid>
		<description><![CDATA[This creative work is licensed under a Creative Commons Attribution-NonCommercial 2.0 Belgium License.]]></description>
			<content:encoded><![CDATA[<p><br clear="all" /></p>
<p><br clear="all" /><br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc/2.0/be/"><img style="border-width: 0;" src="http://i.creativecommons.org/l/by-nc/2.0/be/80x15.png" alt="Creative Commons Contract" /></a><br />
This creative work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.0/be/">Creative Commons Attribution-NonCommercial 2.0 Belgium License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/muziek/compositie-005-ambient-snowpad/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thefusebox.be/muziek/Ambient_Snowpad.mp3" length="6878075" type="audio/mpeg" />
		</item>
		<item>
		<title>Compositie 004 &#8211; Ambient 003</title>
		<link>http://www.thefusebox.be/muziek/compositie-004-ambient-003</link>
		<comments>http://www.thefusebox.be/muziek/compositie-004-ambient-003#comments</comments>
		<pubDate>Mon, 31 Jan 2011 15:44:09 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Muziek]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=265</guid>
		<description><![CDATA[This creative work is licensed under a Creative Commons Attribution-NonCommercial 2.0 Belgium License.]]></description>
			<content:encoded><![CDATA[<p><br clear="all" /></p>
<p><br clear="all" /><br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc/2.0/be/"><img style="border-width: 0;" src="http://i.creativecommons.org/l/by-nc/2.0/be/80x15.png" alt="Creative Commons Contract" /></a><br />
This creative work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.0/be/">Creative Commons Attribution-NonCommercial 2.0 Belgium License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/muziek/compositie-004-ambient-003/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thefusebox.be/wp-content/uploads/2011/01/Wollo_FMERA_Drone_002-44kHz.mp3" length="1393164" type="audio/mpeg" />
		</item>
		<item>
		<title>Wat U niet te zien kreeg&#8230;</title>
		<link>http://www.thefusebox.be/allerlei/wat-u-niet-te-zien-kreeg</link>
		<comments>http://www.thefusebox.be/allerlei/wat-u-niet-te-zien-kreeg#comments</comments>
		<pubDate>Mon, 24 Jan 2011 06:46:51 +0000</pubDate>
		<dc:creator>webtom</dc:creator>
				<category><![CDATA[Allerlei]]></category>

		<guid isPermaLink="false">http://www.thefusebox.be/?p=262</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/e/3luurRtNyno"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/e/3luurRtNyno" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thefusebox.be/allerlei/wat-u-niet-te-zien-kreeg/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

