<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for simonguest.com</title>
	<atom:link href="http://simonguest.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://simonguest.com</link>
	<description>The only person allowed to login as &#039;guest&#039;</description>
	<lastBuildDate>Sun, 19 Feb 2012 23:13:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Using Apple Push Notifications from Windows Azure by Simon</title>
		<link>http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-412</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sun, 19 Feb 2012 23:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-412</guid>
		<description>Hi Simon,

Just thought I&#039;d update you. Thanks to your website I  did eventually persevere and managed to get this all up and working. I plan to post the code on my blog once I&#039;ve tidied it up a little.</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>Just thought I&#8217;d update you. Thanks to your website I  did eventually persevere and managed to get this all up and working. I plan to post the code on my blog once I&#8217;ve tidied it up a little.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Windows 7 to host PHP applications in 5 easy steps! by Bill Balnaves</title>
		<link>http://simonguest.com/2009/03/09/using-windows-7-to-host-php-applications-in-5-easy-steps/#comment-407</link>
		<dc:creator>Bill Balnaves</dc:creator>
		<pubDate>Mon, 23 Jan 2012 07:14:19 +0000</pubDate>
		<guid isPermaLink="false">/blogs/smguest/archive/2009/03/09/Using-Windows-7-to-host-PHP-applications-in-5-easy-steps_2100_.aspx#comment-407</guid>
		<description>The instructions are now out of date.
Install available from Microsoft http://php.iis.net/</description>
		<content:encoded><![CDATA[<p>The instructions are now out of date.<br />
Install available from Microsoft <a href="http://php.iis.net/" rel="nofollow">http://php.iis.net/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Apple Push Notifications from Windows Azure by Simon</title>
		<link>http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-406</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Fri, 20 Jan 2012 15:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-406</guid>
		<description>Hi Simon - sorry to hear you are still having troubles.  If I&#039;m correct, you can get the code working directly from a C# application - but once you put it in an Azure role, things stop working (even on the development fabric on your local machine)?</description>
		<content:encoded><![CDATA[<p>Hi Simon &#8211; sorry to hear you are still having troubles.  If I&#8217;m correct, you can get the code working directly from a C# application &#8211; but once you put it in an Azure role, things stop working (even on the development fabric on your local machine)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Apple Push Notifications from Windows Azure by Simon</title>
		<link>http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-401</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 22 Dec 2011 12:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-401</guid>
		<description>Thanks MinGyu,

I think everyone reading this should apply these changes to be on the safe side.</description>
		<content:encoded><![CDATA[<p>Thanks MinGyu,</p>
<p>I think everyone reading this should apply these changes to be on the safe side.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Apple Push Notifications from Windows Azure by Simon</title>
		<link>http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-400</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 21 Dec 2011 23:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-400</guid>
		<description>OK, I got it all running - its says it connected OK, and the messages were sent OK (no exceptions anyway). However, I get no notifications to my app :-(

I double-checked the DEVICE TOKEN and it was fine.

Will this actually work when running in the Azure emulator on my laptop?

Since your example uses the &quot;Simple&quot; notification format for the message to the APN server, I can&#039;t get any feedback from the APN server. And I can&#039;t use the &quot;enhanced&quot; format as I haven&#039;t got a clue  how i&#039;d intercept the usual error response.

This is all so opaque !</description>
		<content:encoded><![CDATA[<p>OK, I got it all running &#8211; its says it connected OK, and the messages were sent OK (no exceptions anyway). However, I get no notifications to my app <img src='http://simonguest.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>I double-checked the DEVICE TOKEN and it was fine.</p>
<p>Will this actually work when running in the Azure emulator on my laptop?</p>
<p>Since your example uses the &#8220;Simple&#8221; notification format for the message to the APN server, I can&#8217;t get any feedback from the APN server. And I can&#8217;t use the &#8220;enhanced&#8221; format as I haven&#8217;t got a clue  how i&#8217;d intercept the usual error response.</p>
<p>This is all so opaque !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Windows 7 to host PHP applications in 5 easy steps! by Abdul hafeez Awan</title>
		<link>http://simonguest.com/2009/03/09/using-windows-7-to-host-php-applications-in-5-easy-steps/#comment-399</link>
		<dc:creator>Abdul hafeez Awan</dc:creator>
		<pubDate>Wed, 21 Dec 2011 19:32:21 +0000</pubDate>
		<guid isPermaLink="false">/blogs/smguest/archive/2009/03/09/Using-Windows-7-to-host-PHP-applications-in-5-easy-steps_2100_.aspx#comment-399</guid>
		<description>inetmgr how can i open by typing inetmgr in the Start menu i do not access</description>
		<content:encoded><![CDATA[<p>inetmgr how can i open by typing inetmgr in the Start menu i do not access</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Apple Push Notifications from Windows Azure by Simon</title>
		<link>http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-398</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 20 Dec 2011 00:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-398</guid>
		<description>Hi (wiser) Simon!,

Sorry for all the questions and thanks for the offer of help.

I think I&#039;ve got it to connect. It says it is now anyway!

There were two issues, your code example was missing the folder separators &quot;\&quot; I think, it should be:

private static X509Certificate2 CLIENT_CERT = new X509Certificate2(Environment.GetEnvironmentVariable(&quot;RoleRoot&quot;) + @&quot;\approot\certs\mix11_dev_cert.p12&quot;, CERT_PASSWORD);

This might be obvious to anyone that knows Azure but I&#039;m a complete beginner.

However, I finally got my code working by moving my certificate into the root and using:

private static X509Certificate2 CLIENT_CERT = new X509Certificate2(Path.Combine(appRoot + @&quot;\&quot;, @&quot;approot\my_cert_name.p12&quot;), CERT_PASSWORD);

The other issue was my fault, but perhaps something worth stipulating. As well as marking the certificate as &quot;Content&quot; you must also set &quot;Copy to Output Directory&quot; to &quot;Copy always&quot; or &quot;Copy if Newer&quot;. As a newbie, I&#039;d left it at &quot;Do not copy&quot;.

I now get a successful connection to APN with my certificate. I&#039;m still testing locally and now moving onto the code to actually send the message. Slow progress as I&#039;m really wanting to understand what&#039;s happening here rather than just cutting and pasting your code.

NB: I&#039;m totally confident with .NET and web page development, but completely new to Azure and Certificates.</description>
		<content:encoded><![CDATA[<p>Hi (wiser) Simon!,</p>
<p>Sorry for all the questions and thanks for the offer of help.</p>
<p>I think I&#8217;ve got it to connect. It says it is now anyway!</p>
<p>There were two issues, your code example was missing the folder separators &#8220;\&#8221; I think, it should be:</p>
<p>private static X509Certificate2 CLIENT_CERT = new X509Certificate2(Environment.GetEnvironmentVariable(&#8220;RoleRoot&#8221;) + @&#8221;\approot\certs\mix11_dev_cert.p12&#8243;, CERT_PASSWORD);</p>
<p>This might be obvious to anyone that knows Azure but I&#8217;m a complete beginner.</p>
<p>However, I finally got my code working by moving my certificate into the root and using:</p>
<p>private static X509Certificate2 CLIENT_CERT = new X509Certificate2(Path.Combine(appRoot + @&#8221;\&#8221;, @&#8221;approot\my_cert_name.p12&#8243;), CERT_PASSWORD);</p>
<p>The other issue was my fault, but perhaps something worth stipulating. As well as marking the certificate as &#8220;Content&#8221; you must also set &#8220;Copy to Output Directory&#8221; to &#8220;Copy always&#8221; or &#8220;Copy if Newer&#8221;. As a newbie, I&#8217;d left it at &#8220;Do not copy&#8221;.</p>
<p>I now get a successful connection to APN with my certificate. I&#8217;m still testing locally and now moving onto the code to actually send the message. Slow progress as I&#8217;m really wanting to understand what&#8217;s happening here rather than just cutting and pasting your code.</p>
<p>NB: I&#8217;m totally confident with .NET and web page development, but completely new to Azure and Certificates.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Apple Push Notifications from Windows Azure by Simon</title>
		<link>http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-397</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 17 Dec 2011 20:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-397</guid>
		<description>Simon - happy to try and help.  Are you trying to get this working using Windows Azure, or just from a local machine?  The cert path in my code relates to Windows Azure - the environment variable is used to determine whether the certificate is uploaded to.</description>
		<content:encoded><![CDATA[<p>Simon &#8211; happy to try and help.  Are you trying to get this working using Windows Azure, or just from a local machine?  The cert path in my code relates to Windows Azure &#8211; the environment variable is used to determine whether the certificate is uploaded to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Apple Push Notifications from Windows Azure by Simon</title>
		<link>http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-396</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 14 Dec 2011 22:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-396</guid>
		<description>I get the exception:

System.Security.Cryptography.CryptographicException: The system cannot find the file specified.</description>
		<content:encoded><![CDATA[<p>I get the exception:</p>
<p>System.Security.Cryptography.CryptographicException: The system cannot find the file specified.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Apple Push Notifications from Windows Azure by Simon</title>
		<link>http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-395</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 14 Dec 2011 22:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://simonguest.com/2011/04/21/using-apple-push-notifications-from-windows-azure/#comment-395</guid>
		<description>I don&#039;t understand the line that (presumably) is creating a certificate class from the Apple certificate.

The line is:

private static X509Certificate2 CLIENT_CERT = new X509Certificate2(Environment.GetEnvironmentVariable(&quot;RoleRoot&quot;) + @&quot;approotcertsmix11_dev_cert.p12&quot;, CERT_PASSWORD); 

Yet you advised us to put our certificate in a folder called &quot;Certs&quot;.
I just can&#039;t understand how this is working or even if this IS the Apple certificate?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand the line that (presumably) is creating a certificate class from the Apple certificate.</p>
<p>The line is:</p>
<p>private static X509Certificate2 CLIENT_CERT = new X509Certificate2(Environment.GetEnvironmentVariable(&#8220;RoleRoot&#8221;) + @&#8221;approotcertsmix11_dev_cert.p12&#8243;, CERT_PASSWORD); </p>
<p>Yet you advised us to put our certificate in a folder called &#8220;Certs&#8221;.<br />
I just can&#8217;t understand how this is working or even if this IS the Apple certificate?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

