<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Syringe.Net.Nz</title>
    <link>http://www.syringe.net.nz/</link>
    <description>Irregular Injection Of Opinion</description>
    <language>en-us</language>
    <copyright>Chris J.T. Auld</copyright>
    <lastBuildDate>Wed, 02 May 2012 20:04:01 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.0.7226.0</generator>
    <managingEditor>chris@syringe.net.nz</managingEditor>
    <webMaster>chris@syringe.net.nz</webMaster>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=b540f0bb-006e-4b6d-930f-e5d134d9ab9f</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,b540f0bb-006e-4b6d-930f-e5d134d9ab9f.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,b540f0bb-006e-4b6d-930f-e5d134d9ab9f.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=b540f0bb-006e-4b6d-930f-e5d134d9ab9f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just a quick post for those who make strike the error with the Dynamics Connector.
There is a issue if you have installed the WIndows Azure AppFabric SDK on the same
box. Uninstall the AppFabric SDK and you will be golden.
</p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=b540f0bb-006e-4b6d-930f-e5d134d9ab9f" />
      </body>
      <title>Microsoft Dynamics Connector &amp;ldquo;Unable to Connect&amp;rdquo;</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,b540f0bb-006e-4b6d-930f-e5d134d9ab9f.aspx</guid>
      <link>http://www.syringe.net.nz/2012/05/02/MicrosoftDynamicsConnectorLdquoUnableToConnectrdquo.aspx</link>
      <pubDate>Wed, 02 May 2012 20:04:01 GMT</pubDate>
      <description>&lt;p&gt;
Just a quick post for those who make strike the error with the Dynamics Connector.
There is a issue if you have installed the WIndows Azure AppFabric SDK on the same
box. Uninstall the AppFabric SDK and you will be golden.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=b540f0bb-006e-4b6d-930f-e5d134d9ab9f" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,b540f0bb-006e-4b6d-930f-e5d134d9ab9f.aspx</comments>
      <category>Dynamics AX</category>
      <category>Dynamics CRM</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=4ee51600-c978-47cb-929a-abba317aafcd</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,4ee51600-c978-47cb-929a-abba317aafcd.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,4ee51600-c978-47cb-929a-abba317aafcd.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=4ee51600-c978-47cb-929a-abba317aafcd</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
So I’m a big fan of taking available light photos. This is particularly good fun at
Wedding parties and Christmas parties.
</p>
        <p>
I took a bunch of photos at the <a href="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011">Intergen
Office Christmas party</a> last Friday night and I’ve had a bunch of people ask “what
camera etc… were you using”. SO I thought I’d take a few minutes and write up a post
with some notes on taking available light party photos.
</p>
        <p>
          <a href="http://cauld.smugmug.com/#1624585378_X3HM9gH-A-LB">
            <img title="" alt="" src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-X3HM9gH/0/M/MG8753-M.jpg" />
          </a>
        </p>
        <p>
So the trick to taking nice party photos is not using a flash. To do this you need
a couple of things;
</p>
        <ol>
          <li>
A camera that has a decent High ISO noise level.<br />
ISO is an interesting term in that it goes back to the film days. The ISO (International
Standards Organization) measure basically set a standard for the sensitivity of film
to light. A high ISO film required less light to create an image, but, a high ISO
film also typically produced photos with much more noticeable <a href="http://www.google.co.nz/url?sa=t&amp;rct=j&amp;q=film%20grain&amp;source=web&amp;cd=1&amp;ved=0CCcQFjAA&amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FFilm_grain&amp;ei=rGXmTsadFOuQiAfopem1BQ&amp;usg=AFQjCNHDk7JxHxujG5fGq_jXebwqc-DlZQ">film
grain</a>. In the digital age we still use the term ISO but this time it’s basically
referring to the amount of light required by the sensor in order to create an image;
while the ISO of a roll of film was fixed we can change the camera ISO (sensitivity)
at will because it’s basically just turning up the Gain (a camera sensor is effectively
an analog-digital interface). If you’ve ever played with other things that have a
Gain knob you’ll know if you put a small signal in and try and use the gain knob to
boost it things can get a bit ugly- so it is with camera ISO if you turn the gain
up too much things get <a href="http://en.wikipedia.org/wiki/Image_noise">noisy</a>.<br />
So to get the nice party photos with available light (no flash and as such relying
on not much light) you need a camera that lets you turn the gain up with out getting
too noisy. The original ‘super amazing’ low light Camera was probably the Canon EOS
5D Mk II which is now about 3 years old. Indeed it is this camera that I used for
most of the shots. It’s an expensive ($5k) body, but, over the past few years that
super high ISO technology has filtered down such that you can get pretty decent looking
shots from most $1000 bodies at ISO of 1600-6400 (to give you an idea of how revolutionary
this is it would be very rare for anyone other than a professional to shoot film higher
than ISO400 back in the day. Thus the modern digital cameras are several times more
sensitive for the same level of noise than film was ever able to achieve)<br />
I’m a Canon person so that’s where my recommendations will sit and I think there’s
not a lot wrong with the Canon 600D body in the <a href="http://pricespy.co.nz/search.php?query=Canon+600D">$1000
price point</a>. Take a look at these <a href="http://www.dpreview.com/reviews/canoneos600d/page17.asp">high
ISO shots from DPReview</a>. There will be similarly good options from Nikon in the
price point which people can point out in the comments. The benefit of getting the
$1000 body is you have more moolah to spend on lenses…</li>
          <li>
The second thing you’ll need is a lens with a large maximum aperture.<br />
You can tell the maximum aperture of your lens by reading it off the lens. It will
be expressed as a ratio on the front ring e.g. 1:1.8 but it’s typically shortened
in conversation and marketing to just the denominator. For the tech boffins the F-Stop
(Aperture) is basically expressed as a <a href="http://en.wikipedia.org/wiki/Aperture">ratio
of the focal length of the lens</a>. The <strong>lower</strong> the F stop number
the <strong>larger</strong> the aperture- a bit counter-intuitive I know.<br />
For a zoom lens about the largest F stop you’ll get is F2.8 and even then you’ll be
paying big bikkies and they weight a ton. There are a few shots in the party photos
that are taken using an 70-200mm F2.8 lens.<br />
What you really want is a ‘prime’ lens. This is a lens with no zoom. Most of the shots
taken in the party set above were taken with a Sigma 50mm F1.4 lens (this is a mid-range
prime lens in terms of cost) but, for the most part I have it ‘stopped down’ to F1.8.
This is for two reasons 1) wide open a mid-range lens like this can lose a bit of
sharpness particularly around the edges and 2) A side effect of a large aperture is
a very shallow depth-of-field; in the case of F1.4 on a 5D MkII with the subject at
2m only 11cm of depth will be in sharp focus. You’ll see this shallow depth of field
in most of the low light photos as either a <a href="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/20512915_cRTC4m#1624579665_J2TdL9s-A-LB">nice
blurry background</a> or as an annoying fact that <a href="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/20512915_cRTC4m#1624586697_4nZPRVk-A-LB">of
two people in the photo only one is in focus</a>.<br />
So. Which lens to get. This is a place where Canon has a real advantage. If you are
not ken to spend much money there is a Canon lens, the <a href="http://pricespy.co.nz/search.php?query=Canon+50mm+f1.8+MKII">50mm
F1.8 MkII</a> (plastic fantastic) that for under $200 will let you take nice party
photos too. To me this is almost as good a reason as any to prefer Canon over Nikon
at the cheap pricepoint cameras.<br />
If you have a bit more money to spend both the Canon and Sigma 35mm/50mm/85mm primes
are great for under $1000.<br />
And finally if you have plenty of money go buy a Canon 85m F1.2 for <a href="http://www.ogle.co.nz/Street-Scenes/Wellington/2590831_8PpsD8#437309746_9HyvC-A-LB">shots
like this one I took on a borrowed lens</a>.</li>
        </ol>
        <p>
So this post became a bit of a ramble. To answer the more direct question of what
I used for the party photos.
</p>
        <p>
Canon 7D Body (early evening) with a Canon 24-105 F4 zoom<br />
Canon 5D (low light) with a mixture of Sigma 50mm 1.4, Carl Zeiss 85mm 1.4 and Canon
70-200mm 2.8
</p>
        <p>
          <a href="http://cauld.smugmug.com/#1624594992_Z34cqdW-A-LB">
            <img title="" alt="" src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-Z34cqdW/0/M/MG8777-M.jpg" />
          </a> <a href="http://cauld.smugmug.com/#1624584616_vFPB2WV-A-LB"><img title="" alt="" src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-vFPB2WV/0/M/MG8752-2-M.jpg" /></a> \
</p>
        <p>
          <a href="http://cauld.smugmug.com/#1624597187_wQJtnkn-A-LB">
            <img title="" alt="" src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-wQJtnkn/0/M/MG8792-M.jpg" />
          </a>
        </p>
        <p>
          <a href="http://cauld.smugmug.com/#1624596840_F7CVpkp">
            <img src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-F7CVpkp/0/XL/MG8790-XL.jpg" />
          </a>
        </p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=4ee51600-c978-47cb-929a-abba317aafcd" />
      </body>
      <title>Taking Nice Party Photos</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,4ee51600-c978-47cb-929a-abba317aafcd.aspx</guid>
      <link>http://www.syringe.net.nz/2011/12/13/TakingNicePartyPhotos.aspx</link>
      <pubDate>Tue, 13 Dec 2011 19:40:21 GMT</pubDate>
      <description>&lt;p&gt;
&lt;br&gt;
So I’m a big fan of taking available light photos. This is particularly good fun at
Wedding parties and Christmas parties.
&lt;/p&gt;
&lt;p&gt;
I took a bunch of photos at the &lt;a href="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011"&gt;Intergen
Office Christmas party&lt;/a&gt; last Friday night and I’ve had a bunch of people ask “what
camera etc… were you using”. SO I thought I’d take a few minutes and write up a post
with some notes on taking available light party photos.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://cauld.smugmug.com/#1624585378_X3HM9gH-A-LB"&gt;&lt;img title="" alt="" src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-X3HM9gH/0/M/MG8753-M.jpg"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
So the trick to taking nice party photos is not using a flash. To do this you need
a couple of things;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
A camera that has a decent High ISO noise level.&lt;br&gt;
ISO is an interesting term in that it goes back to the film days. The ISO (International
Standards Organization) measure basically set a standard for the sensitivity of film
to light. A high ISO film required less light to create an image, but, a high ISO
film also typically produced photos with much more noticeable &lt;a href="http://www.google.co.nz/url?sa=t&amp;amp;rct=j&amp;amp;q=film%20grain&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CCcQFjAA&amp;amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FFilm_grain&amp;amp;ei=rGXmTsadFOuQiAfopem1BQ&amp;amp;usg=AFQjCNHDk7JxHxujG5fGq_jXebwqc-DlZQ"&gt;film
grain&lt;/a&gt;. In the digital age we still use the term ISO but this time it’s basically
referring to the amount of light required by the sensor in order to create an image;
while the ISO of a roll of film was fixed we can change the camera ISO (sensitivity)
at will because it’s basically just turning up the Gain (a camera sensor is effectively
an analog-digital interface). If you’ve ever played with other things that have a
Gain knob you’ll know if you put a small signal in and try and use the gain knob to
boost it things can get a bit ugly- so it is with camera ISO if you turn the gain
up too much things get &lt;a href="http://en.wikipedia.org/wiki/Image_noise"&gt;noisy&lt;/a&gt;.&lt;br&gt;
So to get the nice party photos with available light (no flash and as such relying
on not much light) you need a camera that lets you turn the gain up with out getting
too noisy. The original ‘super amazing’ low light Camera was probably the Canon EOS
5D Mk II which is now about 3 years old. Indeed it is this camera that I used for
most of the shots. It’s an expensive ($5k) body, but, over the past few years that
super high ISO technology has filtered down such that you can get pretty decent looking
shots from most $1000 bodies at ISO of 1600-6400 (to give you an idea of how revolutionary
this is it would be very rare for anyone other than a professional to shoot film higher
than ISO400 back in the day. Thus the modern digital cameras are several times more
sensitive for the same level of noise than film was ever able to achieve)&lt;br&gt;
I’m a Canon person so that’s where my recommendations will sit and I think there’s
not a lot wrong with the Canon 600D body in the &lt;a href="http://pricespy.co.nz/search.php?query=Canon+600D"&gt;$1000
price point&lt;/a&gt;. Take a look at these &lt;a href="http://www.dpreview.com/reviews/canoneos600d/page17.asp"&gt;high
ISO shots from DPReview&lt;/a&gt;. There will be similarly good options from Nikon in the
price point which people can point out in the comments. The benefit of getting the
$1000 body is you have more moolah to spend on lenses…&lt;/li&gt;
&lt;li&gt;
The second thing you’ll need is a lens with a large maximum aperture.&lt;br&gt;
You can tell the maximum aperture of your lens by reading it off the lens. It will
be expressed as a ratio on the front ring e.g. 1:1.8 but it’s typically shortened
in conversation and marketing to just the denominator. For the tech boffins the F-Stop
(Aperture) is basically expressed as a &lt;a href="http://en.wikipedia.org/wiki/Aperture"&gt;ratio
of the focal length of the lens&lt;/a&gt;. The &lt;strong&gt;lower&lt;/strong&gt; the F stop number
the &lt;strong&gt;larger&lt;/strong&gt; the aperture- a bit counter-intuitive I know.&lt;br&gt;
For a zoom lens about the largest F stop you’ll get is F2.8 and even then you’ll be
paying big bikkies and they weight a ton. There are a few shots in the party photos
that are taken using an 70-200mm F2.8 lens.&lt;br&gt;
What you really want is a ‘prime’ lens. This is a lens with no zoom. Most of the shots
taken in the party set above were taken with a Sigma 50mm F1.4 lens (this is a mid-range
prime lens in terms of cost) but, for the most part I have it ‘stopped down’ to F1.8.
This is for two reasons 1) wide open a mid-range lens like this can lose a bit of
sharpness particularly around the edges and 2) A side effect of a large aperture is
a very shallow depth-of-field; in the case of F1.4 on a 5D MkII with the subject at
2m only 11cm of depth will be in sharp focus. You’ll see this shallow depth of field
in most of the low light photos as either a &lt;a href="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/20512915_cRTC4m#1624579665_J2TdL9s-A-LB"&gt;nice
blurry background&lt;/a&gt; or as an annoying fact that &lt;a href="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/20512915_cRTC4m#1624586697_4nZPRVk-A-LB"&gt;of
two people in the photo only one is in focus&lt;/a&gt;.&lt;br&gt;
So. Which lens to get. This is a place where Canon has a real advantage. If you are
not ken to spend much money there is a Canon lens, the &lt;a href="http://pricespy.co.nz/search.php?query=Canon+50mm+f1.8+MKII"&gt;50mm
F1.8 MkII&lt;/a&gt; (plastic fantastic) that for under $200 will let you take nice party
photos too. To me this is almost as good a reason as any to prefer Canon over Nikon
at the cheap pricepoint cameras.&lt;br&gt;
If you have a bit more money to spend both the Canon and Sigma 35mm/50mm/85mm primes
are great for under $1000.&lt;br&gt;
And finally if you have plenty of money go buy a Canon 85m F1.2 for &lt;a href="http://www.ogle.co.nz/Street-Scenes/Wellington/2590831_8PpsD8#437309746_9HyvC-A-LB"&gt;shots
like this one I took on a borrowed lens&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
So this post became a bit of a ramble. To answer the more direct question of what
I used for the party photos.
&lt;/p&gt;
&lt;p&gt;
Canon 7D Body (early evening) with a Canon 24-105 F4 zoom&lt;br&gt;
Canon 5D (low light) with a mixture of Sigma 50mm 1.4, Carl Zeiss 85mm 1.4 and Canon
70-200mm 2.8
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://cauld.smugmug.com/#1624594992_Z34cqdW-A-LB"&gt;&lt;img title="" alt="" src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-Z34cqdW/0/M/MG8777-M.jpg"&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://cauld.smugmug.com/#1624584616_vFPB2WV-A-LB"&gt;&lt;img title="" alt="" src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-vFPB2WV/0/M/MG8752-2-M.jpg"&gt;&lt;/a&gt; \
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://cauld.smugmug.com/#1624597187_wQJtnkn-A-LB"&gt;&lt;img title="" alt="" src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-wQJtnkn/0/M/MG8792-M.jpg"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://cauld.smugmug.com/#1624596840_F7CVpkp"&gt;&lt;img src="http://cauld.smugmug.com/Parties/Intergen-XMas-Party-2011/i-F7CVpkp/0/XL/MG8790-XL.jpg"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=4ee51600-c978-47cb-929a-abba317aafcd" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,4ee51600-c978-47cb-929a-abba317aafcd.aspx</comments>
      <category>Intergen</category>
      <category>Photography</category>
      <category>Rambles</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=f76c5ddb-9f65-4588-af65-5fb14f8a199d</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,f76c5ddb-9f65-4588-af65-5fb14f8a199d.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,f76c5ddb-9f65-4588-af65-5fb14f8a199d.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=f76c5ddb-9f65-4588-af65-5fb14f8a199d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I’ll start this post by stating that I am generally supportive of Kiwisaver as a scheme.
I deeply regret the decision taken by the national government to remove the ‘carrot’
from the scheme and would much sooner have seen them scrap the bat-shit crazy interest
free student loans rort to make their numbers.
</p>
        <p>
So I am a little torn with the new Labour policy for compulsory Kiwisaver. I think
there are a few things we can all agree on
</p>
        <ol>
          <li>
            <div align="left">It will suppress wage growth. DPF posts on that <a href="http://www.kiwiblog.co.nz/2011/10/labours_wage_reduction_policy.html">here</a> including
a Labour party admission of such.
</div>
          </li>
          <li>
            <div align="left">Kiwisaver is a "low risk” or conservative investment. Even if you
pick the <a href="http://www.forbar.co.nz/page3.asp#personal_choice">Forsyth Barr
build your own scheme</a> and load up on equities you’ll still be buying bluechips
and not speccy mining shares.
</div>
          </li>
          <li>
            <div align="left">9% of pre-tax income is a relative SHITLOAD of money for most people
and would, I suspect, represent the entirety of investment income for  the 99%
(post written about the time the smelly hippies were occupying Aotea Square)
</div>
          </li>
          <li>
            <div align="left">Saving and investing (rather than spending) is a good thing and
as a country we don’t really do enough of it
</div>
          </li>
          <li>
            <div align="left">At 9% of pre-tax income Kiwisaver will impact the common kiwi savings
vehicle of the family home. People will be slower at paying off their mortgages (yes
even will all the mortgage diversion stuff)
</div>
          </li>
          <li>
            <div align="left">Banks aren’t particularly interested in letting you gear against
your Kiwisaver assets
</div>
          </li>
        </ol>
        <p align="left">
So beyond all the usual stuff that’s been discussed today I have one really major
concern with compulsory Kiwisaver
</p>
        <p align="left">
It’s going to knock the stuffing out of small business startup capital. Basically
the money that many people would have put into a liquid investment such that they
could draw down to start a business will instead be locked away in a conservative
investment vehicle until they are 65. Now starting your own business is risky to be
sure, but, are we really saying that someone on $80k in a solid job should be denied
the opportunity to put their money aside to invest in their own venture?
</p>
        <p align="left">
What do others think?
</p>
        <p align="left">
People will point to the success of compulsory super at these kinds of pre-tax levels
in Australia, but, the Australian scheme is quite different to Kiwisaver and in particular
their <a href="http://www.moneysmart.gov.au/superannuation-and-retirement/self-managed-super">Self
Managed Super Funds</a> provide some relief to the above concerns. 
</p>
        <p align="left">
The argument about whether small business owners can bear the burden of these Kiwisaver
payments is somewhat moot if they were never in a position to start their small business
in the first place.
</p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=f76c5ddb-9f65-4588-af65-5fb14f8a199d" />
      </body>
      <title>What does compulsory Kiwisaver @ 9% do to small business startup capital</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,f76c5ddb-9f65-4588-af65-5fb14f8a199d.aspx</guid>
      <link>http://www.syringe.net.nz/2011/10/27/WhatDoesCompulsoryKiwisaver9DoToSmallBusinessStartupCapital.aspx</link>
      <pubDate>Thu, 27 Oct 2011 07:41:04 GMT</pubDate>
      <description>&lt;p&gt;
I’ll start this post by stating that I am generally supportive of Kiwisaver as a scheme.
I deeply regret the decision taken by the national government to remove the ‘carrot’
from the scheme and would much sooner have seen them scrap the bat-shit crazy interest
free student loans rort to make their numbers.
&lt;/p&gt;
&lt;p&gt;
So I am a little torn with the new Labour policy for compulsory Kiwisaver. I think
there are a few things we can all agree on
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div align="left"&gt;It will suppress wage growth. DPF posts on that &lt;a href="http://www.kiwiblog.co.nz/2011/10/labours_wage_reduction_policy.html"&gt;here&lt;/a&gt; including
a Labour party admission of such.
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="left"&gt;Kiwisaver is a "low risk” or conservative investment. Even if you
pick the &lt;a href="http://www.forbar.co.nz/page3.asp#personal_choice"&gt;Forsyth Barr
build your own scheme&lt;/a&gt; and load up on equities you’ll still be buying bluechips
and not speccy mining shares.
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="left"&gt;9% of pre-tax income is a relative SHITLOAD of money for most people
and would, I suspect, represent the entirety of investment income for&amp;nbsp; the 99%
(post written about the time the smelly hippies were occupying Aotea Square)
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="left"&gt;Saving and investing (rather than spending) is a good thing and
as a country we don’t really do enough of it
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="left"&gt;At 9% of pre-tax income Kiwisaver will impact the common kiwi savings
vehicle of the family home. People will be slower at paying off their mortgages (yes
even will all the mortgage diversion stuff)
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div align="left"&gt;Banks aren’t particularly interested in letting you gear against
your Kiwisaver assets
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p align="left"&gt;
So beyond all the usual stuff that’s been discussed today I have one really major
concern with compulsory Kiwisaver
&lt;/p&gt;
&lt;p align="left"&gt;
It’s going to knock the stuffing out of small business startup capital. Basically
the money that many people would have put into a liquid investment such that they
could draw down to start a business will instead be locked away in a conservative
investment vehicle until they are 65. Now starting your own business is risky to be
sure, but, are we really saying that someone on $80k in a solid job should be denied
the opportunity to put their money aside to invest in their own venture?
&lt;/p&gt;
&lt;p align="left"&gt;
What do others think?
&lt;/p&gt;
&lt;p align="left"&gt;
People will point to the success of compulsory super at these kinds of pre-tax levels
in Australia, but, the Australian scheme is quite different to Kiwisaver and in particular
their &lt;a href="http://www.moneysmart.gov.au/superannuation-and-retirement/self-managed-super"&gt;Self
Managed Super Funds&lt;/a&gt; provide some relief to the above concerns. 
&lt;/p&gt;
&lt;p align="left"&gt;
The argument about whether small business owners can bear the burden of these Kiwisaver
payments is somewhat moot if they were never in a position to start their small business
in the first place.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=f76c5ddb-9f65-4588-af65-5fb14f8a199d" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,f76c5ddb-9f65-4588-af65-5fb14f8a199d.aspx</comments>
      <category>Business Building</category>
      <category>Politics</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=325bfc4e-af8d-437d-87bf-9d0e65569bce</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,325bfc4e-af8d-437d-87bf-9d0e65569bce.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,325bfc4e-af8d-437d-87bf-9d0e65569bce.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=325bfc4e-af8d-437d-87bf-9d0e65569bce</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
So unless you’ve been living in a cave you’ll be aware of how rad helmet cams are
for the adventure sports inclined amongst us. I held off buying one for quite a long
time because they have been FREAKING expensive. The other issue is that the ‘industry
standard’ GoPro HD makes you look like a total mongtard when you are wearing it.
</p>
        <p>
          <img src="http://www.google.com/url?source=imglanding&amp;ct=img&amp;q=http://walkiberia.com/wp-content/uploads/2011/07/Picture-37-300x244.png&amp;sa=X&amp;ei=fGF6TsO1BcyviQeCpfT_Dw&amp;ved=0CAcQ8wc&amp;usg=AFQjCNF29konB-dsxUF-UBkLwW4b_BdloA" width="300" height="244" />
          <br />
          <em>Figure 1: How to look like a gaper mong!</em>
        </p>
        <p>
So I really like the look of the cameras from <a href="http://contour.com/">Contour</a>.
They have recently announced the <a href="http://contour.com/products/contour-roam">Contour
ROAM</a> which is their new budget camera at $199. But, this post isn’t about that
new camera. It’s nice and all with more waterproofing that the original ContourHD,
but, it lacks the 720p 60fps mode which I think is critical to nice footage in fast
moving environments.
</p>
        <p>
Instead this post is about the CountourHD; because it’s basically been replaced by
these newer models it’s available super cheap. It supports full HD 1080p as well as
the important 720p at 60fps mode.
</p>
        <p>
          <a href="http://tinyurl.com/contour-backcountry">
            <img src="http://www.google.com/url?source=imglanding&amp;ct=img&amp;q=http://www.cameratown.com/assets/news/large/Vholdr_ContourHD1080P.jpg&amp;sa=X&amp;ei=BmJ6TuyKOq-aiAevwe0M&amp;ved=0CAYQ8wc4YQ&amp;usg=AFQjCNHwwFg7EpB2tFVpAr2UT-lNLhR9FQ" width="240" height="207" />
          </a>
        </p>
        <p>
          <em>Figure 2: How to not look like a gaper mong!</em>
        </p>
        <p>
It can be had at Backcountry at the moment for about US$140 (<a title="http://tinyurl.com/contour-backcountry" href="http://tinyurl.com/contour-backcountry">http://tinyurl.com/contour-backcountry</a>).
If you’ve been in the market I think this is the deal to snag! Shipping is a bit to
New Zealand but it’s still waaay cheaper than buying locally. Particularly if you
get a spare battery and a few other things in the same order and/or order with friends.
</p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=325bfc4e-af8d-437d-87bf-9d0e65569bce" />
      </body>
      <title>Nice Cheap Helmet Cameras</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,325bfc4e-af8d-437d-87bf-9d0e65569bce.aspx</guid>
      <link>http://www.syringe.net.nz/2011/09/21/NiceCheapHelmetCameras.aspx</link>
      <pubDate>Wed, 21 Sep 2011 22:18:59 GMT</pubDate>
      <description>&lt;p&gt;
So unless you’ve been living in a cave you’ll be aware of how rad helmet cams are
for the adventure sports inclined amongst us. I held off buying one for quite a long
time because they have been FREAKING expensive. The other issue is that the ‘industry
standard’ GoPro HD makes you look like a total mongtard when you are wearing it.
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.google.com/url?source=imglanding&amp;amp;ct=img&amp;amp;q=http://walkiberia.com/wp-content/uploads/2011/07/Picture-37-300x244.png&amp;amp;sa=X&amp;amp;ei=fGF6TsO1BcyviQeCpfT_Dw&amp;amp;ved=0CAcQ8wc&amp;amp;usg=AFQjCNF29konB-dsxUF-UBkLwW4b_BdloA" width="300" height="244"&gt;
&lt;br&gt;
&lt;em&gt;Figure 1: How to look like a gaper mong!&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
So I really like the look of the cameras from &lt;a href="http://contour.com/"&gt;Contour&lt;/a&gt;.
They have recently announced the &lt;a href="http://contour.com/products/contour-roam"&gt;Contour
ROAM&lt;/a&gt; which is their new budget camera at $199. But, this post isn’t about that
new camera. It’s nice and all with more waterproofing that the original ContourHD,
but, it lacks the 720p 60fps mode which I think is critical to nice footage in fast
moving environments.
&lt;/p&gt;
&lt;p&gt;
Instead this post is about the CountourHD; because it’s basically been replaced by
these newer models it’s available super cheap. It supports full HD 1080p as well as
the important 720p at 60fps mode.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://tinyurl.com/contour-backcountry"&gt;&lt;img src="http://www.google.com/url?source=imglanding&amp;amp;ct=img&amp;amp;q=http://www.cameratown.com/assets/news/large/Vholdr_ContourHD1080P.jpg&amp;amp;sa=X&amp;amp;ei=BmJ6TuyKOq-aiAevwe0M&amp;amp;ved=0CAYQ8wc4YQ&amp;amp;usg=AFQjCNHwwFg7EpB2tFVpAr2UT-lNLhR9FQ" width="240" height="207"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;Figure 2: How to not look like a gaper mong!&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
It can be had at Backcountry at the moment for about US$140 (&lt;a title="http://tinyurl.com/contour-backcountry" href="http://tinyurl.com/contour-backcountry"&gt;http://tinyurl.com/contour-backcountry&lt;/a&gt;).
If you’ve been in the market I think this is the deal to snag! Shipping is a bit to
New Zealand but it’s still waaay cheaper than buying locally. Particularly if you
get a spare battery and a few other things in the same order and/or order with friends.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=325bfc4e-af8d-437d-87bf-9d0e65569bce" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,325bfc4e-af8d-437d-87bf-9d0e65569bce.aspx</comments>
      <category>Adventure Sports</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=8ac31086-509b-4744-ae3a-27bdc77ee2d8</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,8ac31086-509b-4744-ae3a-27bdc77ee2d8.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,8ac31086-509b-4744-ae3a-27bdc77ee2d8.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=8ac31086-509b-4744-ae3a-27bdc77ee2d8</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
In my travels I run into lots of people who are running Microsoft Office 2010 but
many of them are also running the 64 bit version. I thought I’d do a quick post to
discourage this behaviour!
</p>
        <p>
Yes, we’ve had it drilled into us that 64 bit is the future, and, for operating system
installs you do indeed want to be running Windows x64 because you’ve probably got
more than 4GB of RAM in your machine. However, when it comes to applications that
have been specifically compiled for 64 bit I suggest a much greater degree of caution
and reflection before diving in. It is basically a trade-off by way of sacrificing
raw performance for the ability to use more RAM in that application process. What
do I mean by this; Well, there is an overhead in working with 64 bit pointers and
this will mean that you take a performance hit in running the 64 bit application-
see this article for some simple benchmarks <a title="http://www.osnews.com/story/5768" href="http://www.osnews.com/story/5768">http://www.osnews.com/story/5768</a>.
The flip side, however,is that you can then work with a full 64 bit address space
and thus your application can use more than 4GB(ish) of RAM.
</p>
        <p>
So, why do I want to discourage you from installing 64 bit office?   
</p>
        <ol>
          <li>
You probably don’t need that much RAM for a individual Office application.<br />
Unless you are working with extremely large spread sheets in Microsoft Excel it is
unlikely you’ll need to use &gt; a couple of GB of ram for a single Office App.</li>
          <li>
There will be a performance hit.</li>
          <li>
There are significant compatibility issues<br />
If you use Office add-ins and other 3rd party extensions you’ll find that compatibility
with x64 Office is patchy at best.</li>
        </ol>
        <p>
So there you have it. The typical person I se running 64 bit office is the ‘IT Guy’
or enthusiast for whom more bits == more power. This just ain’t the case.
</p>
        <p>
Here is the official Microsoft article on the situation: <a title="http://technet.microsoft.com/en-us/library/ee681792.aspx" href="http://technet.microsoft.com/en-us/library/ee681792.aspx">http://technet.microsoft.com/en-us/library/ee681792.aspx</a></p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=8ac31086-509b-4744-ae3a-27bdc77ee2d8" />
      </body>
      <title>64 Bit Microsoft Office vs 32 Bit Office: 64 Bit is not necessarily &amp;lsquo;better&amp;rsquo;</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,8ac31086-509b-4744-ae3a-27bdc77ee2d8.aspx</guid>
      <link>http://www.syringe.net.nz/2011/07/18/64BitMicrosoftOfficeVs32BitOffice64BitIsNotNecessarilyLsquobetterrsquo.aspx</link>
      <pubDate>Mon, 18 Jul 2011 23:46:41 GMT</pubDate>
      <description>&lt;p&gt;
In my travels I run into lots of people who are running Microsoft Office 2010 but
many of them are also running the 64 bit version. I thought I’d do a quick post to
discourage this behaviour!
&lt;/p&gt;
&lt;p&gt;
Yes, we’ve had it drilled into us that 64 bit is the future, and, for operating system
installs you do indeed want to be running Windows x64 because you’ve probably got
more than 4GB of RAM in your machine. However, when it comes to applications that
have been specifically compiled for 64 bit I suggest a much greater degree of caution
and reflection before diving in. It is basically a trade-off by way of sacrificing
raw performance for the ability to use more RAM in that application process. What
do I mean by this; Well, there is an overhead in working with 64 bit pointers and
this will mean that you take a performance hit in running the 64 bit application-
see this article for some simple benchmarks &lt;a title="http://www.osnews.com/story/5768" href="http://www.osnews.com/story/5768"&gt;http://www.osnews.com/story/5768&lt;/a&gt;.
The flip side, however,is that you can then work with a full 64 bit address space
and thus your application can use more than 4GB(ish) of RAM.
&lt;/p&gt;
&lt;p&gt;
So, why do I want to discourage you from installing 64 bit office?&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
You probably don’t need that much RAM for a individual Office application.&lt;br&gt;
Unless you are working with extremely large spread sheets in Microsoft Excel it is
unlikely you’ll need to use &amp;gt; a couple of GB of ram for a single Office App.&lt;/li&gt;
&lt;li&gt;
There will be a performance hit.&lt;/li&gt;
&lt;li&gt;
There are significant compatibility issues&lt;br&gt;
If you use Office add-ins and other 3rd party extensions you’ll find that compatibility
with x64 Office is patchy at best.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
So there you have it. The typical person I se running 64 bit office is the ‘IT Guy’
or enthusiast for whom more bits == more power. This just ain’t the case.
&lt;/p&gt;
&lt;p&gt;
Here is the official Microsoft article on the situation: &lt;a title="http://technet.microsoft.com/en-us/library/ee681792.aspx" href="http://technet.microsoft.com/en-us/library/ee681792.aspx"&gt;http://technet.microsoft.com/en-us/library/ee681792.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=8ac31086-509b-4744-ae3a-27bdc77ee2d8" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,8ac31086-509b-4744-ae3a-27bdc77ee2d8.aspx</comments>
      <category>Office2010</category>
      <category>Windows 7</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=2992ef9a-9af8-4502-8c02-355aafc57b3b</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,2992ef9a-9af8-4502-8c02-355aafc57b3b.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,2992ef9a-9af8-4502-8c02-355aafc57b3b.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=2992ef9a-9af8-4502-8c02-355aafc57b3b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
So Deb and I were in Vegas at the Venetian this week. Just for shits and giggles we
tried to recreate our photo of real Venice... How did we do for authenticity?
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Real-Venice-and-Fake-Venice_856A/n627910082_3680922_5380_2.jpg">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="n627910082_3680922_5380" border="0" alt="n627910082_3680922_5380" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Real-Venice-and-Fake-Venice_856A/n627910082_3680922_5380_thumb.jpg" width="244" height="184" />
          </a>
        </p>
        <p>
The Grand Canal in ‘Real Venice’
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Real-Venice-and-Fake-Venice_856A/248873_10150633991850083_627910082_19025035_8112051_n_2.jpg">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="248873_10150633991850083_627910082_19025035_8112051_n" border="0" alt="248873_10150633991850083_627910082_19025035_8112051_n" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Real-Venice-and-Fake-Venice_856A/248873_10150633991850083_627910082_19025035_8112051_n_thumb.jpg" width="244" height="184" />
          </a>
        </p>
        <p>
The Grand Canal in Fake Venice (Venetian Hotel, Las Vegas)
</p>
        <p>
Trust Deb to ruin it by not wearing the same top!!! Me, ever reliable in my yellow
cool-dry.
</p>
        <p>
Frankly I’m torn. The chlorinated canals in Fake Venice smell much nicer than those
in real Venice…
</p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=2992ef9a-9af8-4502-8c02-355aafc57b3b" />
      </body>
      <title>Real Venice and Fake Venice</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,2992ef9a-9af8-4502-8c02-355aafc57b3b.aspx</guid>
      <link>http://www.syringe.net.nz/2011/06/16/RealVeniceAndFakeVenice.aspx</link>
      <pubDate>Thu, 16 Jun 2011 16:32:33 GMT</pubDate>
      <description>&lt;p&gt;
So Deb and I were in Vegas at the Venetian this week. Just for shits and giggles we
tried to recreate our photo of real Venice... How did we do for authenticity?
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Real-Venice-and-Fake-Venice_856A/n627910082_3680922_5380_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="n627910082_3680922_5380" border="0" alt="n627910082_3680922_5380" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Real-Venice-and-Fake-Venice_856A/n627910082_3680922_5380_thumb.jpg" width="244" height="184"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The Grand Canal in ‘Real Venice’
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Real-Venice-and-Fake-Venice_856A/248873_10150633991850083_627910082_19025035_8112051_n_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="248873_10150633991850083_627910082_19025035_8112051_n" border="0" alt="248873_10150633991850083_627910082_19025035_8112051_n" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Real-Venice-and-Fake-Venice_856A/248873_10150633991850083_627910082_19025035_8112051_n_thumb.jpg" width="244" height="184"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The Grand Canal in Fake Venice (Venetian Hotel, Las Vegas)
&lt;/p&gt;
&lt;p&gt;
Trust Deb to ruin it by not wearing the same top!!! Me, ever reliable in my yellow
cool-dry.
&lt;/p&gt;
&lt;p&gt;
Frankly I’m torn. The chlorinated canals in Fake Venice smell much nicer than those
in real Venice…
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=2992ef9a-9af8-4502-8c02-355aafc57b3b" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,2992ef9a-9af8-4502-8c02-355aafc57b3b.aspx</comments>
      <category>Travel</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=94979e2d-6f5f-44d1-b6b0-3b711c2afb47</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,94979e2d-6f5f-44d1-b6b0-3b711c2afb47.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,94979e2d-6f5f-44d1-b6b0-3b711c2afb47.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=94979e2d-6f5f-44d1-b6b0-3b711c2afb47</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Hi All, 
</p>
        <p>
Saw this rather interesting snippet come through on the Twitter feed this morning. 
</p>
        <p>
          <a href="http://mobilitydigest.com/icloud-brought-to-you-by-microsoft-and-amazon/">http://mobilitydigest.com/icloud-brought-to-you-by-microsoft-and-amazon/</a>
        </p>
        <p>
Clicking through shows you some partial HTTP messages (some stuff is blurred out) 
</p>
        <p>
          <img title="icloud2" alt="" src="http://www.infiniteapple.net/wp-content/blogs.dir/10/files/2011/06/icloud2.jpg" width="556" height="230" />
        </p>
        <p>
Certainly looks like iCloud is using both Azure Blob storage and S3. 
</p>
        <p>
They are probably using Blob storage for the ability to use Shared Access Signatures
for file upload, but, without seeing the full URL in the HTTP request that’s a bit
of a guess. 
</p>
        <p>
My guess is that the call to the iCloud servers for authorizePut will be fetching
a SAS and then this is being used in the PUT request to the Blob storage endpoint. 
</p>
        <p>
There is a header in there called AuthorizationBSharedKey. I certainly hope that’s
not the storage account shared key for the Azure storage account! But again, without
seeing the full messages I can’t really tell. It’s certainly not a standard Azure
header, but, it does have a somewhat worrying name. 
</p>
        <p>
Anyone able to pull the headers in full for some analysis? chris(at)syringe.net.nz 
</p>
        <p>
Chris <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=94979e2d-6f5f-44d1-b6b0-3b711c2afb47" /></p>
      </body>
      <title>Apple iCloud Running on Windows Azure and Amazon S3</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,94979e2d-6f5f-44d1-b6b0-3b711c2afb47.aspx</guid>
      <link>http://www.syringe.net.nz/2011/06/10/AppleICloudRunningOnWindowsAzureAndAmazonS3.aspx</link>
      <pubDate>Fri, 10 Jun 2011 12:29:01 GMT</pubDate>
      <description>&lt;p&gt;
Hi All, 
&lt;p&gt;
Saw this rather interesting snippet come through on the Twitter feed this morning. 
&lt;p&gt;
&lt;a href="http://mobilitydigest.com/icloud-brought-to-you-by-microsoft-and-amazon/"&gt;http://mobilitydigest.com/icloud-brought-to-you-by-microsoft-and-amazon/&lt;/a&gt; 
&lt;p&gt;
Clicking through shows you some partial HTTP messages (some stuff is blurred out) 
&lt;p&gt;
&lt;img title="icloud2" alt="" src="http://www.infiniteapple.net/wp-content/blogs.dir/10/files/2011/06/icloud2.jpg" width="556" height="230"&gt; 
&lt;p&gt;
Certainly looks like iCloud is using both Azure Blob storage and S3. 
&lt;p&gt;
They are probably using Blob storage for the ability to use Shared Access Signatures
for file upload, but, without seeing the full URL in the HTTP request that’s a bit
of a guess. 
&lt;p&gt;
My guess is that the call to the iCloud servers for authorizePut will be fetching
a SAS and then this is being used in the PUT request to the Blob storage endpoint. 
&lt;p&gt;
There is a header in there called AuthorizationBSharedKey. I certainly hope that’s
not the storage account shared key for the Azure storage account! But again, without
seeing the full messages I can’t really tell. It’s certainly not a standard Azure
header, but, it does have a somewhat worrying name. 
&lt;p&gt;
Anyone able to pull the headers in full for some analysis? chris(at)syringe.net.nz 
&lt;p&gt;
Chris &lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=94979e2d-6f5f-44d1-b6b0-3b711c2afb47" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,94979e2d-6f5f-44d1-b6b0-3b711c2afb47.aspx</comments>
      <category>Windows Azure</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=c70e21a0-61d1-46db-987c-81de7e70e3d6</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,c70e21a0-61d1-46db-987c-81de7e70e3d6.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,c70e21a0-61d1-46db-987c-81de7e70e3d6.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=c70e21a0-61d1-46db-987c-81de7e70e3d6</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
So one of the kayaking items on my bucket list was a trip to the Ottawa River. Just
ticked that one off with a couple of runs over the last couple of days.
</p>
        <p>
        </p>
        <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:84E294D0-71C9-4bd0-A0FE-95764E0368D9:d4a5345b-343b-40db-8e0e-e554e8bead6b" class="wlWriterEditableSmartContent">
          <a href="http://www.bing.com/maps/default.aspx?v=2&amp;cp=45.7474~-76.70242&amp;lvl=10&amp;style=r&amp;mkt=en-us&amp;FORM=LLWR" id="map-e01d2d6f-1c03-4488-acad-45210ad3ac32" alt="View map" title="View map">
            <img src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/map-c53181dcbcfb.jpg" width="320" height="240" alt="Map picture" />
          </a>
        </div>
        <p>
Didn’t take all that many photos but got a few decent ones of me running The Elevator
Shaft chute at Garvin’s rapid on the Middle Channel. The flow yesterday was 13.0
</p>
        <p>
Here is a MASSIVE panorama of the rapid. Thought I’d upload in all it’s glory for
people who may want to examine it later to plan their lines. Clicky Clicky for the
monster.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/image_2.png">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/image_thumb.png" width="644" height="231" />
          </a>
        </p>
        <p>
Elevator Shaft is hard River Right. It was a pretty simple drop but it’s got a heap
of rocks in the bottom which kinda freaked me out at first. Someone on the trip who
had run it a heap of times said you don’t hit em, just go for it. So I did.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010206.jpg">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="P1010206" border="0" alt="P1010206" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010206_thumb.jpg" width="244" height="184" />
          </a>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010207.jpg">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010207" border="0" alt="P1010207" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010207_thumb.jpg" width="244" height="184" />
          </a>
        </p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010208.jpg">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010208" border="0" alt="P1010208" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010208_thumb.jpg" width="244" height="184" />
          </a>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010209.jpg">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010209" border="0" alt="P1010209" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010209_thumb.jpg" width="244" height="184" />
          </a>
        </p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010210.jpg">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010210" border="0" alt="P1010210" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010210_thumb.jpg" width="244" height="184" />
          </a>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010211.jpg">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="P1010211" border="0" alt="P1010211" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010211_thumb.jpg" width="244" height="184" />
          </a>
        </p>
        <p>
And finally a view looking back up the river. With the Chute we ran on lookers left.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010214.jpg">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010214" border="0" alt="P1010214" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010214_thumb.jpg" width="644" height="484" />
          </a>
        </p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=c70e21a0-61d1-46db-987c-81de7e70e3d6" />
      </body>
      <title>Kayaking Paddling the Ottawa River</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,c70e21a0-61d1-46db-987c-81de7e70e3d6.aspx</guid>
      <link>http://www.syringe.net.nz/2011/06/10/KayakingPaddlingTheOttawaRiver.aspx</link>
      <pubDate>Fri, 10 Jun 2011 01:00:52 GMT</pubDate>
      <description>&lt;p&gt;
So one of the kayaking items on my bucket list was a trip to the Ottawa River. Just
ticked that one off with a couple of runs over the last couple of days.
&lt;/p&gt;
&lt;p&gt;
&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:84E294D0-71C9-4bd0-A0FE-95764E0368D9:d4a5345b-343b-40db-8e0e-e554e8bead6b" class="wlWriterEditableSmartContent"&gt;&lt;a href="http://www.bing.com/maps/default.aspx?v=2&amp;amp;cp=45.7474~-76.70242&amp;amp;lvl=10&amp;amp;style=r&amp;amp;mkt=en-us&amp;amp;FORM=LLWR" id="map-e01d2d6f-1c03-4488-acad-45210ad3ac32" alt="View map" title="View map"&gt;&lt;img src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/map-c53181dcbcfb.jpg" width="320" height="240" alt="Map picture"&gt;&lt;/a&gt;
&lt;/div&gt;
&gt;
&lt;p&gt;
Didn’t take all that many photos but got a few decent ones of me running The Elevator
Shaft chute at Garvin’s rapid on the Middle Channel. The flow yesterday was 13.0
&lt;/p&gt;
&lt;p&gt;
Here is a MASSIVE panorama of the rapid. Thought I’d upload in all it’s glory for
people who may want to examine it later to plan their lines. Clicky Clicky for the
monster.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/image_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/image_thumb.png" width="644" height="231"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Elevator Shaft is hard River Right. It was a pretty simple drop but it’s got a heap
of rocks in the bottom which kinda freaked me out at first. Someone on the trip who
had run it a heap of times said you don’t hit em, just go for it. So I did.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010206.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="P1010206" border="0" alt="P1010206" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010206_thumb.jpg" width="244" height="184"&gt;&lt;/a&gt;&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010207.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010207" border="0" alt="P1010207" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010207_thumb.jpg" width="244" height="184"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010208.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010208" border="0" alt="P1010208" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010208_thumb.jpg" width="244" height="184"&gt;&lt;/a&gt;&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010209.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010209" border="0" alt="P1010209" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010209_thumb.jpg" width="244" height="184"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010210.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010210" border="0" alt="P1010210" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010210_thumb.jpg" width="244" height="184"&gt;&lt;/a&gt;&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010211.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="P1010211" border="0" alt="P1010211" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010211_thumb.jpg" width="244" height="184"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
And finally a view looking back up the river. With the Chute we ran on lookers left.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010214.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="P1010214" border="0" alt="P1010214" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Paddling-the-Ottawa-River_122FB/P1010214_thumb.jpg" width="644" height="484"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=c70e21a0-61d1-46db-987c-81de7e70e3d6" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,c70e21a0-61d1-46db-987c-81de7e70e3d6.aspx</comments>
      <category>Adventure Sports</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=516f9f16-c207-4cb0-8131-46e4fc16a020</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,516f9f16-c207-4cb0-8131-46e4fc16a020.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,516f9f16-c207-4cb0-8131-46e4fc16a020.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=516f9f16-c207-4cb0-8131-46e4fc16a020</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I awoke this morning to another great <a href="http://www.dcrainmaker.com/">Ray Maker</a> review,
this time of the <a href="http://www.dcrainmaker.com/2011/06/polar-rcx5-in-depth-review.html">Polar
RCX5</a>. Now I have to admit a bit of a sports watch fetish, certainly nothing approach
Ray, but I’ve still owned a bunch of Polar, Suunto and Garmin devices. I’ve pretty
much settled on Garmin as they support the open(ish) ANT+ sensor platform, but, it’s
not without challenges and as such I’ve recently been combining data from two watches.
</p>
        <p>
Towards the end of Rays piece* he notes the issue with the RCX5 in that the desktop
client basically spits the data as two separate files: a *.gpx for the Geo data and
a *.hrm for the traditional polar biometrics and sensor data.
</p>
        <p>
Ray says this
</p>
        <blockquote>
          <p>
            <em>“For example, if you try and import into Sport Tracks, after selecting both files
it simply sees them as two separate training entries – one using GPS data, and one
using footpod data:”</em>
          </p>
        </blockquote>
        <p>
Which is strange, because I do this all the time. Reason being is that the heart rate
monitor that Garmin ship (the soft one) is a piece of turd. I ordered an older style
strap from Garmin but they sent me the wrong one (an old FR301strap) which doesn’t
bloody work. So, I am stuck using my Garmin 310XT for GPS + Footpod and my Polar s625x
with the ever reliable analogue HRM and wearlink strap for HR.
</p>
        <p>
Basically at the end of each workout I let the Garmin 310XT sync with Garmin Connect
and I open Polar Personal Trainer and sync the s625x into that.
</p>
        <p>
Then I can begin import into SportTracks. The trick is to import them in a two step
process… I’ll use a worked example here which was my run/hike up Lynn Peak near Vancouver
this past weekend.
</p>
        <p>
I typically start by importing the Garmin *.fit file direct from the file system (it
gets dumped out by the Garmin ANT Agent)
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_2.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb.png" width="644" height="464" />
          </a>
        </p>
        <p>
This should feel like a standard import.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_4.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb_1.png" width="644" height="464" />
          </a>
        </p>
        <p>
Next I change to the Polar Folder and import the HRM file.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_6.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb_2.png" width="644" height="464" />
          </a>
        </p>
        <p>
Now here is the trick. If you have the clocks on your watches correctly sync’d then
SportTracks will typically pickup that the workouts overlap and automagically offer
to ‘update’. In my case I didn’t because the olar Dual time doesn’t change the date.
So instead I choose the radio button option to <em>Update Existing Activity</em></p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_8.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb_3.png" width="644" height="463" />
          </a>
          <br />
Note that I have<br />
1. Selected the radio button<br />
2. Chosen my previously imported activity<br />
3. Chose to import heart rate and elevation (the s625x has a *proper* altimeter which
is a heap better than relying on GPS data from the 310XT)
</p>
        <p>
And that’s really all there is to it folks- GPS data and running cadence from the
Garmin and Heart Rate data and elevation off the Polar. While I don’t have an RCX5
to test with (feel free to send me one) this process should work just fine with a
GPX file and an HRM file.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_10.png">
            <img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb_4.png" width="644" height="384" />
          </a>
        </p>
        <p>
*Ray: As a quick ask would love to see the sections of your reviews with #Anchor tags
so we can link direct to them.
</p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=516f9f16-c207-4cb0-8131-46e4fc16a020" />
      </body>
      <title>Combining Files from Different Sports Watches using SportTracks</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,516f9f16-c207-4cb0-8131-46e4fc16a020.aspx</guid>
      <link>http://www.syringe.net.nz/2011/06/02/CombiningFilesFromDifferentSportsWatchesUsingSportTracks.aspx</link>
      <pubDate>Thu, 02 Jun 2011 20:25:05 GMT</pubDate>
      <description>&lt;p&gt;
I awoke this morning to another great &lt;a href="http://www.dcrainmaker.com/"&gt;Ray Maker&lt;/a&gt; review,
this time of the &lt;a href="http://www.dcrainmaker.com/2011/06/polar-rcx5-in-depth-review.html"&gt;Polar
RCX5&lt;/a&gt;. Now I have to admit a bit of a sports watch fetish, certainly nothing approach
Ray, but I’ve still owned a bunch of Polar, Suunto and Garmin devices. I’ve pretty
much settled on Garmin as they support the open(ish) ANT+ sensor platform, but, it’s
not without challenges and as such I’ve recently been combining data from two watches.
&lt;/p&gt;
&lt;p&gt;
Towards the end of Rays piece* he notes the issue with the RCX5 in that the desktop
client basically spits the data as two separate files: a *.gpx for the Geo data and
a *.hrm for the traditional polar biometrics and sensor data.
&lt;/p&gt;
&lt;p&gt;
Ray says this
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;em&gt;“For example, if you try and import into Sport Tracks, after selecting both files
it simply sees them as two separate training entries – one using GPS data, and one
using footpod data:”&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Which is strange, because I do this all the time. Reason being is that the heart rate
monitor that Garmin ship (the soft one) is a piece of turd. I ordered an older style
strap from Garmin but they sent me the wrong one (an old FR301strap) which doesn’t
bloody work. So, I am stuck using my Garmin 310XT for GPS + Footpod and my Polar s625x
with the ever reliable analogue HRM and wearlink strap for HR.
&lt;/p&gt;
&lt;p&gt;
Basically at the end of each workout I let the Garmin 310XT sync with Garmin Connect
and I open Polar Personal Trainer and sync the s625x into that.
&lt;/p&gt;
&lt;p&gt;
Then I can begin import into SportTracks. The trick is to import them in a two step
process… I’ll use a worked example here which was my run/hike up Lynn Peak near Vancouver
this past weekend.
&lt;/p&gt;
&lt;p&gt;
I typically start by importing the Garmin *.fit file direct from the file system (it
gets dumped out by the Garmin ANT Agent)
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb.png" width="644" height="464"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
This should feel like a standard import.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb_1.png" width="644" height="464"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Next I change to the Polar Folder and import the HRM file.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_6.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb_2.png" width="644" height="464"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Now here is the trick. If you have the clocks on your watches correctly sync’d then
SportTracks will typically pickup that the workouts overlap and automagically offer
to ‘update’. In my case I didn’t because the olar Dual time doesn’t change the date.
So instead I choose the radio button option to &lt;em&gt;Update Existing Activity&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_8.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb_3.png" width="644" height="463"&gt;&lt;/a&gt;
&lt;br&gt;
Note that I have&lt;br&gt;
1. Selected the radio button&lt;br&gt;
2. Chosen my previously imported activity&lt;br&gt;
3. Chose to import heart rate and elevation (the s625x has a *proper* altimeter which
is a heap better than relying on GPS data from the 310XT)
&lt;/p&gt;
&lt;p&gt;
And that’s really all there is to it folks- GPS data and running cadence from the
Garmin and Heart Rate data and elevation off the Polar. While I don’t have an RCX5
to test with (feel free to send me one) this process should work just fine with a
GPX file and an HRM file.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_10.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/Windows-Live-Writer/Combining-Files-from-Different-Sports-Wa_B70A/image_thumb_4.png" width="644" height="384"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
*Ray: As a quick ask would love to see the sections of your reviews with #Anchor tags
so we can link direct to them.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=516f9f16-c207-4cb0-8131-46e4fc16a020" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,516f9f16-c207-4cb0-8131-46e4fc16a020.aspx</comments>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=0ebfe8e0-3017-482c-820c-f16902dc6ae9</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,0ebfe8e0-3017-482c-820c-f16902dc6ae9.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,0ebfe8e0-3017-482c-820c-f16902dc6ae9.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=0ebfe8e0-3017-482c-820c-f16902dc6ae9</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
So there’s not a whole lots of stuff on the interweb that gets you started with drives
and SQL Compact 4 is only just out into the open. My need was for a lightweight database
for a sample app I’m building with <a href="http://www.59north.com">Chris Klug</a> for
our session at Tech Ed New Zealand.
</p>
        <p>
I thought I’d run quickly through how I got things going.
</p>
        <p>
          <strong>Getting the Bits<br /></strong>I grabbed the bits using the <a href="http://microsoft.com/web">Microsoft
Web Platform installer</a>. I wanted two things. 1) SQL Compact 4 CTP1 and; 2) The
Web Matrix tool.<br />
It’s hopefully fairly obvious why I needed SQL Compact. The reason I wanted Web Matrix
is because it’s currently the only tool I could find that will allow me to create
and edit SQL Compact databases.<br /></p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/trznaj5k_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="trznaj5k" border="0" alt="trznaj5k" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/trznaj5k_thumb.jpg" width="244" height="150" />
          </a>  <a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ixuyzv04_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ixuyzv04" border="0" alt="ixuyzv04" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ixuyzv04_thumb.jpg" width="244" height="94" /></a></p>
        <p>
I’ll be using Visual Studio for much of this post; I’m guessing y’all know how to
get your mittens on that now.
</p>
        <p>
          <strong>Creating a Database<br /></strong>To build our database we’ll be using Web Matrix. It doesn’t have a specific
database designer that is independent of the site editor so we’ll need to create a
site and then create it in the context of our site.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/mdhkuthy_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="mdhkuthy" border="0" alt="mdhkuthy" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/mdhkuthy_thumb.jpg" width="244" height="117" />
          </a>
          <br />
We’ll start from a template.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/sepojgnz_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="sepojgnz" border="0" alt="sepojgnz" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/sepojgnz_thumb.jpg" width="244" height="174" />
          </a>
          <br />
…and create an empty site.
</p>
        <p>
Choose <em>Databases </em>from the left hand nav.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/p2py5yin_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="p2py5yin" border="0" alt="p2py5yin" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/p2py5yin_thumb.jpg" width="244" height="154" />
          </a>
        </p>
        <p>
Choose to create a new database from the ribbon
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/1cx4dml5_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="1cx4dml5" border="0" alt="1cx4dml5" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/1cx4dml5_thumb.jpg" width="244" height="98" />
          </a>
        </p>
        <p>
Double click to select tables. And right click to add a new table
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/a5kbmcaw_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="a5kbmcaw" border="0" alt="a5kbmcaw" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/a5kbmcaw_thumb.jpg" width="241" height="244" />
          </a>
        </p>
        <p>
Create a basic table definition with a ContactID and ContactName. Use the Ribbon controls
to create new columns. Use a BigInt identity column for the ID and make it the Primary
Key.
</p>
        <p>
          <a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ih4vdprv_2.jpg">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ih4vdprv" border="0" alt="ih4vdprv" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ih4vdprv_thumb.jpg" width="244" height="140" />
          </a>
        </p>
        <p>
Save the table as <em>Contact</em></p>
Close Web Matrix- our database has been created and saved into a subfolder of my documents.
Mine was at 
<p>
C:\Users\Chris Auld\Documents\My Web Sites\Empty Site\App_Data 
</p><p>
We need some data in our database. We could ahve used Web Matrix to do this but I
wanted to show another tool that allows us to execute raw SQL against the DB as it
may be more suited to some developers.
</p><p>
The tool in question is the SQL CE Toolbox (you’ll need the latest version which is
a standalone application)<br />
Grab it from here: <a title="http://sqlcetoolbox.codeplex.com/" href="http://sqlcetoolbox.codeplex.com/">http://sqlcetoolbox.codeplex.com/</a><br />
Don’t just install the VIsual Studio add-in version as at the time of writing it doesn’t
support the v4 sdf format.
</p><p>
Open the tool and right click to add a new connection
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/wgaqiuot_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="wgaqiuot" border="0" alt="wgaqiuot" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/wgaqiuot_thumb.jpg" width="244" height="64" /></a></p><p>
Open the database file and test the connection
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ztpigimk_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ztpigimk" border="0" alt="ztpigimk" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ztpigimk_thumb.jpg" width="244" height="201" /></a></p><p>
Expand the tree to show our <em>Contact</em> table. Right click and choose ‘Script
as Insert’. This will create a template insert script for us.<br />
Enter some sensible (or stupid if you prefer) values and then execute the query. I
didn’t attempt to insert the identity column and so removed that from the query.
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/slfl4yrk_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="slfl4yrk" border="0" alt="slfl4yrk" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/slfl4yrk_thumb.jpg" width="244" height="114" /></a></p><p>
Before we leave this tool click the Estimated Plan toolbar button. As long as you
have SQL Server Management Studio installed it’ll open that tool and hand over the
query plan text.
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/43uma5oy_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="43uma5oy" border="0" alt="43uma5oy" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/43uma5oy_thumb.jpg" width="244" height="104" /></a><br />
That’s right folks. That is a graphical query plan graph of the query for my embedded
database. That’s pretty damn cool!
</p><p><strong>Getting Your Database Into Windows Azure Storage</strong></p><p>
Being a database we want our *.sdf file sitting in a WIndows Azure drive. There are
a bunch of ways we could do this:
</p><p>
- We could put it into our service package, create a drive on startup, copy to the
drive and then do a lazy check each time we start so it’s only done once.<br />
-We could create the whole VHD on the client machine and upload that to storage. This
removes any of the once only init code from our application. THis is the approach
I chose to use
</p><p>
We need to create a VHD. Hooray for Windows 7- this is trivial. If you are a hard-ass
like Steve Marx then you can use a <a href="http://blog.smarx.com/posts/serving-your-website-from-a-windows-azure-drive">batch
command to do this</a> but you all know that I’m not really a hard ass so I’ll do
the draggy droppy clicky clicky thing.
</p><p>
Open Disk Management. I’m a fan of the search box in the start menu- type ‘Disk Management’
and then select ‘Create and format hard disk partitions’
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ll3azfwj_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ll3azfwj" border="0" alt="ll3azfwj" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ll3azfwj_thumb.jpg" width="244" height="166" /></a></p><p>
Use the <em>Action </em>menu to <em>Create VHD. </em>Stick it somewhere useful like
the desktop as we’ll need to grab it later. You’ll want to choose a fixed size- I
chose to make it 100MB. You’ll only pay for the actual data you store on disk (not
the empty stuff) but more on that shortly.
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/soyitaae_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="soyitaae" border="0" alt="soyitaae" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/soyitaae_thumb.jpg" width="244" height="233" /></a></p><p>
Once created you’ll need to Initialize the disk with an MBR
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/mhcwels0_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="mhcwels0" border="0" alt="mhcwels0" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/mhcwels0_thumb.jpg" width="244" height="91" /></a></p><p>
.. and Format as NTFS
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/0bubf4tl_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="0bubf4tl" border="0" alt="0bubf4tl" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/0bubf4tl_thumb.jpg" width="244" height="89" /></a></p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/image_2.png"><img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/image_thumb.png" width="244" height="191" /></a>\
</p><p>
The drive will now be available in Windows Explorer and we can copy our *.sdf file
across from the <em>My Web Sites </em>directory to our new VHD
</p><p>
Once we’ve copied it over we can go back and <em>Detach</em> the VHD
</p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/hg2c3kjm_2.jpg"><img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="hg2c3kjm" border="0" alt="hg2c3kjm" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/hg2c3kjm_thumb.jpg" width="244" height="128" /></a></p><p>
Now we can upload the VHD to Blob storage. Before you crack out your favourite Azure
storage client (I like <a href="http://www.cerebrata.com/products/cloudstoragestudio/">Cloud
Studio</a> from Cerebrata) you’ll need to want to check that it supports sparse Page
Blob uploads. Cloud Studio doesn’t so we’ll use the VHDUpload Tool from here: <a title="http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/11/using-windows-azure-page-blobs-and-how-to-efficiently-upload-and-download-page-blobs.aspx" href="http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/11/using-windows-azure-page-blobs-and-how-to-efficiently-upload-and-download-page-blobs.aspx">http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/11/using-windows-azure-page-blobs-and-how-to-efficiently-upload-and-download-page-blobs.aspx</a> I
took the liberty of building the tool: <a href="http://cid-331c152ae0a57e96.office.live.com/self.aspx/Public/VHDUploadTool.zip">VHDUpload</a></p><p><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/image_4.png"><img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/image_thumb_1.png" width="244" height="232" /></a></p><p>
 
</p><p>
More in the Part 2 of this post tomorrow.
</p><img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=0ebfe8e0-3017-482c-820c-f16902dc6ae9" /></body>
      <title>Windows Azure Drives + SQL Compact 4 &amp;ndash; Part #1</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,0ebfe8e0-3017-482c-820c-f16902dc6ae9.aspx</guid>
      <link>http://www.syringe.net.nz/2010/07/20/WindowsAzureDrivesSQLCompact4NdashPart1.aspx</link>
      <pubDate>Tue, 20 Jul 2010 08:24:02 GMT</pubDate>
      <description>&lt;p&gt;
So there’s not a whole lots of stuff on the interweb that gets you started with drives
and SQL Compact 4 is only just out into the open. My need was for a lightweight database
for a sample app I’m building with &lt;a href="http://www.59north.com"&gt;Chris Klug&lt;/a&gt; for
our session at Tech Ed New Zealand.
&lt;/p&gt;
&lt;p&gt;
I thought I’d run quickly through how I got things going.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Getting the Bits&lt;br&gt;
&lt;/strong&gt;I grabbed the bits using the &lt;a href="http://microsoft.com/web"&gt;Microsoft
Web Platform installer&lt;/a&gt;. I wanted two things. 1) SQL Compact 4 CTP1 and; 2) The
Web Matrix tool.&lt;br&gt;
It’s hopefully fairly obvious why I needed SQL Compact. The reason I wanted Web Matrix
is because it’s currently the only tool I could find that will allow me to create
and edit SQL Compact databases.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/trznaj5k_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="trznaj5k" border="0" alt="trznaj5k" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/trznaj5k_thumb.jpg" width="244" height="150"&gt;&lt;/a&gt;&amp;nbsp; &lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ixuyzv04_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ixuyzv04" border="0" alt="ixuyzv04" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ixuyzv04_thumb.jpg" width="244" height="94"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I’ll be using Visual Studio for much of this post; I’m guessing y’all know how to
get your mittens on that now.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Creating a Database&lt;br&gt;
&lt;/strong&gt;To build our database we’ll be using Web Matrix. It doesn’t have a specific
database designer that is independent of the site editor so we’ll need to create a
site and then create it in the context of our site.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/mdhkuthy_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="mdhkuthy" border="0" alt="mdhkuthy" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/mdhkuthy_thumb.jpg" width="244" height="117"&gt;&lt;/a&gt;
&lt;br&gt;
We’ll start from a template.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/sepojgnz_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="sepojgnz" border="0" alt="sepojgnz" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/sepojgnz_thumb.jpg" width="244" height="174"&gt;&lt;/a&gt;
&lt;br&gt;
…and create an empty site.
&lt;/p&gt;
&lt;p&gt;
Choose &lt;em&gt;Databases &lt;/em&gt;from the left hand nav.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/p2py5yin_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="p2py5yin" border="0" alt="p2py5yin" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/p2py5yin_thumb.jpg" width="244" height="154"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Choose to create a new database from the ribbon
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/1cx4dml5_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="1cx4dml5" border="0" alt="1cx4dml5" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/1cx4dml5_thumb.jpg" width="244" height="98"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Double click to select tables. And right click to add a new table
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/a5kbmcaw_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="a5kbmcaw" border="0" alt="a5kbmcaw" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/a5kbmcaw_thumb.jpg" width="241" height="244"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Create a basic table definition with a ContactID and ContactName. Use the Ribbon controls
to create new columns. Use a BigInt identity column for the ID and make it the Primary
Key.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ih4vdprv_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ih4vdprv" border="0" alt="ih4vdprv" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ih4vdprv_thumb.jpg" width="244" height="140"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Save the table as &lt;em&gt;Contact&lt;/em&gt;
&lt;/p&gt;
Close Web Matrix- our database has been created and saved into a subfolder of my documents.
Mine was at 
&lt;p&gt;
C:\Users\Chris Auld\Documents\My Web Sites\Empty Site\App_Data 
&lt;/p&gt;
&lt;p&gt;
We need some data in our database. We could ahve used Web Matrix to do this but I
wanted to show another tool that allows us to execute raw SQL against the DB as it
may be more suited to some developers.
&lt;/p&gt;
&lt;p&gt;
The tool in question is the SQL CE Toolbox (you’ll need the latest version which is
a standalone application)&lt;br&gt;
Grab it from here: &lt;a title="http://sqlcetoolbox.codeplex.com/" href="http://sqlcetoolbox.codeplex.com/"&gt;http://sqlcetoolbox.codeplex.com/&lt;/a&gt;
&lt;br&gt;
Don’t just install the VIsual Studio add-in version as at the time of writing it doesn’t
support the v4 sdf format.
&lt;/p&gt;
&lt;p&gt;
Open the tool and right click to add a new connection
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/wgaqiuot_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="wgaqiuot" border="0" alt="wgaqiuot" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/wgaqiuot_thumb.jpg" width="244" height="64"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Open the database file and test the connection
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ztpigimk_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ztpigimk" border="0" alt="ztpigimk" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ztpigimk_thumb.jpg" width="244" height="201"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Expand the tree to show our &lt;em&gt;Contact&lt;/em&gt; table. Right click and choose ‘Script
as Insert’. This will create a template insert script for us.&lt;br&gt;
Enter some sensible (or stupid if you prefer) values and then execute the query. I
didn’t attempt to insert the identity column and so removed that from the query.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/slfl4yrk_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="slfl4yrk" border="0" alt="slfl4yrk" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/slfl4yrk_thumb.jpg" width="244" height="114"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Before we leave this tool click the Estimated Plan toolbar button. As long as you
have SQL Server Management Studio installed it’ll open that tool and hand over the
query plan text.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/43uma5oy_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="43uma5oy" border="0" alt="43uma5oy" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/43uma5oy_thumb.jpg" width="244" height="104"&gt;&lt;/a&gt;
&lt;br&gt;
That’s right folks. That is a graphical query plan graph of the query for my embedded
database. That’s pretty damn cool!
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Getting Your Database Into Windows Azure Storage&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Being a database we want our *.sdf file sitting in a WIndows Azure drive. There are
a bunch of ways we could do this:
&lt;/p&gt;
&lt;p&gt;
- We could put it into our service package, create a drive on startup, copy to the
drive and then do a lazy check each time we start so it’s only done once.&lt;br&gt;
-We could create the whole VHD on the client machine and upload that to storage. This
removes any of the once only init code from our application. THis is the approach
I chose to use
&lt;/p&gt;
&lt;p&gt;
We need to create a VHD. Hooray for Windows 7- this is trivial. If you are a hard-ass
like Steve Marx then you can use a &lt;a href="http://blog.smarx.com/posts/serving-your-website-from-a-windows-azure-drive"&gt;batch
command to do this&lt;/a&gt; but you all know that I’m not really a hard ass so I’ll do
the draggy droppy clicky clicky thing.
&lt;/p&gt;
&lt;p&gt;
Open Disk Management. I’m a fan of the search box in the start menu- type ‘Disk Management’
and then select ‘Create and format hard disk partitions’
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ll3azfwj_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ll3azfwj" border="0" alt="ll3azfwj" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/ll3azfwj_thumb.jpg" width="244" height="166"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Use the &lt;em&gt;Action &lt;/em&gt;menu to &lt;em&gt;Create VHD. &lt;/em&gt;Stick it somewhere useful like
the desktop as we’ll need to grab it later. You’ll want to choose a fixed size- I
chose to make it 100MB. You’ll only pay for the actual data you store on disk (not
the empty stuff) but more on that shortly.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/soyitaae_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="soyitaae" border="0" alt="soyitaae" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/soyitaae_thumb.jpg" width="244" height="233"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Once created you’ll need to Initialize the disk with an MBR
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/mhcwels0_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="mhcwels0" border="0" alt="mhcwels0" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/mhcwels0_thumb.jpg" width="244" height="91"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
.. and Format as NTFS
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/0bubf4tl_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="0bubf4tl" border="0" alt="0bubf4tl" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/0bubf4tl_thumb.jpg" width="244" height="89"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/image_2.png"&gt;&lt;img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/image_thumb.png" width="244" height="191"&gt;&lt;/a&gt;\
&lt;/p&gt;
&lt;p&gt;
The drive will now be available in Windows Explorer and we can copy our *.sdf file
across from the &lt;em&gt;My Web Sites &lt;/em&gt;directory to our new VHD
&lt;/p&gt;
&lt;p&gt;
Once we’ve copied it over we can go back and &lt;em&gt;Detach&lt;/em&gt; the VHD
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/hg2c3kjm_2.jpg"&gt;&lt;img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="hg2c3kjm" border="0" alt="hg2c3kjm" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/hg2c3kjm_thumb.jpg" width="244" height="128"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Now we can upload the VHD to Blob storage. Before you crack out your favourite Azure
storage client (I like &lt;a href="http://www.cerebrata.com/products/cloudstoragestudio/"&gt;Cloud
Studio&lt;/a&gt; from Cerebrata) you’ll need to want to check that it supports sparse Page
Blob uploads. Cloud Studio doesn’t so we’ll use the VHDUpload Tool from here: &lt;a title="http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/11/using-windows-azure-page-blobs-and-how-to-efficiently-upload-and-download-page-blobs.aspx" href="http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/11/using-windows-azure-page-blobs-and-how-to-efficiently-upload-and-download-page-blobs.aspx"&gt;http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/11/using-windows-azure-page-blobs-and-how-to-efficiently-upload-and-download-page-blobs.aspx&lt;/a&gt; I
took the liberty of building the tool: &lt;a href="http://cid-331c152ae0a57e96.office.live.com/self.aspx/Public/VHDUploadTool.zip"&gt;VHDUpload&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/image_4.png"&gt;&lt;img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/WindowsAzureDrivesASimpleHow2_10236/image_thumb_1.png" width="244" height="232"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
More in the Part 2 of this post tomorrow.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=0ebfe8e0-3017-482c-820c-f16902dc6ae9" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,0ebfe8e0-3017-482c-820c-f16902dc6ae9.aspx</comments>
      <category>Windows Azure</category>
    </item>
    <item>
      <trackback:ping>http://www.syringe.net.nz/Trackback.aspx?guid=b7933390-cb36-497e-8c86-6c32af691882</trackback:ping>
      <pingback:server>http://www.syringe.net.nz/pingback.aspx</pingback:server>
      <pingback:target>http://www.syringe.net.nz/PermaLink,guid,b7933390-cb36-497e-8c86-6c32af691882.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.syringe.net.nz/CommentView,guid,b7933390-cb36-497e-8c86-6c32af691882.aspx</wfw:comment>
      <wfw:commentRss>http://www.syringe.net.nz/SyndicationService.asmx/GetEntryCommentsRss?guid=b7933390-cb36-497e-8c86-6c32af691882</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
The Windows Azure Management API uses x509 certificates to authenticate callers. In
order to make a call to the API you need to have a certificate with both public and
private key at the client and and the public key uploaded into the Azure portal. But,
if you then want to call the management API from your Windows Azure VMs then you’ll
also need to install the cert into the instances by defining them in the service definition
This post will show you how.
</p>
        <p>
I found it a bit of a pain to get going so here’s my simple guide. I used this to
setup the certs for my favourite open source Azure toolkit <a href="http://lokadcloud.codeplex.com/">Lokad-Cloud</a>.
We’ll be creating a self signed certificate, then uploading that certificate into
the Windows Azure management portal. Finally we’ll add the certificate to our service
model to ensure that Windows Azure installs the certificate into our VM instance when
it is started.
</p>
        <p>
Here’s the approach in pictures so you can follow along.
</p>
        <ol>
          <li>
Create a self signed certificate in the IIS7 Manager<br />
Open IIS7 Manager<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb.png" width="244" height="74" /></a>  
</li>
          <li>
Expand the node for your local machine<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_1.png" width="244" height="95" /></a>  
</li>
          <li>
Double Click Server Certificates<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_6.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_2.png" width="244" height="89" /></a></li>
          <li>
Choose Create Self-Signed Certificate<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_3.png" width="226" height="152" /></a></li>
          <li>
Give it a friendly name<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_4.png" width="244" height="56" /></a></li>
        </ol>
        <p>
You’re all done in IIS7 Manager. It’s just created a new Certificate and added this
into the trusted root certification authorities on your machine. This is a highly
trusted location for the cert so do be careful if you ever export it with the private
key included.
</p>
        <p>
We need to export it with the public key included so that we can upload it to the
Windows Azure Portal.
</p>
        <ol>
          <li>
Run CertMgr.msc - just type it in full into the Start box.<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_12.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_5.png" width="244" height="40" /></a></li>
          <li>
Expand 'Trusted Root Certificates Authorities –&gt; Certificates"’<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_16.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_7.png" width="208" height="205" /></a></li>
          <li>
Find your cert using the friendly name column and right click and choose Export<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_18.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_8.png" width="244" height="41" /></a></li>
          <li>
Choose the option to <strong>NOT </strong>export the public key. You should generally
avoid exporting the public key if at all possible*. 
</li>
          <li>
Choose to export as a DER Encoded binary 
</li>
          <li>
Save it somewhere useful – we stick ours into source control 
</li>
          <li>
Choose Export again, but, this time choose to export the private key<br />
Leave the PFX options all unchecked<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_42.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_18.png" width="244" height="222" /></a></li>
          <li>
Give it a sensible name.</li>
        </ol>
        <p>
You’re all done exporting. Now we need to upload it to Azure.
</p>
        <ol>
          <li>
Go to the Windows Azure Portal 
</li>
          <li>
Choose the appropriate project<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_20.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_9.png" width="244" height="86" /></a></li>
          <li>
Click the Account tab across the top of the page<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_22.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_10.png" width="244" height="52" /></a></li>
          <li>
Click Manage My API Certificates<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_24.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_11.png" width="244" height="78" /></a></li>
          <li>
Browse to and upload your *.cer file you created earlier<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_26.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_12.png" width="244" height="36" /></a></li>
          <li>
You should now see the certificate listed against the account.<br />
Note that it’ll be listed using the Subject rather than the friendly name. So you’ll
need to identify it by the thumbprint if you have multiple uploaded from the same
machine. Azure Team: Can we please have the friendly name listed here?<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_28.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_13.png" width="244" height="132" /></a></li>
        </ol>
        <p>
Now we’re ready to use our certificate from the Windows Azure Tools for Visual Studio
</p>
        <ol>
          <li>
Open your Windows Azure Project – We’re using Lokad-Cloud here 
</li>
          <li>
Expand the Cloud Project to show the Roles.<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_30.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_14.png" width="244" height="241" /></a></li>
          <li>
Right click the Web Role and choose properties<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_32.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_15.png" width="244" height="153" /></a><br />
This will open the Snazzy Windows Azure graphical UI. This is much nice than editing
the Model XML by hand. 
</li>
          <li>
Choose the Certificates Tab<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_34.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_16.png" width="136" height="244" /></a></li>
          <li>
In our case there is already a certificate entry defined by the default Lokad Model
definition.<br />
Click the elipses (…) at the end of the thumbnail column to open the certificate chooser
dialog.<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_36.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_17.png" width="244" height="52" /></a></li>
          <li>
Choose the cert from the dialog<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_40.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_19.png" width="198" height="244" /></a></li>
          <li>
Repeat for the worker role</li>
        </ol>
        <p>
The last thing we need to do is upload the certificate into our cloud service before
we can upload our packages. 
</p>
        <ol>
          <li>
Create a new Cloud Service 
</li>
          <li>
Browse to the bottom of the page to find certificates and choose Manage<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_38.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_6.png" width="244" height="152" /></a></li>
          <li>
Browse for your certificate (including the private key) 
</li>
          <li>
Punch in your password and hit upload 
</li>
          <li>
Confirm that you’re all uploaded.<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_44.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_20.png" width="244" height="37" /></a><br /></li>
        </ol>
        <p>
You’re all done. Now you can happily deploy the app to Windows Azure along with having
your certificate deployed into your Azure instances as well. This means that your
Azure roles can now call the management API themselves.
</p>
        <p>
*There will be times when you need to export the public key. We’ve had to do that
in this scenario as we actually want to install the private key into our Azure instances.
Another good example here is in a shared development environment. You have the option
of either sharing a certificate among everyone or each uploading your own public key.
Because we’re using the lokad tool and this explicitly supports just a single cert
we’ve actually exported our cert (password protected) into our source control system
so all developers can install the same private key.<br /></p>
        <p>
If you have done an export and want to install the private cert onto a new machine
then you’ll need to add it into the Local Computer –&gt; Personal store.
</p>
        <ol>
          <li>
Run MMC by typing MMC in the start run box</li>
          <li>
Add the Certificates Snapin<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_46.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_21.png" width="244" height="161" /></a><br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_48.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_22.png" width="244" height="172" /></a></li>
          <li>
Choose Computer Account<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_50.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_23.png" width="244" height="181" /></a></li>
          <li>
Choose local computer</li>
          <li>
Open the Personal Store and choose More Actions&gt;Import<br /><a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_52.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_24.png" width="244" height="67" /></a></li>
          <li>
Browse to and import your certificate.</li>
        </ol>
        <p>
The certificate should now be visible in the Windows Azure Tools for VS.NET cert selector
dialog.
</p>
        <img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=b7933390-cb36-497e-8c86-6c32af691882" />
      </body>
      <title>Windows Azure Certificates for Self management Scenarios</title>
      <guid isPermaLink="false">http://www.syringe.net.nz/PermaLink,guid,b7933390-cb36-497e-8c86-6c32af691882.aspx</guid>
      <link>http://www.syringe.net.nz/2010/05/03/WindowsAzureCertificatesForSelfManagementScenarios.aspx</link>
      <pubDate>Mon, 03 May 2010 09:18:56 GMT</pubDate>
      <description>&lt;p&gt;
The Windows Azure Management API uses x509 certificates to authenticate callers. In
order to make a call to the API you need to have a certificate with both public and
private key at the client and and the public key uploaded into the Azure portal. But,
if you then want to call the management API from your Windows Azure VMs then you’ll
also need to install the cert into the instances by defining them in the service definition
This post will show you how.
&lt;/p&gt;
&lt;p&gt;
I found it a bit of a pain to get going so here’s my simple guide. I used this to
setup the certs for my favourite open source Azure toolkit &lt;a href="http://lokadcloud.codeplex.com/"&gt;Lokad-Cloud&lt;/a&gt;.
We’ll be creating a self signed certificate, then uploading that certificate into
the Windows Azure management portal. Finally we’ll add the certificate to our service
model to ensure that Windows Azure installs the certificate into our VM instance when
it is started.
&lt;/p&gt;
&lt;p&gt;
Here’s the approach in pictures so you can follow along.
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Create a self signed certificate in the IIS7 Manager&lt;br&gt;
Open IIS7 Manager&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb.png" width="244" height="74"&gt;&lt;/a&gt;&amp;nbsp; 
&lt;li&gt;
Expand the node for your local machine&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_1.png" width="244" height="95"&gt;&lt;/a&gt;&amp;nbsp; 
&lt;li&gt;
Double Click Server Certificates&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_2.png" width="244" height="89"&gt;&lt;/a&gt; 
&lt;li&gt;
Choose Create Self-Signed Certificate&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_3.png" width="226" height="152"&gt;&lt;/a&gt; 
&lt;li&gt;
Give it a friendly name&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_4.png" width="244" height="56"&gt;&lt;/a&gt; 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
You’re all done in IIS7 Manager. It’s just created a new Certificate and added this
into the trusted root certification authorities on your machine. This is a highly
trusted location for the cert so do be careful if you ever export it with the private
key included.
&lt;/p&gt;
&lt;p&gt;
We need to export it with the public key included so that we can upload it to the
Windows Azure Portal.
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Run CertMgr.msc - just type it in full into the Start box.&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_5.png" width="244" height="40"&gt;&lt;/a&gt; 
&lt;li&gt;
Expand 'Trusted Root Certificates Authorities –&amp;gt; Certificates"’&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_16.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_7.png" width="208" height="205"&gt;&lt;/a&gt; 
&lt;li&gt;
Find your cert using the friendly name column and right click and choose Export&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_8.png" width="244" height="41"&gt;&lt;/a&gt; 
&lt;li&gt;
Choose the option to &lt;strong&gt;NOT &lt;/strong&gt;export the public key. You should generally
avoid exporting the public key if at all possible*. 
&lt;li&gt;
Choose to export as a DER Encoded binary 
&lt;li&gt;
Save it somewhere useful – we stick ours into source control 
&lt;li&gt;
Choose Export again, but, this time choose to export the private key&lt;br&gt;
Leave the PFX options all unchecked&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_18.png" width="244" height="222"&gt;&lt;/a&gt; 
&lt;li&gt;
Give it a sensible name.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
You’re all done exporting. Now we need to upload it to Azure.
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Go to the Windows Azure Portal 
&lt;li&gt;
Choose the appropriate project&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_9.png" width="244" height="86"&gt;&lt;/a&gt; 
&lt;li&gt;
Click the Account tab across the top of the page&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_10.png" width="244" height="52"&gt;&lt;/a&gt; 
&lt;li&gt;
Click Manage My API Certificates&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_11.png" width="244" height="78"&gt;&lt;/a&gt; 
&lt;li&gt;
Browse to and upload your *.cer file you created earlier&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_12.png" width="244" height="36"&gt;&lt;/a&gt; 
&lt;li&gt;
You should now see the certificate listed against the account.&lt;br&gt;
Note that it’ll be listed using the Subject rather than the friendly name. So you’ll
need to identify it by the thumbprint if you have multiple uploaded from the same
machine. Azure Team: Can we please have the friendly name listed here?&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_13.png" width="244" height="132"&gt;&lt;/a&gt; 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Now we’re ready to use our certificate from the Windows Azure Tools for Visual Studio
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Open your Windows Azure Project – We’re using Lokad-Cloud here 
&lt;li&gt;
Expand the Cloud Project to show the Roles.&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_14.png" width="244" height="241"&gt;&lt;/a&gt; 
&lt;li&gt;
Right click the Web Role and choose properties&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_32.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_15.png" width="244" height="153"&gt;&lt;/a&gt; 
&lt;br&gt;
This will open the Snazzy Windows Azure graphical UI. This is much nice than editing
the Model XML by hand. 
&lt;li&gt;
Choose the Certificates Tab&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_16.png" width="136" height="244"&gt;&lt;/a&gt; 
&lt;li&gt;
In our case there is already a certificate entry defined by the default Lokad Model
definition.&lt;br&gt;
Click the elipses (…) at the end of the thumbnail column to open the certificate chooser
dialog.&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_36.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_17.png" width="244" height="52"&gt;&lt;/a&gt; 
&lt;li&gt;
Choose the cert from the dialog&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_40.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_19.png" width="198" height="244"&gt;&lt;/a&gt; 
&lt;li&gt;
Repeat for the worker role&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
The last thing we need to do is upload the certificate into our cloud service before
we can upload our packages. 
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Create a new Cloud Service 
&lt;li&gt;
Browse to the bottom of the page to find certificates and choose Manage&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_38.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_6.png" width="244" height="152"&gt;&lt;/a&gt; 
&lt;li&gt;
Browse for your certificate (including the private key) 
&lt;li&gt;
Punch in your password and hit upload 
&lt;li&gt;
Confirm that you’re all uploaded.&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_44.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_20.png" width="244" height="37"&gt;&lt;/a&gt; 
&lt;br&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
You’re all done. Now you can happily deploy the app to Windows Azure along with having
your certificate deployed into your Azure instances as well. This means that your
Azure roles can now call the management API themselves.
&lt;/p&gt;
&lt;p&gt;
*There will be times when you need to export the public key. We’ve had to do that
in this scenario as we actually want to install the private key into our Azure instances.
Another good example here is in a shared development environment. You have the option
of either sharing a certificate among everyone or each uploading your own public key.
Because we’re using the lokad tool and this explicitly supports just a single cert
we’ve actually exported our cert (password protected) into our source control system
so all developers can install the same private key.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
If you have done an export and want to install the private cert onto a new machine
then you’ll need to add it into the Local Computer –&amp;gt; Personal store.
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Run MMC by typing MMC in the start run box&lt;/li&gt;
&lt;li&gt;
Add the Certificates Snapin&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_46.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_21.png" width="244" height="161"&gt;&lt;/a&gt; 
&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_48.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_22.png" width="244" height="172"&gt;&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
Choose Computer Account&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_50.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_23.png" width="244" height="181"&gt;&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
Choose local computer&lt;/li&gt;
&lt;li&gt;
Open the Personal Store and choose More Actions&amp;gt;Import&lt;br&gt;
&lt;a href="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_52.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.syringe.net.nz/content/binary/WindowsLiveWriter/TheUltimateGuidetoWindowsAzureManagement_E94C/image_thumb_24.png" width="244" height="67"&gt;&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
Browse to and import your certificate.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
The certificate should now be visible in the Windows Azure Tools for VS.NET cert selector
dialog.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.syringe.net.nz/aggbug.ashx?id=b7933390-cb36-497e-8c86-6c32af691882" /&gt;</description>
      <comments>http://www.syringe.net.nz/CommentView,guid,b7933390-cb36-497e-8c86-6c32af691882.aspx</comments>
      <category>Windows Azure</category>
    </item>
  </channel>
</rss>
