<?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>Developer IT on WordPress</title>
	<atom:link href="https://developerit.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://developerit.wordpress.com</link>
	<description>We are developers presenting home made and popular articles about the software development</description>
	<lastBuildDate>Sun, 10 Oct 2010 04:48:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='developerit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://secure.gravatar.com/blavatar/2d3300bf52f68af742c2179e4b76570e1cd3be6c9c86839526baf0e25676a4f2?s=96&#038;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Developer IT on WordPress</title>
		<link>https://developerit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://developerit.wordpress.com/osd.xml" title="Developer IT on Wordpress" />
	<atom:link rel='hub' href='https://developerit.wordpress.com/?pushpress=hub'/>
	<item>
		<title>Tracking download of non-html (like pdf) downloads with jQuery and Google Analytics</title>
		<link>https://developerit.wordpress.com/2010/10/10/tracking-download-of-non-html-like-pdf-downloads-with-jquery-and-google-analytics/</link>
					<comments>https://developerit.wordpress.com/2010/10/10/tracking-download-of-non-html-like-pdf-downloads-with-jquery-and-google-analytics/#respond</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Sun, 10 Oct 2010 04:48:08 +0000</pubDate>
				<category><![CDATA[Developer IT]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[pdf]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=56</guid>

					<description><![CDATA[In this post, we will present a simple way of tracking files download with Google Analytics with the help of jQuery]]></description>
										<content:encoded><![CDATA[<p>Hi folks, it&#8217;s been quite calm at Developer IT&#8217;s this summer since we were all involved in other projects, but we are slowly comming back.</p>
<p>In this post, we will present a simple way of tracking files download with Google Analytics with the help of jQuery. We work for a client that offers a lot of pdf files to download on their web site and wanted to know which one are the most popular. They use Google Analytics for a long time now and we did not want to have a second interface in order to present those stats to our client. So usign IIS logs was not a idea to consider.</p>
<p>Since Google already offers us a splendid web interface and a powerful API, we deceided to hook up simple javascript code into the jQuery click event to notify Analytics that a pdf has been requested.</p>
<pre><code>(function ($) {
    function trackLink(e) {
        var url = $(this).attr('href');
        //alert(url); // for debug purpose
        // old page tracker code
        pageTracker._trackPageview(url);
        // you can use the new one too
        _gaq.push(["_trackPageview",url]);
       //always return true, in order for the browser to continue its job
        return true;
    }

   // When DOM ready
    $(function () {
        // hook up the click event
        $('.pdf-links a').click(trackLink);
    });
})(jQuery);</code></pre>
<p>You can be more presice or even be sure not to miss one click by changing the selector which hooks up the click event. I have been usign this code to track AJAX requests and it works flawlessly.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/10/10/tracking-download-of-non-html-like-pdf-downloads-with-jquery-and-google-analytics/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
		<item>
		<title>C# development with Mono and MonoDevelop</title>
		<link>https://developerit.wordpress.com/2010/05/07/c-sharp-development-with-mono-and-monodevelop/</link>
					<comments>https://developerit.wordpress.com/2010/05/07/c-sharp-development-with-mono-and-monodevelop/#comments</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Fri, 07 May 2010 03:43:41 +0000</pubDate>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[MonoDevelop]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Software development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[monodevelop]]></category>
		<category><![CDATA[novell]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[visual studio]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=46</guid>

					<description><![CDATA[In the past two years, I have been developing .NET from my MacBook by running Windows XP into VM Ware and more recently into Virutal from OS X. Recently, I gave MonoDevelop a try]]></description>
										<content:encoded><![CDATA[<p>In the past two years, I have been developing .NET from my MacBook by running Windows XP into VM Ware and more recently into <a href="http://www.virtualbox.org/">Virtual Box</a> from OS X. This way, I could install Visual Studio and be able to work seamlessly.</p>
<p>But, this way of working has a major down side: it kills the battery of my laptop&#8230; I can easiely  last for 3 hours if I stay in OS X, but can only last 45 min when XP is running.</p>
<p>Recently, I gave <a href="http://monodevelop.com/">MonoDevelop</a> a try for developing <a href="http://www.developerit.com">Developer IT</a>&#8216;s tools and web site. While being way less complete then Visual Studio, it provides essentials tools when it comes to developping software. It works well with solutions and projects files created from Visual Studio, it has Intellisence (word completion), it can compile your code and can even target your .NET app to linux or unix. This tools can save me a lot of time and batteries!</p>
<p>Although I could not only work with MonoDevelop, I find it way better than a simple text editor like Smultron. Thanks to Novell, we can now bring Microsoft technology to OS X.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/05/07/c-sharp-development-with-mono-and-monodevelop/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
		<item>
		<title>More than 100,000 articles !</title>
		<link>https://developerit.wordpress.com/2010/04/13/more-than-100000-articles/</link>
					<comments>https://developerit.wordpress.com/2010/04/13/more-than-100000-articles/#comments</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Tue, 13 Apr 2010 01:39:18 +0000</pubDate>
				<category><![CDATA[Developer IT]]></category>
		<category><![CDATA[100000]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[developerit]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[server-2005]]></category>
		<category><![CDATA[server-2008]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sql-server]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=40</guid>

					<description><![CDATA[In one month, we already got more than 100,000]]></description>
										<content:encoded><![CDATA[<p>In one month, we already got more than 100,000, and we continue to crawl! We plan on hitting 250,000 total articles next month.</p>
<p>Due to the large amount of data we are gathering, we are planning on updating our SQL stored procedure to improve performance. We may be migrating to SQL Server 2008 Entreprise, as we are currently running on SQL Server 2005 Express Edition&#8230; We are at 400 Mb of data, getting more and more close to the 2 Gb limit.</p>
<p>Stay tune for more info and browse daily fresh articles about web development.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/04/13/more-than-100000-articles/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
		<item>
		<title>Official BETA release of Developer IT</title>
		<link>https://developerit.wordpress.com/2010/03/17/official-beta-release-of-developer-it/</link>
					<comments>https://developerit.wordpress.com/2010/03/17/official-beta-release-of-developer-it/#respond</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Wed, 17 Mar 2010 23:22:45 +0000</pubDate>
				<category><![CDATA[Developer IT]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[website]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=35</guid>

					<description><![CDATA[It's been a week since our first online publish and our indexer robot is going as well as the website. We already have reach more than 20,000 articles and it's only the begining]]></description>
										<content:encoded><![CDATA[<h2>We finally did it</h2>
<p>It&#8217;s been a week since our first online publish and our indexer robot is going as well as the website. We already have reach more than 20,000 articles and it&#8217;s only the begining.</p>
<p>Stay tune on <a title="Developer IT" href="http://www.developerit.com/">http://www.developerit.com/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/03/17/official-beta-release-of-developer-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
		<item>
		<title>How to get full query string parameters not UrlDecoded</title>
		<link>https://developerit.wordpress.com/2010/03/17/how-to-get-full-query-string-parameters-not-urldecoded/</link>
					<comments>https://developerit.wordpress.com/2010/03/17/how-to-get-full-query-string-parameters-not-urldecoded/#respond</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Wed, 17 Mar 2010 23:19:23 +0000</pubDate>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Developer IT]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[Query String]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=30</guid>

					<description><![CDATA[While developing Developer IT's website, we came across a problem when the user search keywords containing special character like the plus '+' char. We found it while looking for C++. The request parameter output in ASP.NET was "c ". I found it strange that it removed the '++' and replaced it with a space...]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>While developing <a title="Developer IT" href="http://www.developerit.com/">Developer IT&#8217;s website</a>, we came across a problem when the user search keywords containing special character like the plus &#8216;+&#8217; char. We found it while looking for C++ in our search engine. The request parameter output in ASP.NET was &#8220;c &#8220;. I found it strange that it removed the &#8216;++&#8217; and replaced it with a space&#8230;</p>
<h2>Analysis</h2>
<p>After a bit of Googling and Reflection, it turns out that ASP.NET calls UrlDecode on each parameters retreived by the Request(&#8220;item&#8221;) method. The Request.Params property is affected by this two since it mashes all QueryString, Forms and other collections into a single one.</p>
<h2>Workaround</h2>
<p>Finally, I solve the puzzle usign the Request.RawUrl property and parsing it with the same RegEx I use in my url re-writter. The RawUrl not affected by anything. As its name say it, it&#8217;s raw.</p>
<p>Published on <a title="Developer IT" href="http://www.developerit.com/">http://www.developerit.com/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/03/17/how-to-get-full-query-string-parameters-not-urldecoded/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
		<item>
		<title>How to obtain a random sub-datatable from another data table</title>
		<link>https://developerit.wordpress.com/2010/03/13/how-to-obtain-a-random-sub-datatable-from-another-data-table/</link>
					<comments>https://developerit.wordpress.com/2010/03/13/how-to-obtain-a-random-sub-datatable-from-another-data-table/#respond</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Sat, 13 Mar 2010 15:11:21 +0000</pubDate>
				<category><![CDATA[Developer IT]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Software development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[datatable]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=12</guid>

					<description><![CDATA[In this article, I'll show how to get a random subset of data from a DataTable. This is useful when you already have queries that are filtered correctly but returns all the rows.]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>In this article, I&#8217;ll show how to get a random subset of data from a DataTable. This is useful when you already have queries that are filtered correctly but returns all the rows.</p>
<h2>Analysis</h2>
<p>I came across this situation when I wanted to display a random tag cloud. I already had the query to get the keywords ordered by number of clicks and I wanted to created a tag cloud. Tags that are the most popular should have more chance to get picked and should be displayed larger than less popular ones.</p>
<h2>Implementation</h2>
<p>In this code snippet, there is everything you need.<br />
See the full source code here at <a title="Data table random" href="//www.developerit.com/2010/03/16/how-to-obtain-a-random-sub-datatable-from-another-data-table">http://www.developerit.com/2010/03/16/how-to-obtain-a-random-sub-datatable-from-another-data-table</a></p>
<h2>Pro&#8217;s</h2>
<p>This method is good because it doesn&#8217;t require much work to get it work fast. It is a good concept when you are working with small tables, let says less than 100 records.</p>
<h2>Con&#8217;s</h2>
<p>If you have more than 100 records, out of memory exception may occur since we are coping and duplicating rows. I would consider using a stored procedure instead.</p>
<p>Published on <a title="Developer IT" href="http://www.developerit.com/">http://www.developerit.com/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/03/13/how-to-obtain-a-random-sub-datatable-from-another-data-table/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
		<item>
		<title>Remove accents from String .NET</title>
		<link>https://developerit.wordpress.com/2010/03/12/remove-accents-from-string-net/</link>
					<comments>https://developerit.wordpress.com/2010/03/12/remove-accents-from-string-net/#respond</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Fri, 12 Mar 2010 23:09:52 +0000</pubDate>
				<category><![CDATA[Developer IT]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Software development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[accents]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=10</guid>

					<description><![CDATA[Remove accents from String .NET]]></description>
										<content:encoded><![CDATA[<div>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Private</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Const</span></span><span style="font-size:x-small;"> ACCENT </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">As</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;"> = </span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÌÍÎÏìíîïÙÚÛÜùúûüÿÑñÇç&#8221;<br />
</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Private</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Const</span></span><span style="font-size:x-small;"> SANSACCENT </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">As</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;"> = </span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;AAAAAAaaaaaaOOOOOOooooooEEEEeeeeIIIIiiiiUUUUuuuuyNnCc&#8221;<br />
</span></span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Public</span></span><span style="color:#000000;font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Shared</span></span><span style="color:#000000;font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Function</span></span><span style="color:#000000;font-size:x-small;"> FormatForUrl(</span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">ByVal</span></span><span style="color:#000000;font-size:x-small;"> uriBase </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">As</span></span><span style="color:#000000;font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="color:#000000;font-size:x-small;">) </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">As</span></span><span style="color:#000000;font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String<br />
</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">If</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;">.IsNullOrEmpty(uriBase) </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Then<br />
</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Return</span></span><span style="font-size:x-small;"> uriBase<br />
</span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">End</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">If</span></span></span></span></p>
<p><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span><span style="font-size:x-small;"> </span></span></span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;">&#8216;// Declaration de variables</span></span></p>
<p><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;"> </span></span><span style="font-size:x-small;"> </span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Dim</span></span><span style="font-size:x-small;"> chaine </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">As</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;"> = uriBase.Trim.Replace(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8221; &#8220;</span></span><span style="font-size:x-small;">, </span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;-&#8220;</span></span><span style="font-size:x-small;">)</span></p>
<p><span style="font-size:x-small;"> </span><span style="font-size:x-small;">chaine = chaine.Replace(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8221; &#8220;c</span></span><span style="font-size:x-small;">, </span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;-&#8220;c</span></span><span style="font-size:x-small;">)</span></p>
<p><span style="font-size:x-small;"> </span><span style="font-size:x-small;">chaine = chaine.Replace(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;&#8211;&#8220;</span></span><span style="font-size:x-small;">, </span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;-&#8220;</span></span><span style="font-size:x-small;">)</span></p>
<p><span style="font-size:x-small;"> </span><span style="font-size:x-small;">chaine = chaine.Replace(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;&#8216;&#8221;c</span></span><span style="font-size:x-small;">, </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;">.Empty)</span></p>
<p><span style="font-size:x-small;"> </span><span style="font-size:x-small;">chaine = chaine.Replace(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;?&#8221;c</span></span><span style="font-size:x-small;">, </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;">.Empty)</span></p>
<p><span style="font-size:x-small;"> </span><span style="font-size:x-small;">chaine = chaine.Replace(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;#&#8221;c</span></span><span style="font-size:x-small;">, </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;">.Empty)</span></p>
<p><span style="font-size:x-small;"> </span><span style="font-size:x-small;">chaine = chaine.Replace(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;:&#8221;c</span></span><span style="font-size:x-small;">, </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;">.Empty)</span></p>
<p><span style="font-size:x-small;"> </span><span style="font-size:x-small;">chaine = chaine.Replace(</span><span style="color:#a31515;font-size:x-small;"><span style="color:#a31515;font-size:x-small;">&#8220;;&#8221;c</span></span><span style="font-size:x-small;">, </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">String</span></span><span style="font-size:x-small;">.Empty)</span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;">&#8216;// Conversion des chaines en tableaux de caractŠres</span></span></p>
<p><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;"> </span></span><span style="font-size:x-small;"> </span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Dim</span></span><span style="font-size:x-small;"> tableauSansAccent </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">As</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Char</span></span><span style="font-size:x-small;">() = SANSACCENT.ToCharArray</span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Dim</span></span><span style="font-size:x-small;"> tableauAccent </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">As</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Char</span></span><span style="font-size:x-small;">() = ACCENT.ToCharArray</span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;">&#8216;// Pour chaque accent</span></span></p>
<p><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;"> </span></span><span style="font-size:x-small;"> </span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">For</span></span><span style="font-size:x-small;"> i </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">As</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Integer</span></span><span style="font-size:x-small;"> = 0 </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">To</span></span><span style="font-size:x-small;"> ACCENT.Length &#8211; 1</span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;">&#8216; // Remplacement de l&#8217;accent par son ‚quivalent sans accent dans la chaŒne de caractŠres</span></span></p>
<p><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;"> </span></span><span style="font-size:x-small;"> </span></p>
<p><span style="font-size:x-small;">chaine = chaine.Replace(tableauAccent(i).ToString(), tableauSansAccent(i).ToString())</span></p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Next</span></span></p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span><span style="font-size:x-small;"> </span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;">&#8216;// Retour du resultat</span></span></p>
<p><span style="color:#008000;font-size:x-small;"><span style="color:#008000;font-size:x-small;"> </span></span><span style="font-size:x-small;"> </span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Return</span></span><span style="font-size:x-small;"> chaine</span></p>
<p><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">End</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">Function</span></span></p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><br />
</span></span></p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"> </span></span></p>
</div>
<p>Published at <a title="Remove accent from string dotnet" href="http://www.developerit.com/2010/03/16/remove-accents-from-string-net">http://www.developerit.com/2010/03/16/remove-accents-from-string-net</a> from <a title="Developer IT" href="http://www.developerit.com/">http://www.developerit.com/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/03/12/remove-accents-from-string-net/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
		<item>
		<title>Good SQL error handling in Strored Procedure</title>
		<link>https://developerit.wordpress.com/2010/03/11/good-sql-error-handling-in-strored-procedure/</link>
					<comments>https://developerit.wordpress.com/2010/03/11/good-sql-error-handling-in-strored-procedure/#comments</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Thu, 11 Mar 2010 23:03:12 +0000</pubDate>
				<category><![CDATA[Developer IT]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[SQL]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=6</guid>

					<description><![CDATA[When writing SQL procedures, it is really important to handle errors cautiously. Having that in mind will probably save your efforts, time and money. I have been working with MS-SQL 2000 and MS-SQL 2005 (I have not got the opportunity to work with MS-SQL 2008 yet) for many years now and I want to share with you how I handle errors in T-SQL Stored Procedure. This code has been working for many years now without a hitch.]]></description>
										<content:encoded><![CDATA[<p>When writing SQL procedures, it is really important to handle errors cautiously. Having that in mind will probably save your efforts, time and money. I have been working with MS-SQL 2000 and MS-SQL 2005 (I have not got the opportunity to work with MS-SQL 2008 yet) for many years now and I want to share with you how I handle errors in T-SQL Stored Procedure. This code has been working for many years now without a hitch.</p>
<p>N.B.: As antoher &#8220;best pratice&#8221;, I suggest using <strong>only ONE level</strong> of TRY &#8230; CATCH and <strong>only ONE level</strong> of <code>TRANSACTION</code> encapsulation, as doing otherwise may not be 100% sure.</p>
<p>See the full article and source code at <a title="SQL Good error handling" href="http://www.developerit.com/2010/03/16/good-sql-error-handling-in-strored-procedure">http://www.developerit.com/2010/03/16/good-sql-error-handling-in-strored-procedure</a></p>
<pre class="sql"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">In conclusion, I will just mention that I have been using this code with .NET 2.0 and .NET 3.5 and it works like a charm. The .NET TDS parser throws back a <code>SQLException</code> which is ideal to work with.</span></pre>
<pre class="sql"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">Published on <a title="Developer IT" href="http://www.developerit.com/">http://www.developerit.com/</a></span></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/03/11/good-sql-error-handling-in-strored-procedure/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
		<item>
		<title>Fake ISAPI Handler to serve static files with extention that are rewritted by url rewriter</title>
		<link>https://developerit.wordpress.com/2010/03/10/fake-isapi-handler-to-serve-static-files-with-extention-that-are-rewritted-by-url-rewriter/</link>
					<comments>https://developerit.wordpress.com/2010/03/10/fake-isapi-handler-to-serve-static-files-with-extention-that-are-rewritted-by-url-rewriter/#comments</comments>
		
		<dc:creator><![CDATA[developerit]]></dc:creator>
		<pubDate>Wed, 10 Mar 2010 23:07:01 +0000</pubDate>
				<category><![CDATA[Developer IT]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[ISAPI]]></category>
		<guid isPermaLink="false">http://developerit.wordpress.com/?p=8</guid>

					<description><![CDATA[I often map html extention to the asp.net dll in order to use url rewritter with .html extentions. Recently, in the new version of <a href="http://www.nouvelair.ca/">www.nouvelair.ca</a>, we renamed all urls to end with .html]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>I often map html extention to the asp.net dll in order to use url rewritter with .html extentions. Recently, in the new version of <a href="http://www.nouvelair.ca/">www.nouvelair.ca</a>, we renamed all urls to end with .html. This works great, but failed when we used FCK Editor. Static html files would not get serve because we mapped the html extension to the .NET Framework. We can we do to to use .html extension with our rewritter but still want to use IIS behavior with static html files.</p>
<h2>Analysis</h2>
<p>I thought that this could be resolve with a simple HTTP handler. We would map urls of static files in our rewriter to this handler that would read the static file and serve it, just as IIS would do.</p>
<h2>Implementation</h2>
<p>This is how I coded the class. Note that this may not be bullet proof. I only tested it once and I am sure that the logic behind IIS is more complicated that this. If you find errors or think of possible improvements, let me know.</p>
<p>See the full source code and article at <a title="Fake Isapi handler" href="http://www.developerit.com/2010/03/16/fake-isapi-handler-to-serve-static-files-with-extention-that-are-rewritted-by-url-rewriter">http://www.developerit.com/2010/03/16/fake-isapi-handler-to-serve-static-files-with-extention-that-are-rewritted-by-url-rewriter</a></p>
<h2>Conclusion</h2>
<p>As you see, with our static files map to this handler using query string (ex.: /ISAPIDotNetHandler.ashx?fileUri=index.html) you will have the same behavior as if you ask for the uri /index.html.</p>
<p>Finally, test this only in IIS with the html extension map to aspnet_isapi.dll. Url rewritting will work in Casini (Internal Web Server shipped with Visual Studio) but it&#8217;s not the same as with IIS since EVERY request is handle by .NET.</p>
<h2>Versions</h2>
<ol>
<li>First release</li>
</ol>
<p>Published on <a title="Developer IT" href="http://www.developerit.com/">http://www.developerit.com/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://developerit.wordpress.com/2010/03/10/fake-isapi-handler-to-serve-static-files-with-extention-that-are-rewritted-by-url-rewriter/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/6ea212611d9e23372edbb1ac2991c00b54fafffed0d5f644e5223ba716934e7d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">developerit</media:title>
		</media:content>
	</item>
	</channel>
</rss>
