<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EvereQ &#187; Windows</title>
	<atom:link href="http://blog.evereq.com/blog/index.php/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.evereq.com/blog</link>
	<description>Everything reQuired</description>
	<lastBuildDate>Sun, 11 Jul 2010 08:35:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The November version of the Windows Azure SDK and Tools</title>
		<link>http://blog.evereq.com/blog/index.php/2009/11/the-november-version-of-the-windows-azure-sdk-and-tools/</link>
		<comments>http://blog.evereq.com/blog/index.php/2009/11/the-november-version-of-the-windows-azure-sdk-and-tools/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 07:53:44 +0000</pubDate>
		<dc:creator>evereq</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[ADO.NET Data Services]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Client Library]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Diagnostics]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Samples]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[StorageClient]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.evereq.com/blog/?p=520</guid>
		<description><![CDATA[Download them here.
New in the November 2009 SDK (quote from Microsoft Windows Azure team newsletter):

Windows Azure Service Runtime managed library: The latest version of the Service Hosting Runtime API includes support for enhanced communication between roles and for runtime notification of service configuration changes. Direct communication between role instances enables new application development scenarios, including applications [...]]]></description>
			<content:encoded><![CDATA[<p>Download them <a style="color: #2a5db0;" href="http://go.microsoft.com/fwlink/?LinkID=128752" target="_blank">here</a>.</p>
<p><strong>New in the November 2009 SDK (quote from Microsoft Windows Azure team newsletter):</strong></p>
<ul>
<li style="margin-left: 15px;"><strong>Windows Azure Service Runtime managed library</strong>: The latest version of the Service Hosting Runtime API includes support for enhanced communication between roles and for runtime notification of service configuration changes. Direct communication between role instances enables new application development scenarios, including applications that distribute state across role instances. Service configuration changes include an increase or decrease in the number of request role instances and changes to the values of configuration settings.</li>
<li style="margin-left: 15px;"><strong>Windows Azure Diagnostics managed library</strong>: The new Diagnostics API enables logging using standard .NET APIs. The Diagnostics API provides built-in support for collecting standard logs and diagnostic information, including the Windows Azure logs, IIS 7.0 logs, Failed Request logs, crash dumps, Windows Event logs, performance counters, and custom logs.</li>
<li style="margin-left: 15px;"><strong>Certificate Management</strong>: Enhanced support for SSL certificates in Windows Azure and in the Windows Azure SDK enables the secure automated deployment of certificates to services hosted on Windows Azure.</li>
<li style="margin-left: 15px;"><strong>Variable-size Virtual Machines</strong> : Developers may now specify the size of the virtual machine to which they wish to deploy a role instance, based on the role&#8217;s resource requirements. The size of the VM determines the number of CPU cores, the memory capacity, and the local file system size allocated to a running instance.</li>
<li style="margin-left: 15px;"><strong>External endpoints for worker roles.</strong> A worker role may now define any number of external endpoints for HTTP, HTTPS, and TCP, and specify the desired port number for any external endpoint.</li>
<li style="margin-left: 15px;"><strong>Persistent local resource storage</strong>: Developers can now choose to persist data written to a local storage resource at runtime when the role is recycled.</li>
<li style="margin-left: 15px;"><strong>Windows Azure Storage Client managed library</strong>: The Storage Client library provides a .NET API for accessing the Windows Azure storage services.</li>
<li style="margin-left: 15px;"><strong>Improved Development Storage</strong>: Development storage provides a high-fidelity simulation of the Windows Azure storage services in the cloud. Tables can now be created dynamically in the development storage Table service and are no longer required to be generated in advance.</li>
<li style="margin-left: 15px;"><strong>Updated samples</strong>: The samples included with the Windows Azure SDK have been updated to demonstrate new features. The samples now include both C# and Visual Basic versions.</li>
</ul>
<p>As we can see &#8211; a lot of improvements and new features introduced in this release. I will made review of them right after will have time to check (hopefully today later)! In any case, glad that MS improve Azure SDK so quickly!</p>
<p><strong>Update: </strong>after installation and first review, I found following:</p>
<ul>
<li>It seems like Microsoft finally have &#8220;official&#8221; Client library for Azure Storage. The name is same like from samples before, i.e. &#8220;StorageClient&#8221;, but now it is in &#8220;Microsoft.WindowsAzure.StorageClient&#8221; namespace, not like &#8220;Microsoft.Samples.ServiceHosting.StorageClient&#8221; that was before! It is also VERY extended and improved, so if you going to use Azure Storage, for sure you need to use this library (and I am also going to use it in my EvejobAzNET project) &#8211; it give you access to Blob Service, Queue Service and Table Service! Sure like before, it is possible to use simple .NET Client Library for ADO.NET Data Services (and new library use it inside anyway, just check that it reference System.Data.Services.Client library inside)&#8230; But with official Azure Storage Client library a lot of tasks become much more simple! You can found this library (*.dll) in &#8220;c:\Program Files\Windows Azure SDK\v1.0\ref\&#8221; folder, together with other useful binaries!</li>
<li>It is possible now to use another &#8220;official&#8221; library to get programmatic access to most of functionality available before only from Azure Developer Portal (and actually I don&#8217;t know why, but for some reasons Portal works and looks not best way! You can google, A LOT of people complain about issues with this!).</li>
<li>A new Library for Logging and Diagnostic functionality was added to SDK (Microsoft.WindowsAzure.Diagnostics namespace) <strong>- </strong>feel free to review samples in SDK (zip archives available in root folder of SDK installation, i.e. in C:\Program Files\Windows Azure SDK\v1.0 by default &#8211; samples-cs.zip for C# version and samples-vb.zip for VB version)</li>
<li>A lot of other improvements / features was added that relate mostly to development / production environment (Visual Studio Azure support, new release of Development Fabric etc) &#8211; they not change significantly your code / application design, instead of features described above that I highly recommend to review in case if you develop for Azure!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.evereq.com/blog/index.php/2009/11/the-november-version-of-the-windows-azure-sdk-and-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips and Tricks in Installation of PIL on Windows 7 / 2008 64bit</title>
		<link>http://blog.evereq.com/blog/index.php/2009/11/tips-and-tricks-in-installation-of-pil-on-windows-7-2008-64bit/</link>
		<comments>http://blog.evereq.com/blog/index.php/2009/11/tips-and-tricks-in-installation-of-pil-on-windows-7-2008-64bit/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 18:14:11 +0000</pubDate>
		<dc:creator>evereq</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[PIL]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://blog.evereq.com/blog/?p=505</guid>
		<description><![CDATA[

1) libtiff


download sources (zip) from http://gnuwin32.sourceforge.net/packages/tiff.htm
2) zlib
download sources (zip) from http://gnuwin32.sourceforge.net/packages/zlib.htm
3) libjpg
download sources (zip) from http://gnuwin32.sourceforge.net/packages/jpeg.htm
http://www.wiredfool.com/2005/10/29/how-to-build-the-python-imaging-library-for-windows/
http://boodebr.org/main/python/build-windows-extensions
Installation of Python Image Library (PIL)
It will be a problems with PIL installation on  Windows 7 64 bit, so you will need to install library from source code:

Download PIL library source code from http://www.pythonware.com/products/pil/
Unpack it to any  folder, for example [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">
<ol>
<li>1) libtiff</li>
</ol>
</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">download sources (zip) from http://gnuwin32.sourceforge.net/packages/tiff.htm</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">2) zlib</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">download sources (zip) from http://gnuwin32.sourceforge.net/packages/zlib.htm</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3) libjpg</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">download sources (zip) from http://gnuwin32.sourceforge.net/packages/jpeg.htm</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://www.wiredfool.com/2005/10/29/how-to-build-the-python-imaging-library-for-windows/</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://boodebr.org/main/python/build-windows-extensions</div>
<p>Installation of Python Image Library (PIL)</p>
<p>It will be a problems with PIL installation on  Windows 7 64 bit, so you will need to install library from source code:</p>
<ol>
<li>Download PIL library source code from http://www.pythonware.com/products/pil/</li>
<li>Unpack it to any  folder, for example C:\PIL</li>
<li>Run in command prompt (cmd):

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;"><span style="color: #b1b100; font-weight: bold;">cd</span> c:\PIL
python setup.py install</pre></div></div>

<p>This will install library, but without support for TKINTER, JPEG, ZLIB (PNG/ZIP) and FREETYPE2 (i.e. actually without anything <img src='http://blog.evereq.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )</li>
</ol>
<p>So let&#8217;s add support for at least JPEG and PNG. To do this, you will need to download following libraries:</p>
<ol>
<li>libtiff &#8211; download sources (zip) from http://gnuwin32.sourceforge.net/packages/tiff.htm</li>
<li>zlib &#8211; download sources (zip) from http://gnuwin32.sourceforge.net/packages/zlib.htm</li>
<li>libjpg &#8211; download sources (zip) from http://gnuwin32.sourceforge.net/packages/jpeg.htm</li>
</ol>
<p>Following blog posts will help you to continue with installation:</p>
<ul>
<li><a href="http://www.wiredfool.com/2005/10/29/how-to-build-the-python-imaging-library-for-windows" target="_blank">http://www.wiredfool.com/2005/10/29/how-to-build-the-python-imaging-library-for-windows</a> (in case if you want to use Visual Studio to build libraries)</li>
<li><a href="http://boodebr.org/main/python/build-windows-extensions" target="_blank">http://boodebr.org/main/python/build-windows-extensions</a> (in case if you going to use open source software like <a href="http://www.mingw.org/" target="_blank">MinGW</a> or <a href="http://www.cygwin.com/" target="_blank">Cygwin</a> to build libraries)</li>
</ul>
<p><strong>Notes:</strong></p>
<ol>
<li>Possible that you will need to remove

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"> include <span style="color: #339933;">&lt;</span>unistd.<span style="color: #202020;">h</span><span style="color: #339933;">&gt;</span></pre></div></div>

<p>from some *.h source files as this needed to be included only on Unix (ok, at least not on Windows)<br />
For example you will need to delete such line from zconf.h in zlib sources before try to run nmake for zlib.</li>
<li> Don&#8217;t forget to set PIL library pointers (in setup.py of PIL) to point to the locations where you put zlib, libjpg and libtiff. If you forget to setup  - PIL will not found them and you will get what I describe in the beging of post &#8211; I.e. nothing <img src='http://blog.evereq.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .<br />
This is for example what you need to set for zlib in setup.py of PIL in case if you copy zlib sources to c:\PIL\zlib folder (I assume that you unzip PIL into c:\PIL here):</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;">ZLIB_ROOT = <span style="color: #483d8b;">'./zlib'</span></pre></div></div>

</li>
<li>
 You also can found yourself with finding all the 32-bit times &#8220;__time32_t&#8221; and changing it to &#8220;time_t&#8221; for 64-bit conversion <img src='http://blog.evereq.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.evereq.com/blog/index.php/2009/11/tips-and-tricks-in-installation-of-pil-on-windows-7-2008-64bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 32bit vs 64bit</title>
		<link>http://blog.evereq.com/blog/index.php/2009/10/windows-32bit-vs-64bit/</link>
		<comments>http://blog.evereq.com/blog/index.php/2009/10/windows-32bit-vs-64bit/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 10:00:05 +0000</pubDate>
		<dc:creator>evereq</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Out of memory]]></category>
		<category><![CDATA[Serialization]]></category>
		<category><![CDATA[Sessions]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.evereq.com/?p=61</guid>
		<description><![CDATA[if you have 64 bit version of Microsoft Windows (2008, 7 or 2003) it seems like it&#8217;s good idea to setup this version (instead of 32 bit) on both developer machine and production servers if you select .NET platform for your Web application and IIS as your hosting solution.
Here are some reasons why:
1) Serialization works [...]]]></description>
			<content:encoded><![CDATA[<p>if you have 64 bit version of Microsoft Windows (2008, 7 or 2003) it seems like it&#8217;s good idea to setup this version (instead of 32 bit) on both developer machine and production servers if you select .NET platform for your Web application and IIS as your hosting solution.</p>
<p>Here are some reasons why:<br />
1) Serialization works much better on 64 bit OS in processes that hosted by IIS (at least for IIS 6,7,7.5). Means that if you want to serialize huge object (for example DataTable) in 32 bit OS you can get &#8220;Out Of memory&#8221; exception, while on 64 bit OS this works fine! As probably you know, IIS process on 32 bit OS can be practically maximum about 1200Mb size (while theoretically maximum is 2Gb for 32 bit OS) and for some scenarios this can be a not enough (for example if you going to use in-memory / in-process cache etc)<br />
2) If you develop your system on 64 bit OS, you can be sure that it will work well on both 32 bit and 64 bit OS (at least you can check how it works). Usually problems start coming if you develop and test on 32 bit and than decide to host under 64 bit OS&#8230;. So why not to avoid this? Cost of both 32 bit and 64 bit OS usually is the same (at least for MS products), so if you don&#8217;t have some specific requirements (for example some of your library does not works under 64 bit machine) it looks like make sense to go with 64 bit!<br />
3) In latest Server OS Windows 2008 R2, Microsoft removes 32 bit support and this version available only as 64 bit OS. That is why it looks like now make sense also to move to 64 bit on developer machine!</p>
<p>So, I found for myself following best software combination available today to develop / host .NET Web Application:</p>
<p>1) Developer Machine: Windows 7 Professional / Ultimate / Enterprise 64 bit with at least 8Gb PC memory (as you probably will want to run some virtual machines, your ReSharper will eat a log of memory in whole solution analyzing mode, Visual studio process can grow to 1Gb itself, Microsoft SQL Server same etc)</p>
<p>2) Hosting Server: Windows 2008 R2 (64 bit) with at least 4Gb memory even if you enable only IIS here (i.e. use server just as Web Server, but not as SQL Server etc), but use huge Sessions objects (not recommended, unless you already have stupid code that do so) or in memory (in process) huge Cache (ASP.NET or for example EntLib Cache etc).   </p>
<p>Using such combination you will avoid a lot of problems with &#8220;Out of memory&#8221; related issues! </p>
<p>P.S. yes, yes, I know &#8211; instead of &#8220;Out of Memory&#8221; issue, you will get a lot of problems to make some soft working well under 64 bit (problems with Paths, dll versions etc). But  time that you spend to fix all this setup issues, will save you much more time with Visual Studio (or other soft) crashes or when you go live with your application and get 100 times per day same &#8220;out of memory&#8221; in your logs! I don&#8217;t speak here about performance benefits here (if they exists at all) &#8211;  it make sense to create special post for this! </p>
<p>P.P.S. sure thing, if you get such &#8220;out of memory&#8221; exceptions it is problems in your code (or in Microsoft code in some cases, like Visual Studio for example, but anyway it&#8217;s your fault! <img src='http://blog.evereq.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ) and you do something bad&#8230; In most cases you can change design and avoid such issues (split huge objects to smaller, don&#8217;t store in sessions or cache huge objects graphs, etc). In some cases you simply cannot change anything &#8211; it&#8217;s by requirements this way or you just have old stupid code that you need quickly to fix! In such cases, moving to 64 bit environment can be good temporary solution that will give you time to improve design / coding discipline! Just be worried &#8211; if you don&#8217;t change yourself &#8211; you will end up with same out of memory exceptions on 64 bit OS (store all 100Gb database  as one huge serialized dataset in memory cache for example <img src='http://blog.evereq.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ha ha&#8230; I see something like this before really!) </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evereq.com/blog/index.php/2009/10/windows-32bit-vs-64bit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
