25 ans pour le meilleur IDE du moment : Visual Studio 🎂🍰

Ce mois de Mars 2022 marque les 25 ans d’un des meilleurs IDE du moment (et des dernières années) pour les projets .NET et bien d’autres : (sans suspens) Visual Studio !

Revivez l’expérience et l’histoire de l’évolution de cet IDE au travers d’un site dédié pour cet occasion ➡️Anniversaire Visual Studio 25e (microsoft.com)

Depuis, devenu une famille de produit, Visual Studio a donné lieu à une version plus légère et orientée éditeur de code multi-plateforme/multil-langage avec l’excellent Visual Studio Code, l’éditeur de code du moment tout lange de développement confondu comme le révèle le sondage stackoverflow de 2021 ➡️🤩https://insights.stackoverflow.com/survey/2021#section-most-popular-technologies-integrated-development-environment

Pour rappel, Visual Studio est disponible gratuitement dans sa version Community téléchargeable ici : Visual Studio 2022 Community Edition – Télécharger la dernière version gratuite (microsoft.com)

Bon anniversaire Visual Studio !

SharePoint maintenance mode to track webpart issue

As a SharePoint consultant, I often bump into issues with pages in SharePoint OnPrems and Online. To resolve these cases, we – SP consultants – need to deploy our super magic powers (what our clients think we have) 🙂

Most of the page, an error in a page is due to a bug in a webpart raising an exception, sometimes it’s a delegate control but this is another story for another blog post. Here is one magic trick to debug the pages and identify which webpart is running wrong.

SharePoint OnPrems / Classic

Starting from SP 2010, and for next version of OnPrems installation, just add ?contents=1 at the end of the page URL. This will open the page in maintenance mode and display all webparts in this page.

Modern SharePoint

Like a lots of developers I tried the old way and failed … thanks to this Microsoft support article, it gives you the right URL suffix to add to your URLs to enter the web part maintenance mode

In the address line of your browser, append ?maintenancemode=true to the end of the URL for the page. Checkout the Environment property in the mainten

You can find more documentation on these links ➡️ Maintenance mode for client-side web parts | Microsoft Docs and ➡️ Open and use the web part maintenance page (microsoft.com)

Bonus : how to disable SPFx web parts ans extensions

Ayt the end of this nice Microsoft article there is a golden tips ➡️ « If you need to troubleshoot a SharePoint page to see if there is a SharePoint Framework extension or web part causing issues you can append ?disable3PCode=1 to the URL to disable loading of SPFx components » that helped me a lot recently, so I share it to you.

Master piece : all useful SharePoint URLs

You can find every useful SharePoint URLs to save your life every day with SharePoint developement :Useful SharePoint URLs – SharePoint Stuff

Windows 11 : mes raccourcis préférés avec la touche Windows

Exploiter toute la puissance d’un système d’exploitation, c’est avant tout de savoir se servir des raccourcis de celui-ci, et Windows en est particulièrement doté !

Je vous livre quelques uns de mes raccourcis avec la touche Win(dows), mais sachez que Microsoft a doté chacune des lettres de notre alphabet avec des raccourcis et même des combinaisons avec Ctrl & co … c’est pour dire la culture des raccourcis de cet OS !

Win + D : Afficher er masquer le bureau

Win + E : Ouvrir l’explorateur de fichiers

Win + I : Ouvrir les Paramètres Windows

Win + M : Réduire toutes les fenêtres

Win + P : Sélection du mode de présentation

Win + . OU Win + ;➡️ vous ouvre le panneau des emoticons + GIF + le raccourci indispensable pour les messageries😍

Win + flèches : positionner la fenêtre en cours sur l’écran ou les écrans

Win + espace : changer de langue du clavier

Pour les autres raccourcis, vous pourrez trouver ceux-ci et bien plus encore dans la Docs de Microsoft ➡️ Raccourcis clavier dans Windows (microsoft.com)