<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Chris Airey's Blog</title>
	<atom:link href="http://cairey.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cairey.wordpress.com</link>
	<description>Software Developer</description>
	<lastBuildDate>Tue, 24 Jan 2012 23:14:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cairey.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Chris Airey's Blog</title>
		<link>http://cairey.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cairey.wordpress.com/osd.xml" title="Chris Airey&#039;s Blog" />
	<atom:link rel='hub' href='http://cairey.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Fluent Request Builder for Node JS</title>
		<link>http://cairey.wordpress.com/2012/01/25/fluent-request-builder-for-node-js/</link>
		<comments>http://cairey.wordpress.com/2012/01/25/fluent-request-builder-for-node-js/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 23:09:14 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Node]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=201</guid>
		<description><![CDATA[It&#8217;s on my github page, so get it from there. https://github.com/cairey/FluentRequestBuilder The http lib can be a bit low level sometimes, so why not make it simpler. Use like so: var requestBuilder = require('./requestBuilder'); var data = JSON.stringify({ 'important': 'data' }); var headers = { 'Host': 'www.example.com', 'Cookie': null, 'Content-Type': 'text/plain', 'Content-Length': Buffer.byteLength(data, 'utf8'), 'Accept': [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=201&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s on my github page, so get it from there.<br />
<a href="https://github.com/cairey/FluentRequestBuilder" target="_blank">https://github.com/cairey/FluentRequestBuilder</a></p>
<p>The http lib can be a bit low level sometimes, so why not make it simpler. Use like so:</p>
<p><code>var requestBuilder = require('./requestBuilder');</p>
<p>        var data = JSON.stringify({ 'important': 'data' });</p>
<p>        var headers = {<br />
            'Host': 'www.example.com',<br />
            'Cookie': null,<br />
            'Content-Type': 'text/plain',<br />
            'Content-Length': Buffer.byteLength(data, 'utf8'),<br />
            'Accept': '*/*'<br />
        };</p>
<p>        requestBuilder.withHeaders(headers)<br />
        .withData(data)<br />
        .withPort(80)<br />
        .makeRequest('http://google.com', '/', function(body, response){<br />
            console.write(body);<br />
        });</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/201/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=201&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2012/01/25/fluent-request-builder-for-node-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
		<item>
		<title>Hover Intent for Silverlight</title>
		<link>http://cairey.wordpress.com/2010/09/21/hover-intent-for-silverlight/</link>
		<comments>http://cairey.wordpress.com/2010/09/21/hover-intent-for-silverlight/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 21:32:45 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[command behavior]]></category>
		<category><![CDATA[enter]]></category>
		<category><![CDATA[Hover intent]]></category>
		<category><![CDATA[intent]]></category>
		<category><![CDATA[mouse enter]]></category>
		<category><![CDATA[MVVM]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=165</guid>
		<description><![CDATA[Updated: Now on GitHub: https://github.com/cairey/Hover-Intent-Silverlight You have probably already used the Hover intent plugin for JQuery. Maybe you want to do the same thing for Silverlight? Well using the reactive extensions you can quite easily. Of course we are using MVVM so we can capture the elements mouse enter event and bind a command to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=165&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Updated: Now on GitHub: <a href="https://github.com/cairey/Hover-Intent-Silverlight" title="Hover Intent">https://github.com/cairey/Hover-Intent-Silverlight</a></p>
<p>You have probably already used the Hover intent plugin for JQuery. Maybe you want to do the same thing for Silverlight? Well using the reactive extensions you can quite easily. Of course we are using MVVM so we can capture the elements mouse enter event and bind a command to it on the view model.</p>
<p>You can then bind in the XAML like so:<br />
<code> Button x:Name="Eyecon" commands:MouseEnterIntent.Command="{Binding Open}" commands:MouseEnterIntent.DueTime="50"<br />
</code></p>
<p>The MouseEnterIntent class creates the attached behavior using dependency properties. The MouseEnterIntentCommandBehavior class bind the events to the command.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/165/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=165&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2010/09/21/hover-intent-for-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
		<item>
		<title>JQuery plugin &#8211; showAge</title>
		<link>http://cairey.wordpress.com/2010/01/12/jquery-plugin-showage/</link>
		<comments>http://cairey.wordpress.com/2010/01/12/jquery-plugin-showage/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 21:17:28 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[C# Development]]></category>
		<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[ASMX]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[date of birth]]></category>
		<category><![CDATA[DOB]]></category>
		<category><![CDATA[from date]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Show age]]></category>
		<category><![CDATA[ShowAge]]></category>
		<category><![CDATA[Web service]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=98</guid>
		<description><![CDATA[Updated: See the plugin page. I thought I would experiment, write and share a JQuery plugin. I have written simple plugins for applications, but this is a first time for a public release plugin. The plugin is designed to manipulate dates. For any date on the page, you can transform the date to show its real [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=98&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste"><strong>Updated</strong>: See the <a href="http://cairey.wordpress.com/jquery-show-age/">plugin page</a>.</div>
<div></div>
<div><a href="http://cairey.files.wordpress.com/2010/01/showage_4.png"><img class="alignnone size-full wp-image-127" title="showAge_4" src="http://cairey.files.wordpress.com/2010/01/showage_4.png?w=645" alt=""   /></a></div>
<div id="_mcePaste">
<p>I thought I would experiment, write and share a JQuery plugin. I have written simple plugins for applications, but this is a first time for a public release plugin. The plugin is designed to manipulate dates. For any date on the page, you can transform the date to show its real age. To overcome a few huddles, I will explain.</p>
</div>
<div id="_mcePaste">
<p>JavaScript DateTime is not a reliable source, for getting the current date. JavaScript runs on the clients machine, in turn it relies on the client system clock to be 100% correct. While this shouldn&#8217;t generally be an issue, it&#8217;s not reliable. So, to get the real date I am calling a .NET web service and returning JSON using JQuery&#8217;s built-in mechanism for handling this.</p>
</div>
<div>To return JSON from an ASMX service, JQuery can be setup like so:</div>
<div><a href="http://cairey.files.wordpress.com/2010/01/showage_1.png"><img class="alignnone size-medium wp-image-102" title="showAge_1" src="http://cairey.files.wordpress.com/2010/01/showage_1.png?w=300&#038;h=209" alt="" width="300" height="209" /></a></div>
<div id="_mcePaste">
<p>I have simplified JQuery&#8217;s mechanism in the plugin, and by no means you don&#8217;t have to use this. However for my case, I wrapped it inside a function for ease. This is how it should be setup to request JSON from an ASMX web service. The web service will see in the request headers JSON is requested, and therefore return JSON. So how do we do this?</p>
</div>
<div><a href="http://cairey.files.wordpress.com/2010/01/showage_2.png"><img class="alignnone size-full wp-image-104" title="showAge_2" src="http://cairey.files.wordpress.com/2010/01/showage_2.png?w=645" alt=""   /></a></div>
<div>You can provide your own mechanism for getting the current date, but this shows how it works.</div>
<div id="_mcePaste">
<p>The function call to getJson() calls the web service, which returns an anonymous object. Notice that month is returning month &#8211; 1. Why is this? Well JavaScript date begins in January at Month 0, in .NET January begins at Month 1. So, we do a bit of correction there. The web service knows that an XML Request (Ajax Request) is being sent but also with the content type JSON. The web service is clever enough to know how to handle this async JSON request and will return a JSON object. The callback function returns a data object with our date. Do notice however that data.d is used. &#8220;.d&#8221; to access our returns object, as designed by Microsoft.</p>
</div>
<div>The plugin has the following options.</div>
<div><a href="http://cairey.files.wordpress.com/2010/01/showage_3.png"><img class="alignnone size-full wp-image-114" title="showAge_3" src="http://cairey.files.wordpress.com/2010/01/showage_3.png?w=645" alt=""   /></a></div>
<div><strong><br />
</strong></div>
<div><strong>TodaysDate</strong> (optional): &#8211; this is a JavaScript Date object, to be set to the current date. (Default value sets the current date using JavaScript).</div>
<div><strong>InsertMode</strong> (optional): &#8211; this controls how the age is inserted. (Default value is set to &#8216;append&#8217;).</div>
<div><strong>CustomCompare</strong> (optional): &#8211; this takes a function to compare dates and return the number of years between them. (Default uses its own compare).</div>
<div id="_mcePaste">
<p>InsertMode consists of the following options.</p>
</div>
<div id="_mcePaste"><strong>&#8216;replace&#8217;</strong> &#8211; replace the date with the real age.</div>
<div id="_mcePaste"><strong>&#8216;append&#8217; </strong> &#8211; append the date with real age.</div>
<div id="_mcePaste"><strong>&#8216;prepend&#8217; &#8211; </strong>prepend the date with the real age.</div>
<div id="_mcePaste">
<p>In its simplist form:</p>
</div>
<div><a href="http://cairey.files.wordpress.com/2010/01/showage_5.png"><img class="alignnone size-full wp-image-132" title="showAge_5" src="http://cairey.files.wordpress.com/2010/01/showage_5.png?w=645" alt=""   /></a></div>
<div id="_mcePaste">
<p>Will display:</p>
</div>
<div><a href="http://cairey.files.wordpress.com/2010/01/showage_6.png"><img class="alignnone size-full wp-image-133" title="showAge_6" src="http://cairey.files.wordpress.com/2010/01/showage_6.png?w=645" alt=""   /></a></div>
<div id="_mcePaste">
<p>Although the example is a VS project, the JQuery plugin is not .NET specific.</p>
</div>
<div><a title="Download" href="https://skydrive.live.com/?cid=a6ca6d75a5e8eb2e&amp;sc=documents&amp;id=A6CA6D75A5E8EB2E%21284" target="_blank">Download</a> &#8211; v1.1</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=98&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2010/01/12/jquery-plugin-showage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>

		<media:content url="http://cairey.files.wordpress.com/2010/01/showage_4.png" medium="image">
			<media:title type="html">showAge_4</media:title>
		</media:content>

		<media:content url="http://cairey.files.wordpress.com/2010/01/showage_1.png?w=300" medium="image">
			<media:title type="html">showAge_1</media:title>
		</media:content>

		<media:content url="http://cairey.files.wordpress.com/2010/01/showage_2.png" medium="image">
			<media:title type="html">showAge_2</media:title>
		</media:content>

		<media:content url="http://cairey.files.wordpress.com/2010/01/showage_3.png" medium="image">
			<media:title type="html">showAge_3</media:title>
		</media:content>

		<media:content url="http://cairey.files.wordpress.com/2010/01/showage_5.png" medium="image">
			<media:title type="html">showAge_5</media:title>
		</media:content>

		<media:content url="http://cairey.files.wordpress.com/2010/01/showage_6.png" medium="image">
			<media:title type="html">showAge_6</media:title>
		</media:content>
	</item>
		<item>
		<title>Entity Framework for making structural DB changes.</title>
		<link>http://cairey.wordpress.com/2009/12/28/entity-framework-for-making-structural-db-changes/</link>
		<comments>http://cairey.wordpress.com/2009/12/28/entity-framework-for-making-structural-db-changes/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 14:20:13 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[entity]]></category>
		<category><![CDATA[Entity framework]]></category>
		<category><![CDATA[Fluent]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Nhibernate]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[structural]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=94</guid>
		<description><![CDATA[We have all had to do it at some point&#8230; but it can get really tricky when you have a project that is constantly changing, especially when data is involved. We have a project where all the data needs to be remain intact, unfortunately these changes were not easy to script. To migrate the live [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=94&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We have all had to do it at some point&#8230; but it can get really tricky when you have a project that is constantly changing, especially when data is involved. We have a project where all the data needs to be remain intact, unfortunately these changes were not easy to script.</p>
<p>To migrate the live data into the new structure we used the Entity Framework to generate our old domain from the old database and the new domain from the new database structure. They were imported on different namespaces to determine which model was being dealt with. It was a doddle because it meant mapping the old domain object against the new domain object, then inserting the live data into the new structure.</p>
<p>Saved a lot of time and we weren&#8217;t writing SQL queries. What I also liked about this, is the project uses Fluent Nhibernate!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=94&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2009/12/28/entity-framework-for-making-structural-db-changes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
		<item>
		<title>Entity framework, session per request</title>
		<link>http://cairey.wordpress.com/2009/10/14/entity-framework-session-per-request/</link>
		<comments>http://cairey.wordpress.com/2009/10/14/entity-framework-session-per-request/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 16:09:14 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[entities]]></category>
		<category><![CDATA[entity]]></category>
		<category><![CDATA[Entity framework]]></category>
		<category><![CDATA[Linq to entities]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=91</guid>
		<description><![CDATA[I am releasing a HTTP Module, that will open and close the entity session, because this works for each HTTP request a new context instance is created for each user per request. Download<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=91&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am releasing a HTTP Module, that will open and close the entity session, because this works for each HTTP request a new context instance is created for each user per request.</p>
<p><a href="https://skydrive.live.com/?cid=a6ca6d75a5e8eb2e&amp;sc=documents&amp;id=A6CA6D75A5E8EB2E%21284" target="_blank">Download</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=91&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2009/10/14/entity-framework-session-per-request/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
		<item>
		<title>UML and Visual Studio</title>
		<link>http://cairey.wordpress.com/2009/08/12/uml-and-visual-studio/</link>
		<comments>http://cairey.wordpress.com/2009/08/12/uml-and-visual-studio/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 22:22:04 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[UML]]></category>
		<category><![CDATA[Visio]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=86</guid>
		<description><![CDATA[Much to my disappointment and after about 6 hours of trying to get it to work, Visual Studio 2008 does not support UML (Unified Modelling Language). Visual Studio 2008 allows you to create a class diagram that will self generate all the classes in the project (of course you would have done all your class [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=86&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Much to my disappointment and after about 6 hours of trying to get it to work, Visual Studio 2008 does not support UML (Unified Modelling Language). Visual Studio 2008 allows you to create a class diagram that will self generate all the classes in the project (of course you would have done all your class diagrams first, ahem), but this is not UML! Microsoft Visio has UML support, but it cannot generate it from classes or a visual studio project, unless you have the &#8220;uber apparently works edition&#8221;. Great, so there you are with this huge project and you need to document it, but VS2008 does not know what the hell UML is.</p>
<p>The good news is that there will be full UML support in Visual Studio 2010! Yippee! However for me that will be too late <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=86&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2009/08/12/uml-and-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
		<item>
		<title>Additions to combine control</title>
		<link>http://cairey.wordpress.com/2009/06/05/additions-to-combine-control/</link>
		<comments>http://cairey.wordpress.com/2009/06/05/additions-to-combine-control/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 19:52:35 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[C# Development]]></category>
		<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[ASP.NET C]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Combining]]></category>
		<category><![CDATA[JavaScript Combining]]></category>
		<category><![CDATA[JavaScript Minifying]]></category>
		<category><![CDATA[Minifying]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=66</guid>
		<description><![CDATA[Ok, I&#8217;ve slightly changed some of the behaviour of the script combining control. In addition it now combines, compresses, minifies and caches CSS files! The CSS can also be used to target certain browsers and versions. It can be used like this: &#60;cc:CSSCombine ID="CSSCombiner" runat="server" CSSHandler="~/Handlers/CSSCombine.ashx"&#62; &#60;CSSReferences&#62; &#60;cc:CSSReference TargetBrowser="All" Path="~/Styles/admin.css" /&#62; &#60;%--Will target all versions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=66&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;ve slightly changed some of the behaviour of the script combining control. In addition it now combines, compresses, minifies and caches CSS files! The CSS can also be used to target certain browsers and versions. It can be used like this:<br />
<code><br />
</code></p>
<p><code></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;cc:CSSCombine ID="CSSCombiner" runat="server" CSSHandler="~/Handlers/CSSCombine.ashx"&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;CSSReferences&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;cc:CSSReference TargetBrowser="All" Path="~/Styles/admin.css" /&gt; &lt;%--Will target all versions of all browsers--%&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;cc:CSSReference Path="~/Styles/webTV.css" /&gt; &lt;%-- Will target all versions of all browsers --%&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;cc:CSSReference TargetBrowser="IE" TargetVersion="8" Path="~/Styles/admin_old.css" /&gt; &lt;%-- Will target version 8 of IE --%&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;cc:CSSReference TargetBrowser="FF" TargetVersion="2" Path="~/Styles/screen.css" /&gt; &lt;%-- Will target versions 2 of FireFox --%&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;cc:CSSReference TargetBrowser="Chrome" Path="~/Styles/main.css" /&gt; &lt;%-- Will target all versions of Chrome --%&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;cc:CSSReference TargetBrowser="Safari" Path="~/Styles/sifr.css" /&gt; &lt;%-- Will target all versions of Safari --%&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;/CSSReferences&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">&lt;/cc:CSSCombine&gt;</div>
<p>&lt;cc:CSSCombine ID="CSSCombiner" runat="server" CSSHandler="~/Handlers/CSSCombine.ashx"&gt;</p>
<p>&lt;CSSReferences&gt;</p>
<p>&lt;cc:CSSReference TargetBrowser="All" Path="~/Styles/admin.css" /&gt; &lt;%--Will target all versions of all browsers--%&gt;</p>
<p>&lt;cc:CSSReference Path="~/Styles/webTV.css" /&gt; &lt;%-- Will target all versions of all browsers --%&gt;</p>
<p>&lt;cc:CSSReference TargetBrowser="IE" TargetVersion="8" Path="~/Styles/admin_old.css" /&gt; &lt;%-- Will target version 8 of IE --%&gt;</p>
<p>&lt;cc:CSSReference TargetBrowser="FF" TargetVersion="2" Path="~/Styles/screen.css" /&gt; &lt;%-- Will target versions 2 of FireFox --%&gt;</p>
<p>&lt;cc:CSSReference TargetBrowser="Chrome" Path="~/Styles/main.css" /&gt; &lt;%-- Will target all versions of Chrome --%&gt;</p>
<p>&lt;cc:CSSReference TargetBrowser="Safari" Path="~/Styles/sifr.css" /&gt; &lt;%-- Will target all versions of Safari --%&gt;</p>
<p>&lt;/CSSReferences&gt;</p>
<p></code></p>
<p><code>&lt;/cc:CSSCombine&gt;</code></p>
<p>Download it <a title="Combiner" href="https://skydrive.live.com/?cid=a6ca6d75a5e8eb2e&amp;sc=documents&amp;id=A6CA6D75A5E8EB2E%21284" target="_blank">download</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=66&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2009/06/05/additions-to-combine-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
		<item>
		<title>Script Combining Control</title>
		<link>http://cairey.wordpress.com/2009/05/27/script-combining-control/</link>
		<comments>http://cairey.wordpress.com/2009/05/27/script-combining-control/#comments</comments>
		<pubDate>Wed, 27 May 2009 16:28:08 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[C# Development]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Combining]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Script Combining]]></category>
		<category><![CDATA[Script Minifying]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=55</guid>
		<description><![CDATA[Combining JavaScript files. Why is this important? If you have for example 10 JavaScript files included on your website, that means the browser will make a separate request for each one of these files. Latency can be seen as an issue here. We aren&#8217;t maximising throughput. This analogy can be compared to for example, a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=55&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Combining JavaScript files. Why is this important? If you have for example 10 JavaScript files included on your website, that means the browser will make a separate request for each one of these files. Latency can be seen as an issue here. We aren&#8217;t maximising throughput.</p>
<p>This analogy can be compared to for example, a set of Traffic Lights. You may have seen it sometimes when traffic lights are not functioning correctly, or sometimes you&#8217;re in a queue and you&#8217;re saying &#8220;for god sake, the lights don&#8217;t stay green long enough.&#8221; So it may stay green for about 5 seconds, which is just enough time for you to pull down the hand brake, accelerate and go. In that time you may get about 5 cars though for example. Now lets say the lights go green for 10 seconds. Now you may expect to get 10 cars through, but you may get 15 through. The time to negotiate the hand brake, accelerating and stopping is less frequent, so we are maximizing throughput. Read on: <a href="http://sumo.sourceforge.net/docs/dkrajzew_TRAF9_AgentbasedTLS.pdf">http://sumo.sourceforge.net/docs/dkrajzew_TRAF9_AgentbasedTLS.pdf</a></p>
<p>This is the same for negotiating each request in our case. I have seen a lot of different ways of people achieving script combining. Most commonly and a good way is to use a Handler, that returns the combined result. I have a handler that works in a similar way, but it can be implemented in a more friendly manor using a Custom Server Control.</p>
<p>The control has other configurable properties, such as caching, minifying and compressing. They are all switched on by default. The code below will look familiar to the ASP.NET AJAX Script Manager, script combining, but the control I wrote gives you more control over caching, minifying and compressing (using GZip).</p>
<p>It can be implimented like so.<br />
<code><br />
</code></p>
<p><code></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptCombine ScriptHandler="~/ScriptCombine.ashx" ID="ScriptCombiner" runat="server"&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;Scripts&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/jquery-1.3.2.min.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.core.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.accordion.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.datepicker.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.progressbar.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.draggable.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.sortable.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.slider.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.resizable.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.draggable.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.selectable.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;cc:ScriptPath Path="~/Scripts/ui.droppable.js" /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;/Scripts&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:251px;width:1px;height:1px;">&lt;/cc:ScriptCombine&gt;</div>
<p>&lt;cc:ScriptCombine ScriptHandler="~/ScriptCombine.ashx" ID="ScriptCombiner" runat="server"&gt;</p>
<p>&lt;Scripts&gt;</p>
<p>&lt;cc:ScriptPath Path="~/Scripts/jquery-1.3.2.min.js" /&gt;</p>
<p>&lt;cc:ScriptPath Path="~/Scripts/ui.core.js" /&gt;</p>
<p>&lt;cc:ScriptPath Path="~/Scripts/ui.accordion.js" /&gt;</p>
<p>&lt;/Scripts&gt;</p>
<p></code></p>
<p><code>&lt;/cc:ScriptCombine&gt;</code></p>
<p><strong>You can download an example project with the source code: </strong><a title="Script Combine" href="https://skydrive.live.com/?cid=a6ca6d75a5e8eb2e&amp;sc=documents&amp;id=A6CA6D75A5E8EB2E%21284" target="_blank"><strong>Download</strong></a></p>
<p>You can script combine in your project by taking the ScriptCombine.ashx and the CustomControls.dll and reference accordingly like the example.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=55&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2009/05/27/script-combining-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Services in IE6 with Silverlight 2</title>
		<link>http://cairey.wordpress.com/2009/05/11/web-services-in-ie6-with-silverlight-2/</link>
		<comments>http://cairey.wordpress.com/2009/05/11/web-services-in-ie6-with-silverlight-2/#comments</comments>
		<pubDate>Mon, 11 May 2009 20:11:41 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Internet Explorer 6]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Web.config]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=51</guid>
		<description><![CDATA[I had an issue with calling web services from a Silverlight 2 application within Internet Explorer 6. I was a bit confused to why this was happening. After a quick browse on the web, I found this was quite a known problem. Unfortunately, still a lot of people use Internet Explorer 6, so it had [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=51&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had an issue with calling web services from a Silverlight 2 application within Internet Explorer 6. I was a bit confused to why this was happening. After a quick browse on the web, I found this was quite a known problem. Unfortunately, still a lot of people use Internet Explorer 6, so it had to be supported! There are a few ways to fix the issue, but I found this way to work pretty well.</p>
<p>Switch off dynamic compression within IIS. Fortunately, there is a way to enable/disable dynamic compression for certain directories and pages. You can add the below to the <strong>&lt;system.webServer</strong>&gt; section in the web.config.</p>
<p><strong>&lt;urlCompression doStaticCompression=&#8221;true&#8221; doDynamicCompression=&#8221;true&#8221; /&gt;</strong></p>
<p><strong></strong>This will enable compression for the entire application. To switch it off just for the web service you can add a location section like so&#8230;</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:119px;width:1px;height:1px;">  &lt;location path=&#8221;FAService.asmx&#8221;&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:119px;width:1px;height:1px;">    &lt;system.webServer&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:119px;width:1px;height:1px;">      &lt;urlCompression doStaticCompression=&#8221;true&#8221; doDynamicCompression=&#8221;false&#8221; /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:119px;width:1px;height:1px;">    &lt;/system.webServer&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:119px;width:1px;height:1px;">  &lt;/location&gt;</div>
<p>  <strong>&lt;location path=&#8221;MyService.asmx&#8221;&gt;</strong></p>
<p><strong>    &lt;system.webServer&gt;</strong></p>
<p><strong>      &lt;urlCompression doStaticCompression=&#8221;true&#8221; doDynamicCompression=&#8221;false&#8221; /&gt;</strong></p>
<p><strong>    &lt;/system.webServer&gt;</strong></p>
<p><strong>  &lt;/location&gt;</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=51&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2009/05/11/web-services-in-ie6-with-silverlight-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
		<item>
		<title>The FA</title>
		<link>http://cairey.wordpress.com/2009/04/26/the-fa/</link>
		<comments>http://cairey.wordpress.com/2009/04/26/the-fa/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 16:30:53 +0000</pubDate>
		<dc:creator>cairey</dc:creator>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[Football]]></category>
		<category><![CDATA[The FA]]></category>

		<guid isPermaLink="false">http://cairey.wordpress.com/?p=17</guid>
		<description><![CDATA[This was rolled out a couple of Months a go! The video centre and the Silverlight 2 player is what I have built. http://www.thefa.com and http://www.thefa.com/VideoCentre.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=17&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This was rolled out a couple of Months a go! The video centre and the Silverlight 2 player is what I have built. <a href="http://www.thefa.com">http://www.thefa.com</a> and <a href="http://www.thefa.com/VideoCentre.aspx">http://www.thefa.com/VideoCentre.aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cairey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cairey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cairey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cairey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cairey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cairey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cairey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cairey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cairey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cairey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cairey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cairey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cairey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cairey.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cairey.wordpress.com&amp;blog=7503952&amp;post=17&amp;subd=cairey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cairey.wordpress.com/2009/04/26/the-fa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ba10a27fe575f37c36f60043bb94eea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cairey</media:title>
		</media:content>
	</item>
	</channel>
</rss>
