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

<channel>
	<title>DÃ©couvertes et RÃ©flexion... &#187; .NET</title>
	<atom:link href="http://www.jean-francoismathieu.com/category/developpement/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jean-francoismathieu.com</link>
	<description>RÃ©flexions, outils et astuces par Jean-Francois Mathieu</description>
	<lastBuildDate>Thu, 01 Jul 2010 00:27:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Problem installing WM6 SDK on VS2005-SP1</title>
		<link>http://www.jean-francoismathieu.com/2007/07/problem-installing-wm6-sdk-on-vs2005-sp1/</link>
		<comments>http://www.jean-francoismathieu.com/2007/07/problem-installing-wm6-sdk-on-vs2005-sp1/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 02:40:46 +0000</pubDate>
		<dc:creator>jfmathieu</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Developpement]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.jean-francoismathieu.com/2007-07-09-problem-installing-wm6-sdk-on-vs2005-sp1/</guid>
		<description><![CDATA[Like I post on microsoft.public.smartphone.developer new group I have problem with the installation of the Windows Mobile 6 SDK (professionnal and standard). I have try to install the SDK a few times and after I re-install the SP1 and then the SDK again but nothing work. So here&#8217;s the detail.
On the installation I get this [...]]]></description>
			<content:encoded><![CDATA[<p>Like I post on microsoft.public.smartphone.developer new group I have problem with the installation of the Windows Mobile 6 SDK (professionnal and standard). I have try to install the SDK a few times and after I re-install the SP1 and then the SDK again but nothing work. So here&#8217;s the detail.</p>
<p>On the installation I get this screen :</p>
<p><a href="http://www.jean-francoismathieu.com/wp-content/uploads/2007/07/wm6-sdk1.jpg" target="_blank" atomicselection="true"><img src="http://www.jean-francoismathieu.com/wp-content/uploads/2007/07/wm6-sdk-thumb1.jpg" style="border-width: 0px" alt="wm6-sdk" border="0" height="186" width="240" /></a></p>
<p>Telling me that I don&#8217;t have the Visual Studio 2005 SP 1. But if you look at this screen:</p>
<p><a href="http://www.jean-francoismathieu.com/wp-content/uploads/2007/07/vs2005-sp11.jpg" target="_blank" atomicselection="true"><img src="http://www.jean-francoismathieu.com/wp-content/uploads/2007/07/vs2005-sp1-thumb1.jpg" style="border-width: 0px" alt="vs2005-sp1" border="0" height="188" width="240" /></a></p>
<p>We see that I have the SP1 installed ! I have capture the followind log for you.</p>
<p>VS2005 &#8220;Copy Info&#8221; button :</p>
<blockquote><p>Microsoft Visual Studio 2005<br />
Version 8.0.50727.762  (SP.050727-7600)<br />
Microsoft .NET Framework<br />
Version 2.0.50727</p>
<p>Installed Edition: Standard</p>
<p>Microsoft Visual Basic 2005   77633-235-1283185-41515<br />
Microsoft Visual Basic 2005</p>
<p>Microsoft Visual C# 2005   77633-235-1283185-41515<br />
Microsoft Visual C# 2005</p>
<p>Microsoft Visual C++ 2005   77633-235-1283185-41515<br />
Microsoft Visual C++ 2005</p>
<p>Microsoft Visual Web Developer 2005   77633-235-1283185-41515<br />
Microsoft Visual Web Developer 2005</p>
<p>Microsoft Web Application Projects 2005   77633-235-1283185-41515<br />
Microsoft Web Application Projects 2005<br />
Version 8.0.50727.762</p>
<p><strong>Microsoft Visual Studio 2005 Standard Edition &#8211; ENU Service Pack 1 (KB926601)</strong><br />
This service pack is for Microsoft Visual Studio 2005 Standard Edition &#8211; ENU.<br />
If you later install a more recent service pack, this service pack will be uninstalled automatically.<br />
For more information, visit <a href="http://support.microsoft.com/kb/926601">http://support.microsoft.com/kb/926601</a></p></blockquote>
<p>For sure I&#8217;m missing something. Did some one have seen this ? If some body have an idea !</p>
<p>Thanks</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jean-francoismathieu.com/2007/07/problem-installing-wm6-sdk-on-vs2005-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Truc et Astuce pour Visual Studio .NET</title>
		<link>http://www.jean-francoismathieu.com/2007/04/truc-et-astuce-pour-visual-studio-net/</link>
		<comments>http://www.jean-francoismathieu.com/2007/04/truc-et-astuce-pour-visual-studio-net/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 01:50:50 +0000</pubDate>
		<dc:creator>jfmathieu</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Developpement]]></category>

		<guid isPermaLink="false">http://www.jean-francoismathieu.com/2007-04-15-truc-et-astuce-pour-visual-studio-net/</guid>
		<description><![CDATA[Je suis tombé récemment sur un site très intéressant pour tout ce qui attrait à Java, .NET, Ruby, SOA (Service Oriented Architecture) et Agile.
La présentation et les informations du site sont très intéressantes. Après votre inscription, vous pouvez vous abonner à un &#8220;RSS Feed&#8221; personnalisé selon votre technologie et ainsi resté à l&#8217;affût de nouvelles [...]]]></description>
			<content:encoded><![CDATA[<p>Je suis tombé récemment sur un site très intéressant pour tout ce qui attrait à <strong>Java</strong>, .<strong>NET</strong>, <strong>Ruby</strong>, <strong>SOA</strong> (Service Oriented Architecture) et <strong>Agile</strong>.</p>
<p>La présentation et les informations du site sont très intéressantes. Après votre inscription, vous pouvez vous abonner à un &#8220;RSS Feed&#8221; personnalisé selon votre technologie et ainsi resté à l&#8217;affût de nouvelles informations.</p>
<p>De plus, ce site met à notre disposition une version en ligne gratuite de &#8220;<strong>Visual Studio .NET Tips and Tricks &#8211; Covers version 2002, 2003 and 2005</strong> (Beta 1)&#8221;. </p>
<blockquote><p>Visual Studio .NET Tips and Tricks explains how to use VS.NET efficiently. Organized into short and easy-to-grasp sections, and containing tips and tricks on everything from editing and compiling to debugging and navigating within the VS.NET IDE, this book is a must-read for all .NET developers, regardless of expertise and whether they program in C#, VB.NET, or any other .NET language. This book covers the Visual Studio .NET 2002, 2003, and 2005 Beta 1 releases.</p>
</blockquote>
<p>Vous pouvez le télécharger si vous vous inscrivez sur le site gratuitement.</p>
<p>Site: <a title="http://www.infoq.com/" href="http://www.infoq.com/">http://www.infoq.com/</a><br />Lien pour le Tips and Tricks: <a title="http://www.infoq.com/minibooks/vsnettt" href="http://www.infoq.com/minibooks/vsnettt">http://www.infoq.com/minibooks/vsnettt</a></p>
<p><em>Bonne lecture</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jean-francoismathieu.com/2007/04/truc-et-astuce-pour-visual-studio-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bonne pratique .NET : Les dessous de Attributes.Add</title>
		<link>http://www.jean-francoismathieu.com/2007/02/bonne-pratique-net-les-dessous-de-attributesadd/</link>
		<comments>http://www.jean-francoismathieu.com/2007/02/bonne-pratique-net-les-dessous-de-attributesadd/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 04:13:31 +0000</pubDate>
		<dc:creator>jfmathieu</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Developpement]]></category>
		<category><![CDATA[GÃ©nÃ©ral]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.jean-francoismathieu.com/2007/02/16/bonne-pratique-net-les-dessous-de-attributesadd/</guid>
		<description><![CDATA[Le langage .NET (ASP.NET) fait beaucoup de choses pour le programmeur. Il nous donne accès du côté serveur (code behind ou inline) à plein de fonctionnalité sans parler de l&#8217;IntelliSense. Il nous permet aussi par le code côté serveur d&#8217;ajouter des événements côté client comme &#8220;RegisterClientScript&#8221; ou &#8220;Boutton.Attributes.Add()&#8220;.
Cependant comme toute chose il peut y avoir [...]]]></description>
			<content:encoded><![CDATA[<p>Le langage <strong>.NET (ASP.NET)</strong> fait beaucoup de choses pour le programmeur. Il nous donne accès du côté serveur (code behind ou inline) à plein de fonctionnalité sans parler de l&#8217;<a title="Définition de InterlliSense @ WikiPedia" target="_blank" href="http://en.wikipedia.org/wiki/IntelliSense">IntelliSense</a>. Il nous permet aussi par le code côté serveur d&#8217;ajouter des événements côté client comme &#8220;<strong>RegisterClientScript</strong>&#8221; ou &#8220;<strong>Boutton.Attributes.Add()</strong>&#8220;.</p>
<p>Cependant comme toute chose il peut y avoir des inconvénients, entre autres lorsque nous ajouter des événements avec &#8220;<strong>Attributes.Add</strong>&#8221; et que nous avons aussi un &#8220;component&#8221; de validation comme le &#8220;<strong>RequiredField</strong>&#8221; ou le &#8220;<strong>RegexValidator</strong>&#8220;.</p>
<p><span id="more-42"></span>Le cas que j&#8217;ai vécu avait un bouton avec un <strong>Attributes.Add( &#8220;onClick&#8221; , &#8220;valideForm()&#8221; )</strong>.</p>
<p><a onfocus="this.blur()" onclick="ps_imagemanager_popup(this.href,'Bouton avec Attributes.Add','620','120');return false" href="http://www.jean-francoismathieu.com/images/articles/dotnet/goodpratice1.jpg"><img width="96" height="19" border="0" alt="Bouton avec Attributes.Add" title="Bouton avec Attributes.Add" src="http://www.jean-francoismathieu.com/images/articles/dotnet/thumbs/p_goodpratice1.jpg" /></a></p>
<p>Le problème est survenu lorsque j&#8217;ai rajouté à ma page les contrôles de validation comme le &#8220;<strong>RegEx Validator</strong>&#8220;. À ce moment la page en question m&#8217;affiche une <strong>erreur Javacript</strong>.</p>
<p><a onfocus="this.blur()" onclick="ps_imagemanager_popup(this.href,'Erreur Javascript','437','290');return false" href="http://www.jean-francoismathieu.com/images/articles/dotnet/goodpratice3.jpg"><img width="96" height="64" border="0" title="Erreur Javascript" alt="Erreur Javascript" src="http://www.jean-francoismathieu.com/images/articles/dotnet/thumbs/p_goodpratice3.jpg" /></a><br />
Le message d&#8217;erreur me dit qu&#8217;il me manque un &#8220;;&#8221; ce qui est surprenant comme la page fonctionnait quelques minutes auparavant. Après un analyse plus poussée du problème (en regardant la source HTML), j&#8217;ai découvert que .NET avait rajouté après mon &#8220;valideForm&#8221; une autre fonction javascript.</p>
<p><a onfocus="this.blur()" onclick="ps_imagemanager_popup(this.href,'La fonction .NET et ma fonction','503','110');return false" href="http://www.jean-francoismathieu.com/images/articles/dotnet/goodpratice4.jpg"><img width="96" height="21" border="0" alt="La fonction .NET et ma fonction" title="La fonction .NET et ma fonction" src="http://www.jean-francoismathieu.com/images/articles/dotnet/thumbs/p_goodpratice4.jpg" /></a></p>
<p>Et que comme je n&#8217;avais pas mis le &#8220;;&#8221; à la fin de la linge <strong>Attributes.Add( &#8220;onClick&#8221; , &#8220;valideForm();&#8221; )</strong> quand il a rajouté sa propre validation la page n&#8217;était plus fonctionnel au niveau du javascript.</p>
<p><a onfocus="this.blur()" onclick="ps_imagemanager_popup(this.href,'Avec le point-vigule','613','114');return false" href="http://www.jean-francoismathieu.com/images/articles/dotnet/goodpratice2.jpg"><img width="96" height="18" border="0" title="Avec le point-vigule" alt="Avec le point-vigule" src="http://www.jean-francoismathieu.com/images/articles/dotnet/thumbs/p_goodpratice2.jpg" /></a></p>
<p>En conclusion, c&#8217;est une <strong>bonne pratique</strong>, dans tous les langages de programmation, qui agit avec du javascript (Java, PHP, ASP.NET), de mettre le &#8220;;&#8221; en fin de ligne même s&#8217;il n&#8217;est pas nécessaire pour le bon fonctionnement du programme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jean-francoismathieu.com/2007/02/bonne-pratique-net-les-dessous-de-attributesadd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
