<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://purl.org/atom/ns#" version="0.3"
	  xmlns:dc="http://purl.org/dc/elements/1.1/"
	  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xml:lang="fr">

  <title>Nicolas Humann</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php"/>
  <tagline type="text/plain" mode="escaped">Blog de nicolas humann</tagline>
  
  <modified>2008-11-25T17:57:07+01:00</modified>
  <generator version="1.2.1" url="http://www.dotclear.net/">DotClear</generator>
  
  <sy:updatePeriod>daily</sy:updatePeriod>
  <sy:updateFrequency>1</sy:updateFrequency>
  <sy:updateBase>2008-11-25T17:57:07+01:00</sy:updateBase>
  
<entry xml:lang="fr">
  <title>C# 4.0, les param&amp;egrave;tres nomm&amp;eacute;s et optionnels, y a quoi derri&amp;egrave;re ?</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/11/25/80-c-40-les-paramegravetres-nommeacutes-et-optionnels-y-a-quoi-derriegravere" />
  <issued>2008-11-25T17:57:07+01:00</issued>
  <modified>2008-11-25T17:57:07+01:00</modified>
  <id>http://www.humann.info/index.php?2008/11/25/80-c-40-les-paramegravetres-nommeacutes-et-optionnels-y-a-quoi-derriegravere</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>C# 4.0 ajoute enfin les notions de paramètre optionnel et nommé. Si nous reprenons le code suivant : static void Main(string[] args)
{
  //Appel de la methode en utilisant le parametre optionel
  MaMethode1();

  //Appel de la methode en utilisant le parametre nommé
  MaMethode1(maVar:...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;C# 4.0 ajoute enfin les notions de paramètre optionnel et nommé. Si nous reprenons le code suivant :&lt;/p&gt; &lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:3ef4d8ef-249e-4f6d-b345-ae91c9989e55&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; Main(&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;[] args)
{
  &lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;Appel de la methode en utilisant le parametre optionel&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;  MaMethode1();

  &lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;Appel de la methode en utilisant le parametre nomm&amp;#233;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;  MaMethode1(maVar: &lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Valeur par parametre nomm&amp;#233;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);

  &lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt; Appel de la methode de facon classique&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;  MaMethode1(&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Valeur standard&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);

  Console.ReadLine();
}

&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; MaMethode1(&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; maVar &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Valeur par defaut&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)
{
  Console.WriteLine(maVar);
}&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;p&gt;Ouvrons le maintenant avec Reflector : 
&lt;p&gt;Notre methode1 devient :&lt;/p&gt;
&lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:a9f04d47-c3ff-4825-962e-26d8cca0f8a8&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;private&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; MaMethode1([Optional, DefaultParameterValue(&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Valeur par defaut&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)] &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; maVar)
{
  Console.WriteLine(maVar);
}&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;p&gt;On constate que le compilateur à ajouté 2 attribut issues du namespace System.Runtime.InteropServices. Ces 2 attributs ne vous sont pas inconnus ? Ils existaient déjà dans la version précédente. 
&lt;p&gt;Regardons à présent, comment le compilateur fait l’appel à notre méthode :&lt;/p&gt;
&lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:3bbb8f58-0c45-47d9-99d7-94c079e640e4&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;private&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; Main(&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;[] args)
{
  MaMethode1(&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Valeur par defaut&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);

  &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; CS$&lt;/span&gt;&lt;span style=&quot;color: #800080;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color: #800080;&quot;&gt;0000&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Valeur par parametre nomm\x00e9&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;;

  MaMethode1(CS$&lt;/span&gt;&lt;span style=&quot;color: #800080;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color: #800080;&quot;&gt;0000&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);

  MaMethode1(&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Valeur standard&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);

  Console.ReadLine();
}&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;p&gt;Et bien, nous constatons que pour l’utilisation du paramètre par défaut, le compilateur remonte la valeur par défaut, dans l' appel à la méthode en tant que paramètre. 
&lt;p&gt;Concernant le paramètre nommé, le compilateur créer une variable intermédiaire. Comme quoi, c’est bien le compilateur qui fait tout le boulot :)&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>Acc&amp;egrave;s anonyme et les pages Forms / viewlsts.aspx...</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/10/07/79-accegraves-anonyme-et-les-pages-forms-viewlstsaspx" />
  <issued>2008-10-07T16:58:37+02:00</issued>
  <modified>2008-10-07T16:58:37+02:00</modified>
  <id>http://www.humann.info/index.php?2008/10/07/79-accegraves-anonyme-et-les-pages-forms-viewlstsaspx</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>De plus en plus de site internet sont réalisés avec MOSS 2007. Pour les rendre accessibles à tous, il est nécessaire d’activer l’accès anonyme.  Malheureusement, les pages "/_layouts/viewlsts.aspx" et les pages ".../Forms/AllItems.aspx" restent visible pour tout le monde! Ce qui n'est pas...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;De plus en plus de site internet sont réalisés avec MOSS 2007. Pour les rendre accessibles à tous, il est nécessaire d’activer l’accès anonyme.  &lt;p&gt;Malheureusement, les pages &quot;/_layouts/viewlsts.aspx&quot; et les pages &quot;.../Forms/AllItems.aspx&quot; restent visible pour tout le monde! Ce qui n'est pas vraiment...  &lt;p&gt;Il existe une solution, les lecteurs réguliers du &lt;a href=&quot;http://blogs.msdn.com/ecm&quot;&gt;blog de la team ECM&lt;/a&gt; la connaissent peut êtres, il suffit d’activer la feature &quot;cachée&quot; ViewFormPagesLockdown.  &lt;p&gt;stsadm.exe –o activatefeature –url &amp;lt;site collection url&amp;gt; -filename ViewFormPagesLockdown\feature.xml  &lt;p&gt;La feature interdit l’accès a ces pages et demandes-en contre partis une authentification...  &lt;p&gt;Ce blog &lt;a href=&quot;http://blogs.msdn.com/nay/pages/moss-based-internet-sites-live.aspx&quot;&gt;http://blogs.msdn.com/nay/pages/moss-based-internet-sites-live.aspx&lt;/a&gt; regroupe un certain nombre de site basé sur MOSS. J’ai donc essayé quelques urls :)  &lt;p&gt;Certains sites fonctionnent, d’autres non (&lt;a href=&quot;http://www.wise-woman.net/_layouts/viewlsts.aspx&quot;&gt;http://www.wise-woman.net/_layouts/viewlsts.aspx&lt;/a&gt;).  &lt;p&gt;&amp;nbsp; &lt;p&gt;Bon verrouillage  &lt;p&gt;&amp;nbsp; &lt;p&gt;&lt;a href=&quot;http://blogs.msdn.com/ecm/archive/2007/05/12/anonymous-users-forms-pages-and-the-lockdown-feature.aspx&quot; target=&quot;_blank&quot;&gt;le tips sur le blog de la team ECM&lt;/a&gt;.&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>[MOSS Tip Of The Day] Comment conna&amp;icirc;tre le mode de notre page de publication</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/08/07/78--moss-tip-of-the-day-comment-connaicirctre-le-mode-de-notre-page-de-publication" />
  <issued>2008-08-07T18:14:19+02:00</issued>
  <modified>2008-08-07T18:14:19+02:00</modified>
  <id>http://www.humann.info/index.php?2008/08/07/78--moss-tip-of-the-day-comment-connaicirctre-le-mode-de-notre-page-de-publication</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>Si vous faite des pages de publication, dans le code behind, la page hérite de Microsoft.SharePoint.Publishing.PublishingLayoutPage.  Mais comment faire pour afficher/cacher des éléments si la page est en mode édition ou non. Par réflexe, j' ai recherché une propriété dans la classe...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Si vous faite des pages de publication, dans le code behind, la page hérite de Microsoft.SharePoint.Publishing.PublishingLayoutPage. &lt;/p&gt; &lt;p&gt;Mais comment faire pour afficher/cacher des éléments si la page est en mode édition ou non. Par réflexe, j' ai recherché une propriété dans la classe PublishingLayoutPage, mais rien...&lt;/p&gt; &lt;p&gt;La solution se trouve dans le SPContext courant.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:ec66a688-0bc6-44f1-8fcb-0bdb3ce1ac51&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; (SPContext.Current.FormContext.FormMode &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; SPControlMode.Edit)
{
   &lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt; Mon code&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>[MOSS Tip Of The Day] Ajouter une page de publication &amp;agrave; une biblioth&amp;egrave;que de pages par code</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/08/05/77--moss-tip-of-the-day-ajouter-une-page-de-publication-agrave-une-bibliothegraveque-de-pages-par-code" />
  <issued>2008-08-05T09:32:22+02:00</issued>
  <modified>2008-08-05T09:32:22+02:00</modified>
  <id>http://www.humann.info/index.php?2008/08/05/77--moss-tip-of-the-day-ajouter-une-page-de-publication-agrave-une-bibliothegraveque-de-pages-par-code</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>Ça fait quelques temps que je n' avais plus rien posté... Pour me rattraper (un peu) voici un petit bout de code c# qui permet d' ajouter une page de layout dans une bibliothèque de pages.   using (SPSite site = new SPSite("http://intranet"))
            {
                using...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Ça fait quelques temps que je n' avais plus rien posté... Pour me rattraper (un peu) voici un petit bout de code c# qui permet d' ajouter une page de layout dans une bibliothèque de pages.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:34b1ed0f-0adb-4f20-b664-9801b8656962&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; (SPSite site &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; SPSite(&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;http://intranet&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;))
            {
                &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; (SPWeb web &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; site.OpenWeb())
                {
                    PublishingWeb pubWeb &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; PublishingWeb.GetPublishingWeb(web);

                    PublishingSite pubSite &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; PublishingSite(site);

                    &lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt; R&amp;#233;cuperation de toutes les pages de layout&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;                    PageLayoutCollection plc &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; pubSite.GetPageLayouts(&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);
                    &lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt; On prend la premiere...&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;                    PageLayout pageLayout &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; plc[&lt;/span&gt;&lt;span style=&quot;color: #800080;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;];


                    PublishingPage pubPage &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; pubWeb.GetPublishingPages().Add(&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;pages/mapages.aspx&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;, pageLayout);
                    pubPage.Update();

                }
            }&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>SharePoint 2007 : Feature Stapling</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/04/23/76-sharepoint-2007-feature-stapling" />
  <issued>2008-04-23T20:54:21+02:00</issued>
  <modified>2008-04-23T20:54:21+02:00</modified>
  <id>http://www.humann.info/index.php?2008/04/23/76-sharepoint-2007-feature-stapling</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>L’un des nouveaux concepts de la plateforme WSS 3, sont les features. Une feature permet de packager des fonctionnalités, qu’il est possible d’activer ou de désactiver, que soit soit au niveau du site, de la collection de site, de la web application…  Une feature peut être composée de :...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;L’un des nouveaux concepts de la plateforme WSS 3, sont les features. Une feature permet de packager des fonctionnalités, qu’il est possible d’activer ou de désactiver, que soit soit au niveau du site, de la collection de site, de la web application…  &lt;p&gt;Une feature peut être composée de :  &lt;ul&gt; &lt;li&gt;List templates  &lt;li&gt;Menu Items  &lt;li&gt;Workflows  &lt;li&gt;Web Parts  &lt;li&gt;...&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Pour plus d’info : &lt;a href=&quot;http://msdn2.microsoft.com/en-us/library/ms460318.aspx&quot;&gt;http://msdn2.microsoft.com/en-us/library/ms460318.aspx&lt;/a&gt;  &lt;p&gt;Lors de la création d’un nouveau site, par exemple pour un site d’équipe, vos features seront désactivées.  &lt;p&gt;Pour résoudre ce problème, il existe le feature stapling, et ce sans modifier les fichiers des définitions de site !  &lt;p&gt;Il faut créer une feature, au niveau de la ferme, qui va&amp;nbsp; « stapler » une autre feature.  &lt;p&gt;Feature.xml  &lt;p&gt;&lt;/p&gt; &lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:da62e50e-eeff-429e-a0e2-3e9dabaafbdd&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #FF00FF;&quot;&gt;xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Feature  &lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;4b112d30-1147-11dd-bd0b-0800200c9a66&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;
          Title&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;$Resources:Title&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;
          Description&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;$Resources: Description&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;
          Version&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;1.0.0.0&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;
          Scope&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;Farm&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;
          xmlns&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;http://schemas.microsoft.com/sharepoint/&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;
          DefaultResourceFile&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;_Res&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
    &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;ElementManifests&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
        &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;ElementManifest &lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;Location&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;Staple.xml&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
    &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;ElementManifests&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Feature&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Staple.xml 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E7:54b89760-6f16-48c8-a73d-5160d4c6b4bf&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Elements &lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;http://schemas.microsoft.com/sharepoint/&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;FeatureSiteTemplateAssociation &lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;d53a7070-1147-11dd-bd0b-0800200c9a66&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt; TemplateName&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;STS#0&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;FeatureSiteTemplateAssociation &lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;d53a7070-1147-11dd-bd0b-0800200c9a66&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt; TemplateName&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;STS#1&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;FeatureSiteTemplateAssociation &lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;d53a7070-1147-11dd-bd0b-0800200c9a66&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt; TemplateName&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;BDR#0&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;FeatureSiteTemplateAssociation &lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;d53a7070-1147-11dd-bd0b-0800200c9a66&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt; TemplateName&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;=&amp;quot;SPS#0&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Elements&lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Puis, la feature d53a7070-1147-11dd-bd0b-0800200c9a66 sera attachée à ces définitions de site. 
&lt;p&gt;Ceci est très puissant car il vous permet d' ajouter des fonctionnalités aux définitions site existantes sans avoir à modifier les définitions elles-mêmes.&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>Microsoft Success Stories</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/04/14/75-microsoft-success-stories" />
  <issued>2008-04-14T18:06:16+02:00</issued>
  <modified>2008-04-14T18:06:16+02:00</modified>
  <id>http://www.humann.info/index.php?2008/04/14/75-microsoft-success-stories</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>Microsoft vient de lancer le site Microsoft Success Stories. Ce site regroupe des témoignages sur les solutions, POC MS qui ont eu du succès :) Le site est fait en silverlight avec plein de vidéos de partout !!!   Bon visionnage...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Microsoft vient de lancer le site &lt;a href=&quot;http://www.microsoft.com/business/success/default.aspx&quot; target=&quot;_blank&quot;&gt;Microsoft Success Stories&lt;/a&gt;. Ce site regroupe des témoignages sur les solutions, POC MS qui ont eu du succès :)&lt;/p&gt; &lt;p&gt;Le site est fait en silverlight avec plein de vidéos de partout !!!&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Bon visionnage&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>MSDN &amp;amp; TechNet Tour 2008</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/04/08/74-msdn-amp-technet-tour-2008" />
  <issued>2008-04-08T23:09:28+02:00</issued>
  <modified>2008-04-08T23:09:28+02:00</modified>
  <id>http://www.humann.info/index.php?2008/04/08/74-msdn-amp-technet-tour-2008</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>A l' occasion du lancement de Microsoft Visual Studio 2008, Windows Server 2008 et SQL Server 2008, Microsoft organise du 10 avril au 12 juin MSDN &amp; TechNet Tour 2008. A Lille, Nantes, Lyon, Toulouse, Marseille : ce rendez-vous incontournable des IT professionnels, vous permettra de faire le...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;&lt;a href=&quot;http://technet.microsoft.com/fr-fr/events/cc184917.aspx&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://blogs.developpeur.org/photos/nicolas/images/38561/original.aspx&quot; border=&quot;0&quot;&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;A l' occasion du lancement de Microsoft &lt;strong&gt;Visual Studio 2008&lt;/strong&gt;, &lt;strong&gt;Windows Server 2008&lt;/strong&gt; et &lt;strong&gt;SQL Server 2008&lt;/strong&gt;, Microsoft organise du &lt;strong&gt;10 avril au 12 juin&lt;/strong&gt; MSDN &amp;amp; TechNet Tour 2008.&lt;/p&gt; &lt;p&gt;A &lt;strong&gt;Lille, Nantes, Lyon, Toulouse, Marseille&lt;/strong&gt; : ce rendez-vous incontournable des IT professionnels, vous permettra de faire le point sur les dernières technologies Microsoft.  &lt;p&gt;&lt;a href=&quot;http://technet.microsoft.com/fr-fr/events/cc184917.aspx&quot; target=&quot;_blank&quot;&gt;Construisez dès maintenant votre agenda à partir de plus de 20 sessions.&lt;/a&gt;  &lt;p&gt;Vous pourrez me retrouver le 29 Mai à Marseille lors de ma session sur &quot;Présentation générale des technologies SharePoint: Microsoft Office SharePoint 2007, Windows SharePoint Services 3.0 et Microsoft Search server 2008&quot;</content>
</entry>
<entry xml:lang="fr">
  <title>[MOSS Tip Of The Day] Renseigner le control PeopleEditor</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/02/07/73--moss-tip-of-the-day-renseigner-le-control-peopleeditor" />
  <issued>2008-02-07T17:12:52+01:00</issued>
  <modified>2008-02-07T17:12:52+01:00</modified>
  <id>http://www.humann.info/index.php?2008/02/07/73--moss-tip-of-the-day-renseigner-le-control-peopleeditor</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>Cette astuce complète la dernière que j' ai publié sur le control PeopleEditor. Voici comment renseigner le contenu du PeopleEditor avec une personne:   PickerEntity entity = new PickerEntity();
entity.Key = @"domaine\login";

ArrayList arL = new System.Collections.ArrayList();...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Cette astuce complète la &lt;a href=&quot;http://blogs.developpeur.org/nicolas/archive/2008/01/07/moss-tip-of-the-day-comment-utiliser-le-control-peopleeditor.aspx&quot; target=&quot;_blank&quot;&gt;dernière&lt;/a&gt; que j' ai publié sur le control PeopleEditor. Voici comment renseigner le contenu du PeopleEditor avec une personne:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E7:81ec085a-f2c0-476e-9112-8e589943deae&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #000000;&quot;&gt;PickerEntity entity &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; PickerEntity();
entity.Key &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;@&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;domaine\login&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;;

ArrayList arL &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; System.Collections.ArrayList();
arL.Add(entity);

PeopleEditor1.UpdateEntities(arL);&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>[MOSS Tip Of The Day] Ecrire dans les logs SharePoint</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/01/31/72--moss-tip-of-the-day-ecrire-dans-les-logs-sharepoint" />
  <issued>2008-01-31T16:31:12+01:00</issued>
  <modified>2008-01-31T16:31:12+01:00</modified>
  <id>http://www.humann.info/index.php?2008/01/31/72--moss-tip-of-the-day-ecrire-dans-les-logs-sharepoint</id>
  <author><name>Nico</name></author>
  <dc:subject>General</dc:subject>
  <summary>Dans vos développement SharePoint (WebPart, EventHandler...), il est bien normal de vouloir écrire dans les fichiers de Log SharePoint. Pour cela, il y a une jolie petit méthode: Microsoft.Office.Server.Diagnostics.PortalLog.LogString("Mon Message");   D' autre méthodes sont disponibles dans...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Dans vos développement SharePoint (WebPart, EventHandler...), il est bien normal de vouloir écrire dans les fichiers de Log SharePoint.&lt;/p&gt; &lt;p&gt;Pour cela, il y a une jolie petit méthode:&lt;/p&gt; &lt;p&gt;Microsoft.Office.Server.Diagnostics.PortalLog.LogString(&quot;Mon Message&quot;);&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;D' autre méthodes sont disponibles dans &lt;strong&gt;&lt;em&gt;Microsoft.Office.Server.Diagnostics.PortalLog&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>[MOSS Tip Of The Day] Ecrire dans les logs SharePoint</title>
  <link rel="alternate" type="text/html" href="http://www.humann.info/index.php?2008/01/31/71--moss-tip-of-the-day-ecrire-dans-les-logs-sharepoint" />
  <issued>2008-01-31T16:28:33+01:00</issued>
  <modified>2008-01-31T16:28:33+01:00</modified>
  <id>http://www.humann.info/index.php?2008/01/31/71--moss-tip-of-the-day-ecrire-dans-les-logs-sharepoint</id>
  <author><name>Nico</name></author>
  <dc:subject>SharePoint</dc:subject>
  <summary>Dans vos développement SharePoint (WebPart, EventHandler...), il est bien normal de vouloir écrire dans les fichiers de Log SharePoint. Pour cela, il y a une jolie petit méthode:  Microsoft.Office.Server.Diagnostics.PortalLog.LogString("Mon Message");...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Dans vos développement SharePoint (WebPart, EventHandler...), il est bien normal de vouloir écrire dans les fichiers de Log SharePoint.&lt;/p&gt; &lt;p&gt;Pour cela, il y a une jolie petit méthode:&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;div class=&quot;wlWriterSmartContent&quot; id=&quot;scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E7:9c18964e-a2d7-4f56-b4a8-9fae77395a61&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;&lt;pre style=&quot;background-color:White;;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Microsoft.Office.Server.Diagnostics.PortalLog.LogString(&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;Mon Message&lt;/span&gt;&lt;span style=&quot;color: #800000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;D' autre méthodes sont disponibles dans &lt;strong&gt;&lt;em&gt;Microsoft.Office.Server.Diagnostics.PortalLog&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;</content>
</entry>
</feed>