<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Performance on Le blog de baywet</title><link>https://baywet.github.io/fr/tags/performance/</link><description>Recent content in Performance on Le blog de baywet</description><generator>Hugo</generator><language>fr</language><lastBuildDate>Tue, 12 May 2026 13:21:13 +0200</lastBuildDate><atom:link href="https://baywet.github.io/fr/tags/performance/index.xml" rel="self" type="application/rss+xml"/><item><title>Boost your SharePoint solutions with distributed cache!–Part 3–Let’s Code!</title><link>https://baywet.github.io/fr/boost-your-sharepoint-solution/</link><pubDate>Tue, 17 Dec 2013 12:06:00 +0000</pubDate><guid>https://baywet.github.io/fr/boost-your-sharepoint-solution/</guid><description>&lt;h3 id="lets-code"&gt;Let’s code!&lt;/h3&gt;
&lt;p&gt;All what you need is located in these namspaces &lt;a href="https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.distributedcaching.aspx"&gt;Microsoft.SharePoint.DistributedCaching&lt;/a&gt; , Microsoft.SharePoint.DistributedCaching.Utilities, &lt;a href="https://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching%28v=azure.10%29.aspx"&gt;Microsoft.ApplicationServer.Caching&lt;/a&gt;, it is strictly forbidden to reference anything else coming from the appfabric sdk!&lt;/p&gt;
&lt;p&gt;Another information, depending on your version of SharePoint and of Visual Studio it is possible that you don’t have these dll’s in SharePoint’s ISAPI (folders VS will look at to know which assemblies are available for your projects). In that case you will need to reference dll’s directly from their GAC location. You can use ILSPY or something equivalent to know the exact location. (or ask me in comments if you need it).&lt;/p&gt;</description></item><item><title>Boostez vos solutions SharePoint avec le cache distribué !–Partie 3–Le code</title><link>https://baywet.github.io/fr/boostez-vos-solutions-sharepoi-2013-12-14-20-21-00/</link><pubDate>Sat, 14 Dec 2013 20:21:00 +0000</pubDate><guid>https://baywet.github.io/fr/boostez-vos-solutions-sharepoi-2013-12-14-20-21-00/</guid><description>&lt;h3 id="passons-au-code-"&gt;Passons au code !&lt;/h3&gt;
&lt;p&gt;Tout ce dont vous avez besoin se situe dans ces namespaces Microsoft.SharePoint.DistributedCaching (&lt;a href="https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.distributedcaching.aspx"&gt;https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.distributedcaching.aspx&lt;/a&gt; ), Microsoft.SharePoint.DistributedCaching.Utilities, Microsoft.ApplicationServer.Caching (&lt;a href="https://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching%28v=azure.10%29.aspx"&gt;https://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching(v=azure.10).aspx&lt;/a&gt; ), interdit de référencer quoi que ce soit d’autre venant d’appfabric.&lt;/p&gt;
&lt;p&gt;Autre information, il est possible que selon la version de visual studio installée et celle de sharepoint vous n’ayez pas les dll dans l’ISAPI de SharePoint (les dossiers que va regarder Visual Studio pour savoir quels sont les assemblies à disposition). Dans ce cas il faudra aller référencer les dlls directement depuis l’emplacement dans le GAC. Vous pouvez utiliser ILSPY ou équivalent pour connaitre l’emplacement exact. (ou bien demandez moi dans les commentaires si vous en avez besoin).&lt;/p&gt;</description></item><item><title>Boostez vos solutions SharePoint avec le cache distribué !–Partie 2–Explications et astuces</title><link>https://baywet.github.io/fr/boostez-vos-solutions-sharepoi-2013-12-12-09-08-00/</link><pubDate>Thu, 12 Dec 2013 09:08:00 +0000</pubDate><guid>https://baywet.github.io/fr/boostez-vos-solutions-sharepoi-2013-12-12-09-08-00/</guid><description>&lt;h3 id="explications-trucs-astuces-et-avertissements"&gt;Explications, trucs, astuces et avertissements&lt;/h3&gt;
&lt;h4 id="explications"&gt;Explications&lt;/h4&gt;
&lt;p&gt;Ce cluster de cache est en fait composé d’hôtes appfabric (caching services) Un des gros avantage est que les hôtes qui ne font pas partie du cluster mais interagissent avec gardent une copie locale des objets. Et cette copie est automatiquement maintenue à jour. En clair pas besoin d’implémenter un pattern lazy loading pour éviter les allers-retours sur le réseau.&lt;/p&gt;
&lt;p&gt;Comment est-ce que ça fonctionne ? C’est assez simple. Le cluster de cache est divisé en partitions (définies par SharePoint, voir l’énumération SPDistributedCacheContainerType &lt;a href="https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.distributedcaching.utilities.spdistributedcachecontainertype.aspx"&gt;https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.distributedcaching.utilities.spdistributedcachecontainertype.aspx&lt;/a&gt; ) Vous ne pouvez donc pas créer de partition pour votre application. Essayez de mettre en cache vos données dans une partition qui correspond à ce que vous réalisez.&lt;/p&gt;</description></item><item><title>Boostez vos solutions SharePoint avec le cache distribué !–Partie 1 Introduction</title><link>https://baywet.github.io/fr/boostez-vos-solutions-sharepoi-2013-12-11-01-15-14/</link><pubDate>Wed, 11 Dec 2013 01:15:14 +0000</pubDate><guid>https://baywet.github.io/fr/boostez-vos-solutions-sharepoi-2013-12-11-01-15-14/</guid><description>&lt;h3 id="prélude"&gt;Prélude&lt;/h3&gt;
&lt;p&gt;J’étais parti pour faire uniquement un article, mais j’ai constaté en cours de route qu’il y avait plein de choses à expliquer. De plus je suis bavard, ça ne m’aide pas forcément. J’ai donc opté pour une série d’articles (3). Un article sera publié tous les deux jours à compter d’aujourd’hui. L’exemple de code sera fourni avec le dernier article, ça vous oblige à lire jusqu’à la fin ;-) Bonne lecture, et n’hésitez pas à commenter.&lt;/p&gt;</description></item></channel></rss>