mardi 8 décembre 2009

Du rififi chez les DNS

Google propose ses propres DNS à la manière d'un OpenDNS
Configurer 8.8.8.8 et 8.8.4.4 dans les connexions réseaux







Et nous avons aussi Namebench qui permet de cibler les meilleurs DNS selon notre utilisation

Afficher le détail des process svchost.exe...

...soit en utilisant Process Explorer
ou bien via la ligne de commande : TASKLIST /SVC /FO LIST

lundi 19 octobre 2009

L'administration centrale ne répond plus!

L'administration centrale ne répond plus et retourne l'erreur (claire et détaillée) 'Une erreur inattendue s'est produite.'

(Si l'Assistant Configuration des produits et technologies SharePoint n'a rien résolu)

Dans le journal des logs on peut lire : "Impossible d'ouvrir la base de données "SharePoint_Config" demandée par la connexion. La connexion a échoué.
Échec de l'ouverture de session de l'utilisateur [...]
Une erreur grave s'est produite sur la commande actuelle. Les résultats éventuels doivent être ignorés."
ou encore
"L'autorisation EXECUTE a été refusée sur l'objet 'proc_getObjectsByClass', base de données 'SharePoint_Config', schéma 'dbo'."

Il s'agit alors de vérifier dans Sql Server si le compte incriminé n'a pas été tout simplement supprimé et de le recréer avec les bons droits sur l'instance sql :
1. Sécurité > Connexions
2. Ajout du compte, rôle "dbcreator","public","securityadmin"
3. "Mappages de l'utilisateur", cocher toutes les bases Sharepoint (SharedServices,Shareppooint,WSS) en "dbowner" et "public"

vendredi 16 octobre 2009

mercredi 14 octobre 2009

Obtenir la version de SQL SERVER en Powershell

$sqlcnx=New-Object System.Data.SqlClient.SqlConnection
$sqlcnx.ConnectionString = "Server=NOM SERVEUR;Database=master;Integrated Security=True"
$sqlcnx.Open()
$sqlcnx.ServerVersion

jeudi 8 octobre 2009

Exécution cmd directement depuis Exécuter

oui je sais comme ça ça parait pas clair, mais en fait, plutôt que d'ouvrir la fenêtre Exécuter, de taper cmd et ensuite de tapez votre commande vous pouvez tapez directement cmd /k {votre commande}
par exemple : cmd /k dir C:\
Une chtit' astuce quoi!

lundi 28 septembre 2009

Changement du mode de récupération d'une base Sql Server

Script SQL pour changer le mode de récupération vers le mode de récupération simple d'une base Sql Server.
Utile par exemple lorsqu'il faut modifier un Windows Internal DataBase (microsoft##ssee)

USE [master]
GO
ALTER DATABASE [Base] SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE [Base] SET RECOVERY SIMPLE
GO

vendredi 14 août 2009

Utiliser Google Diagnostic

Google met à disposition des internautes une page affichant différentes informations de sécurité sur un site donné. Par exemple, en testant avec le site http://www.google.com/ :


... on obtient :



Pour l'utiliser lors de sa navigation quotidienne, il suffit de créer un favori accessible depuis la barre de son navigateur internet avec le contenu suivant :
javascript: ( function(){ location.href='http://www.google.com/safebrowsing/diagnostic?site='+encodeURIComponent(window.location.href) })()
pour les utilisateurs de chrome ;), glissez/déposer le lien suivant dans votre barre de liens :

MAJ : 25/08/09

la même chose pour traduire automatiquement une page :
javascript: ( function(){ location.href='http://translate.google.fr/translate?u='+encodeURIComponent(window.location.href) })()
et donc,

jeudi 13 août 2009

Date Système et Powershell

Depuis combien de temps l'odinateur est-il démarré ?

$os = Get-WmiObject -Class Win32_OperatingSystem
(get-date) - $os.ConvertToDateTime($os.LastBootUpTime)

http://msmvps.com/blogs/richardsiddaway/archive/2009/08/13/system-up-time.aspx

...et date de démarrage

$operatingSystem = Get-WmiObject Win32_OperatingSystem
[Management.ManagementDateTimeConverter]::ToDateTime($operatingSystem.LastBootUpTime)

http://blogs.msdn.com/powershell/archive/2009/08/12/get-systemuptime-and-working-with-the-wmi-date-format.aspx

mercredi 5 août 2009

astuce Ultraedit pour insérer un séparateur entre chaque lettre d'un texte

astuce Ultraedit pour insérer un séparateur entre chaque lettre d'un texte
Fonction rechercher/remplacer :
En l'occurence ici, le texte azerty deviendrait a;z;e;r;t;y;

vendredi 3 juillet 2009

Booster le démarrage de Powershell v1

Update-gac.ps1

Set-Alias ngen (Join-Path ([System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()) ngen.exe)
[AppDomain]::CurrentDomain.GetAssemblies() |
sort {Split-path $_.location -leaf} |
%{
$Name = (Split-Path $_.location -leaf)
if ([System.Runtime.InteropServices.RuntimeEnvironment]::FromGlobalAccessCache($_))
{
Write-Host "Already GACed: $Name"
}else
{
Write-Host -ForegroundColor Yellow "NGENing : $Name"
ngen $_.location | %{"`t$_"}
}
}


SOURCE : http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx


mercredi 17 juin 2009

Sauvegarde de la metabase IIS

iiscnfg /export /f c:\iismetabaseexport.xml /sp / /children

lundi 27 avril 2009

WebDesign 02


How to Spot Quality within Web Design
"Quality is a word that a lot of people like to use when describing their web design services. But what is quality, how do you know if a design is quality or not. Well, I think that there’s quite a few ways to spot quality within web designs. Once you can see just what goes into making a quality web design, you can use the techniques yourself."

vendredi 24 avril 2009

LinksList 31




PowerShell and SharePoint - Bob Mixon
The Power of PowerShell and SharePoint: Enumerating SharePoint Permissions and Active Directory
SharePoint calculated column and jQuery Highlight row
Using Log Parser with SharePoint
How to Create a Silverlight Web Part in ASP.NET for Use in SharePoint Server 2007
"Discover how to develop a basic Microsoft Silverlight Web Part in ASP.NET that hosts a canvas and that can be used with Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0"
Chapter 8: Site Collections and Web Applications (Part 2 of 2)
Best Practices: Common Coding Issues When Using the SharePoint Object Model
"Learn common issues encountered by developers who write custom code by using the SharePoint object model"
Configuring and Deploying Anonymous Publishing Sites for SharePoint Server 2007
"Explore and learn how to address security and performance issues of Microsoft Office SharePoint Server 2007 publishing sites before launching them as Internet-facing publishing sites"
PoshBoard
portail IT open source, gratuit basé sur Dropthings, PowerShell et Silverlight



Ajoutez un super moteur physique à vos applications/jeux Silverlight!
moteur physique et de collision
Windows file server performance optimization - Risque Management
"That covers Windows CIFS and NFS and was tested on 32-bit Windows 2003 (yet I believe W2K8 and 64-bit platforms also can be optimised this way, will test). This comes from the SPEC file server benchmarking results and configuration notes for HP ProLiant DL585 G2 Storage Server "




jeudi 23 avril 2009

PowerShell script run as an administrator


Start-Process "$psHome\powershell.exe" -Verb Runas -ArgumentList '-command "Get-Process"'

LinksList 30



5 Useful Visual Studio C# Snippets
"Watcher is a runtime passive-analysis tool for HTTP-based Web applications. It detects Web-application security issues as well as operational configuration issues. Watcher provides pen-testers hot-spot detection for vulnerabilities, developers quick sanity checks, and auditors PCI compliance auditing. It looks for issues related to mashups, user-controlled payloads (potential XSS), cookies, comments, HTTP headers, SSL, Flash, Silverlight, referrer leaks, information disclosure, Unicode, and more."


mercredi 22 avril 2009

TopTools 02

Microsoft Network Monitor 3.3
"Tool to allow capturing and protocol analysis of network traffic"

SyncToy v2.0
"SyncToy helps you copy, move, rename, and delete files between folders and computers quickly and easily."
Synchroniser ses dossiers sur plusieurs PC
Pour faire le point sur Windows Live Sync, Live Mesh et SkyDrive

jeudi 16 avril 2009

LinksList 29

Sharepoint

SharePoint FxCop Rules
"SharePoint Of View - SharePoint FxCop Rules is intended to analyse the quality and performance of your SharePoint custom code.It performs check on the Dispose Patterns according to the Best Practices published by Microsoft."
SharePoint 2007 (MOSS) Customization Tool
WSPBuilder - Walkthrough of the Visual Studio Add-in
5 files you should know in the SharePoint 12-hive
SPTraceView
"...utility targeted mainly for people that develop and/or test custom SharePoint applications. It could be also useful to administrators to diagnose and troubleshoot their MOSS farm. It analyses in real time the ULS trace messages coming from all MOSS components and can notify you using a balloon-style tray bar messages when something happens."
SharePoint Thinks, Links and Clinks : Server and Site Architecture: Object Model Overview
Debunking SharePoint Performance Myths
Calling the SharePoint Web Services with jQuery

jeudi 9 avril 2009

LinksList 28

Dropthings - Ajax Web Portal
"Ajax Web Portal built on Linq, Workflow Foundation and ASP.NET AJAX. Code is in Visual Studio 2008 using .NET 3.0 and .NET 3.5"
PoshBoard
"PowerShell Dashboard is a modular IT web portal based on Dropthings and other open source silverlight controls. The goal of this project is to present a mashup of several open source solutions linked to PowerShell that gives ability for IT people to develop very rich and dynamic web portal (Reporting, Workflow, tasks automation...)"
Flotzam
"This cool WPF application, built by some folks at Microsoft’s Mix Online, lets you visualize data from social web sites including Twitter, Flickr, Facebook, YouTube, Digg, and it also can incorporate RSS feeds"
TreeMaps
"TreeMap infographic that displayed some data in an interesting way"
Data Security: Stop SQL Injection Attacks Before They Stop You
"The basic idea behind a SQL injection attack is this: you create a Web page that allows the user to enter text into a textbox that will be used to execute a query against a database. A hacker enters a malformed SQL statement into the textbox that changes the nature of the query so that it can be used to break into, alter, or damage the back-end database"

SharePoint : Erreurs Event 2436 lors de l’indexation des sites WSS V3 avec WSS Search
SharePoint Data Zoom Web Part
"The SharePoint Data Zoom Web Part is a free tool which allows SharePoint users to easily build dynamic, data-driven content on any page"

lundi 6 avril 2009

LinksList 27

Google Code
Extending Content Query Web Part XSLT with custom functions
Enum Friendly
Sharepoint : Finding a stsadm option
LINQ Deep Dive: Part I
"I’ll share in this two-part series some of my experiences and pain that I’ve encountered working with LINQ on a daily basis. I’ll also demonstrate some common gotchas to avoid, as well as hidden features in LINQ that can help you write concise and expedient LINQ queries."
Silverlight Kit for MySpace
"Silverlight 2 library to facilitate development of applications on the MySpace Developer Platform’s OpenSocial 0.8 API."
Hands-On Labs for Enterprise Library 4.1
"Use this set of Hands-on Labs as a guide to learn about the application blocks included with Enterprise Library 4.1 and practice how to leverage their capabilities in various application contexts. It includes Caching, Cryptography, Data Access, Exception Handling, Interception, Logging, Security, Validation, and Unity Hands-on Labs."
ASP.NET MVC Best Practices (Part 1)
ASP.NET MVC 1.0
"ASP.NET MVC is a free, fully supported, Microsoft product that enables developers to easily build web applications using a model-view-controller pattern.  ASP.NET MVC provides a “closer to the metal” web programming option for ASP.NET.  It enables full control over HTML markup and URL structure, and facilitates unit testing and a test driven development workflow"

jeudi 2 avril 2009

WebDesign 01 (?!)

37 Examples of Unique Navigation
"showcases some unique navigation’s and some well thought out designs"
15 Essential Checks Before Launching Your Website
"This article reviews some important and necessary checks that web-sites should be checked against before the official launch — little details are often forgotten or ignored, but – if done in time – may sum up to an overall greater user experience and avoid unnecessary costs after the official site release."
Perfect 3 Column CSS Liquid Layout. No Images, Cross-browser
"No CSS hacks. SEO friendly.No JavaScript. The CSS used for this layout is 100% valid and hack free. To overcome Internet Explorer's broken box model, no horizontal padding or margins are used. Instead, this design uses percentage widths and clever relative positioning."
50 Beautiful And User-Friendly Navigation Menus
Showcase Of Well-Designed Tabbed Navigation
"talk about one specific navigation technique, tab-based navigation"
25 Useful Blogs for Web Design and Development
50 Stylish Navigation Menus for Design Inspiration
Line25 Sites of the Week for April 10th 2009
35 Awesome User Interface Design Tutorials
350+ Great CSS Tools and Techniques | Abduzeedo - design inspiration and tutorials
"Taking a quick ride thru my Delicious, I took a look at some of my CSS tag favorites, and I'd like to share them with you. These are really resourceful articles, worth the visit. From tools to simple techniques that will help you at some point"

LinksList 26

Développement parallèle en C#
Création de sites SharePoint via un service WCF appelé depuis un client WPF ou Silverlight 2
.Net RIA Service – Hello World
FreeMind
"FreeMind is a premier free mind-mapping (http://en.wikipedia.org/wiki/Mind_map) software written in Java. The recent development has hopefully turned it into high productivity tool. We are proud that the operation and navigation of FreeMind is faster than that of MindManager because of one-click "fold / unfold" and "follow link" operations."
Protect Your Computer From Threats By Checking a Website
"Free online website checking services"

mercredi 1 avril 2009

LinksList 25

APSQL - XML et SQL Server
"SQL Server propose [...] de stocker des informations au format XML directement dans la base. En effet SQL Server permet de définir dans une table relationnelle des colonnes de type XML. Des recherches vont pouvoir être effectuées via XQuery. Comme toute colonne relationnelle, il est possible de définir des index portant sur cette colonne."
Power replacements for built-in Windows utilities
"...built superior replacements to programs like Notepad, Paint, Windows Explorer and the Command Prompt."
Office SharePoint Server IT Pro content CHM
"Office SharePoint Server 2007 Technical Library in Compiled Help format"
[MOSS]Title field as a hyperlink to the document in a document library

alternative nobr

On ne dit plus :
nobr
mais on dit :
white-space: nowrap

mardi 31 mars 2009

[Sharepoint] fichiers ressources


...Conclusion, si vous voulez être blindés au niveau du déploiement de vos fichiers ressources, créez l'arborescence suivante dans votre projet WSPBuilder :


puis exécuter :
stsadm -o copyappbincontent

De cette manière, vos fichiers resources seront copiés dans tous les répertoires App_GlobalResources de vos applications webs existantes et à venir

jeudi 26 mars 2009

LinksList 23

Designing Drop-Down Menus: Examples and Best Practices
Creating an Ajax Login Form With jQuery | Dev102.com
"In this post I want to show you how to use jQuery to create an AJAX login screen. I am going to use an ASP.NET MVC application for this demonstration"
MOSS as an application platform : an introduction to Oba patterns
CodeRun Online Development Platform
Casaba Security Watcher tool for Web Security Auditing and Testing
"Major Features:
  1. passive detection of security, privacy, and PCI compliance issues in HTTP, HTML, Javascript, and CSS
  2. Works seamlessly with complex Web 2.0 applications while you drive the Web browser
  3. non-intrusive, will not raise alarms or damage production sites
  4. Real-time analysis and reporting - findings are reported as they’re found, exportable to XML
  5. configurable domains with wildcard support
  6. extensible framework for adding new checks"

[SharePoint] Créer une page AccessDenied.aspx custom
Virtual Earth Developer Resources
!exploitable Crash Analyzer 
"!exploitable (pronounced “bang exploitable”) is a Windows debugging extension (Windbg) that provides automated crash analysis and security risk assessment"
jQuery Link Repository

lundi 23 mars 2009

LinksList 22

MOSS 2007 (Part1):Configuring Single Sign On Service and Database
NET RIA Services: From Vision to Architecture
"Microsoft .NET RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms. RIA Services provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support for common tasks such as data validation, authentication and roles by integrating with Silverlight components on the client and ASP.NET on the mid-tier."
Best Practices: Common Coding Issues When Using the SharePoint Object Model
"Updated March 2009"
Approaches to Creating Master Pages and Page Layouts in SharePoint Server 2007
"Learn two ways in which developers and designers can create Microsoft ASP.NET 2.0 master pages that define a site's global appearance and to create page layouts that define the rendering of specific content pages in Microsoft Office SharePoint Sever 2007 publishing sites"
Overview of the SharePoint Team Services Architecture
Understanding Field Controls and Web Parts in SharePoint Server 2007 Publishing Sites
"Learn the details of Microsoft Office SharePoint Server 2007 field controls and Web Parts and how they differ, and best practices for when to use each type of control"

jeudi 19 mars 2009

LinksList 21

Bien démarrer avec Silverlight 3
Les expérimentations Chrome
SharePoint debugging
Silverlight.FX and Silverlight Store Sample App
APSQL - Exercices
"série d'exercices / travaux dirigés suivante va vous permettre de vous familiariser avec le Transact SQL"
Free ASP.NET MVC eBook Tutorial
Adventures with the “New Folder” Option in a Document Library
en savoir plus sur les dossiers dans les bibliothèques de documents
Live Services : Reach your people everywhere, in real time!
Ecrire des composants liés aux données
"Le problème abordé concerne les composants binaires (par opposition aux composants ASCX). Un problème récurrent lors de l'écriture des composants binaires consiste à les lier à une source de données et surtout, faire survivre l'affichage de ces données à un renvoi (postback). Je n'arrête pas de voir dans les forums des développeurs galérer et finalement préférer recharger complètement les données à chaque opération sur le formulaire alors que c'est la plupart du temps inutile. Je soupçonne d'ailleurs fortement que ce problème soit l'une des raisons qui fait penser à beaucoup de développeurs que ce type de composants est difficile à écrire. D'où l'idée de ce document qui va vous donner les techniques nécessaires pour réussir ce qui pour beaucoup ressemble à de la magie."
XPath Tester
Amélioration progressive avec CSS

mardi 17 mars 2009

LinksList 20

Official Google Blog: Make sense of your site: tips for webpage design
100 Great Resources for Design Inspiration
"From galleries of graphic and web design to online magazines and more, here are 100 great resources for design inspiration."
14 jQuery Plugins for Working with Images
Twine
"Collaborate, manage, organize and share information using Twine, a Semantic Web or Web 3.0 service created by Radar Networks." Annoncé comme le remplaçant de Delicious
SharePoint 2007 : Envoyer automatiquement un document dans le Records Center
Using the jQuery JavaScript Library in SharePoint
Using Site Lookup Columns, across sites
un petit rappel sur une possibilité pour accéder à des champs recherche (lookup field) dans des sites différents
[SharePoint] Creer une page aspx avec le code behind pour SharePoint
développer une "petite" page aspx et l'utiliser dans l'environement SharePoint
Silverlight : quelques liens intéressants
tout ce qu'il faut savoir sur SilverLight
Model-View-ViewModel avec WPF
"une méthodologie, appelée MVVM pour Modèle-Vue-VueModèle. MVVM permet de tirer partie des bénéfices de la plateforme WPF tout en conservant une application correctement architecturée, maintenable et testable"
Ah bon! parce que sinon c'est pas le cas ?!
[Microsoft Tag] Présentation 
Microsoft Tag, concrétement
My Little List of jQuery Tips
Boites à outils JQuery
Tendance : les Business Card Websites

vendredi 13 mars 2009

LinksList 19

10 Best Practices For Building SharePoint Solutions
Bonnes pratiques objet en .net : Introduction aux principes SOLID
Menu déroulant animé avec jQuery
Controlling Single Web Parts with CSS
personnaliser un webpart à l'aide des css pour le différencier des autres par exemple
PowerShell: The Free eBook
une précieuse ressource pour PowerShell
PoshBoard v0.4 !
Download details: NP .NET Profiler
Tutorials:Getting Started with jQuery
pour apprendre progressivement les bases de JQuery
Dynamic Table Demo
Tableau javascript pour les tris sur les colonnes 
SharePoint Server Virtual Labs
Gravatar control for Silverlight and WPF
Silverlight Toolkit
"The Silverlight Toolkit is a collection of Silverlight controls, components and utilities made available outside the normal Silverlight release cycle"
Silverlight.FX and Silverlight Store Sample App
Application Silverlight de démonstration et bonnes pratiques de développement
jQuery UI
"jQuery UI is jQuery's user interface library that comes with many widgets, interaction modules and themes."
OpenWith.org
"Have a file you don't know how to open? Think you need an expensive piece of software to open it? Chances are there is a great free program that's just as good as the expensive one, and you'll find it here"

jeudi 5 mars 2009

fichier .bat et traitement sur la date du jour

Code à inclure dans un fichier .bat pour effectuer un traitement sur la date du jour.
Changer le format (en rouge), actuellement AAAA-MM-DD

@echo off

  echo. | date | FIND "(mm" > NUL
  If errorlevel 1,(call :Parsedate DD MM) Else,(call :Parsedate MM DD)
  goto :EOF
 :Parsedate ----------------------------------------------------------
  For /F "tokens=1-4 delims=/.- " %%A in ('date /T') do if %%D!==! (
     set %1=%%A&set %2=%%B&set YYYY=%%C
   ) else (
     set DOW=%%A&set %1=%%B&set %2=%%C&set YYYY=%%D)

(Set DateStamp=%YYYY%-%MM%-%DD%)

lundi 2 mars 2009

Requêtes LogParser

LogParser permet le requêtage de fichiers de logs (sous diverses formes) au moyen d'un langage de requetage type SQL.
L'utilisation est souple (encore faut il trouver la bonne requête ;)) et idéal pour analyser les logs IIS

quelques exemples :

Connexion en fonction d'un date (format CSV)
logparser -i:IISW3C -o:CSV "select time,c-ip INTO "C:\ConnexionDate.txt" FROM C:\WINDOWS\system32\LogFilesch\{Nom du fiier log IIS}\*.log where date = '{La date souhaitée}' GROUP BY time,c-ip ORDER BY time DESC"
Le top 20 des urls (format Graphique)
logparser "select top 20 cs-uri-stem, count(*) as Hits into C:\Top20Url.gif from C:\WINDOWS\system32\LogFiles\{Nom du fiier log IIS}\*.log group by cs-uri-stem order by Hits DESC" -i:w3c -chartType:barstacked -view:on
Graphique des erreurs (format Graphique)
logparser "select sc-status, count(*) as Hits into C:\ErrorCodes.gif from C:\WINDOWS\system32\LogFiles\{Nom du fichier log IIS}\*.log group by sc-status" -i:w3c -chartType:pieexploded3d -view:on
Top 10 des IP (format Graphique)
logparser "select top 10 c-ip, count(*) as Hits into C:\Top10Ip.gif from C:\WINDOWS\system32\LogFiles\{Nom du fichier log IIS}\*.log group by c-ip order by Hits DESC" -i:w3c -chartType:bar3d -view:on
Pages les plus lentes
logparser "select top 10 cs-uri-stem, time-taken from C:\WINDOWS\system32\LogFiles\{Nom du fichier log IIS}\*.log order by time-taken DESC" -i:w3c


vendredi 27 février 2009

Désactiver DW20.EXE (Reporting d'erreur)

Vous avez ça : dans les propriétés du poste de travail > Avancé > Rapport d'erreurs > désactiver le rapport d'erreurs




"Pour désactiver l'outil Rapport d'erreurs d'application, ajoutez une valeur DWReportee de 1 à clés de Registre suivantes :
HKEY_CURRENT_USER\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW
HKEY_CURRENT_USER\Software\Microsoft\PCHealth\ErrorReporting\DW
HKEY_LOCAL_MACHINE\Software\Microsoft\PCHealth\ErrorReporting\DW"

LinksList 18

JALUM Framework
Framework regroupant plusieurs fonctionnalités (cache, configuration,Logging, globalisation, Cryptographie, images en base de données, gestion sécurisée des urls et cookies)
WikiDeveloppez
le Wiki de Developpez.com
[SharePoint] How large can my content databases be
Calcul de la taille de la base de données de contenu Sharepoint
(Site Quota) x (Number of Site per Database) x (% of 2nd Stage Recycle Bin) = Maximum 
Efficient way to add a new item to a SharePoint list
un bonne astuce pour ajouter un SPListItem de manière efficace
StumbleUpon
Un site pour découvrir de nouvelles sources d'information ? A rapprocher de SuggestRss
Caliburn: An Application Framework for WPF and Silverlight
"Designed to aid in the development of WPF and Silverlight applications, Caliburn implements a variety of UI patterns for solving real-world problems. Patterns that are enabled by the framework include MVC, MVP, Presentation Model (MVVM), Commands and Application Controller. " à suivre

mercredi 25 février 2009

LinksList 16

SharePoint Content Deployment Wizard
Integrating External Document Repositories with SharePoint Server 2007
Personnalisation des profils utilisateurs de MOSS
A Quicker Way to Create Custom SharePoint List Templates
Debug Diagnostic Tool v1.1
outil pour diagnostiquer les problèmes dans IIS (fait partie du IIS Diagnostic toolkit)
15 jQuery Plugins to Fix and Beautify Browser Issues
série d'astuces jquery
.NET GoogleReader API
la rencontre des deux mondes (enfin)
Command-line reference A-Z
toujours utile
SpeedWeb
un bon petit site plein d'astuces pour les optimisations windows
Microsoft SharePoint Administration Toolkit v3.0
pour enrichir l'arsenal d'outils de l'administrateur Sharepoint (SPDiag)
ADO.NET Data Services - Building an Excel Client
une série d'articles sur la création d'application d'entreprises avec Office 2007, ASP.NET, WPF
HTTP/1.1: Status Code Definitions
re toujours utile

dimanche 22 février 2009

Optimiser le développement Sharepoint

Règles à observer le développement Sharepoint et ne pas trop subir les IISReset à répétition :
  1. Créer Un pool d'application, contenant une collection, contenant un site où seront testés les développements : le redémarrage en sera largement optimisé
  2. Recycler le pool plutôt que le serveur : 
    cscript.exe c:\windows\system32\iisapp.vbs /a "{Nom du pool}" /r
  3. Pour toutes les modifications au niveau code source, un redéploiement dans le gac suffit :
    gacutil.exe -uf {Nom de  l'assembly}
    gacutil.exe -if {Chemin de l'assembly}

samedi 21 février 2009

Désactiver le prompt de connexion avec le MVP HOST

La protection "MVP HOST" (http://www.mvps.org/winhelp2002/hosts.htm) est très utile mais présente le désavantage d’afficher continuellement la fenêtre de connexion dés lors que IIS est activé sur la machine (ce qui est le cas de beaucoup de développeurs) et que le site en cours figure dans la liste du HOST



Deux solutions simples pour résoudre ce problème :

  1. Arreter IIS : iisreset /stop
  2. Configurer le site web situé sur le port par défaut avec des entêtes d’hôtes :
    - Dans la console d’administration IIS, afficher les propriétés du site
    - Dans l’onglet « Site Web », au niveau « Adresses IP », cliquer sur « Avancé… »
    - Dans « Identités Multiples pour ce site Web », cliquer sur « Ajouter… »


- Ajouter
- Port TCP : 80
- Valeur de l’entête de l’hôte : « localhost »
- Répéter cette opération pour tous les noms concernés (le nom de machine par exemple)
- Supprimer l’entrée vide créée par défaut

jeudi 19 février 2009

Un composant Feuille de données qui est compatible avec Windows SharePoint Services n'est pas installé

"Un composant Feuille de données qui est compatible avec Windows SharePoint Services n'est pas installé.
Votre navigateur Web ne prend en charge les contrôles ActiveX.
La Prise en charge des contrôles ActiveX est désactivée." 

Le problème rencontré survient lorsque l'on souhaite un affichage en mode feuille de données :



Cherchons...

Lorsque l'activation des ActiveX est autorisé, l'ajout du site aux zone "Intranet" ou "de confiance" et que l'on a Office d'installé (au moins 2003), on commence à rechercher le composant incriminé, qui est :
Microsoft Composant Office List Datasheet 
GUID >> {65bcbee4-7728-41a0-97be-14e1cae36aae} 
Librairie >STSLIST.DLL

Ainsi, ce problème peut survenir lorsque différentes versions d'office sont ou ont été installées. 
L'opération consiste alors à :

  1. Modifier l'installation de l'un des deux Offices installés, soit pour le supprimer totalement soit pour modifier les composants installés en supprimant l'option "Prise en charge de Windows Sharepoint Services" dans la liste des composants disponibles



  2. Réparer ou réinstaller l'installation de l'autre office dont on souhaite conserver les composants
En tout cas, pour moi, ça marche! :) 


mercredi 18 février 2009

LinksList 14

Une présentation claire, complète détaillée mais en anglais
recommandations a apprendre par coeur
Familiarisons nous avec Azure
Feature d'administration très utile pour la gestion des listes et des champs (cachés notamment)
Une mine d'information pour la création de portail Ajax avec les dernières technologies Microsoft 
Apprenez à tester la performance des applications de workflow et de déterminer 
la façon d'appliquer les résultats
Graphiques OpenSource Silverlight et wpf

Modifier le contenu du message des alertes envoyées par Sharepoint

Modifier le code CAML dans le fichier C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\XML\alerttemplates.xml

Une documentation est également disponible ici :

Un spécial Sharepoint

Le 06/04/2009
Toujours bon de se rafraichir la mémoire avec ce que permettent ces diffénrets templates
Société spécialisée dans les produits Sharepoint (Reporting, Workflow...)

LinksList 15

vendredi 13 février 2009

...ah oui j'oubliais

un future fonctionnalité du futur Office pour le partage de document, à surveiller tout de même
Synchro Active Directory et Microsoft Online Services
Boite à outils que je pense, a priori sans avoir tester pour le moment, indispensable tellement la description des fonctionnalités répondent à des besoins récurrents
A surveiller de très près si il est passer que l'utilisation de BDC puisse être bidirectionnelle
je t'ai cherché longtemps! si en plus ça me permet d'approfondir PowerShell, c'est parfait!
Rien ne vaut de petits exemples de ce type pour approfondir Linq
bon à savoir quand j'aurais eu le temps d'investiguer JQuery

LinksList du jour

et oui! quelques lignes suffisent : une description de méthode, une code espacé et bien indenté (à mon avis)

à lire attentivement à tête reposée

Un nouvelle façon de gérer les hiérarchies plutôt que par la traditionnelle autojointure (à tête encore plus reposée que celui d'avant)

Pour en savoir un peu plus sur Google Sync

on va programmer nos robots... IA nous voilà hiahhh!! (il fallait la faire :))”

Bon WE++

jeudi 12 février 2009

Sharepoint Disposable

Parce que j'ai encore galéré je sais pas combien de temps à cause d'un SelectedIndexChanged d'une dropdownlist bien caché (grrrrrr)
je joins ici les infos pour instancier/désinstancier correctement les objets SharePoint et répondre aux messages d'erreurs suivants : 

"Trying to use SPWeb object that has been closed.."
"L'objet SPWeb que vous essayez d'utiliser a été fermé ou libéré et n'est plus valide"

Moonlight FriendConnect Azure

Novell annonce la sortie de Silverlight sur Linux : Moonlight
Comment Google permet à votre site web d'être assaisonné "Social" Web2.0 et sans douleurs : 

mercredi 11 février 2009

Sharepoint Autoruns Meier Linq SQL Server Sync TechDays

SHAREPOINT

SharePoint Online : Mise à disposition par Microsoft d'une plateforme Sharepoint en ligne pour les entreprises (prévue pour avril en France)

A lire religieusement, Comme tous les livres blancs de l'équipe Microsoft SharePoint Team Blog

... et remettons une couche avec SPDiag (SharePoint Diagnostics Tool v1.0 for SharePoint Products and Technologies)


SECURITE

Apprendre à utiliser Autoruns


DIVERS

La liste des projets de M J.D. Meier's sur MSDN (si vous savez pas quoi faire dans les cinq prochaines années) : My Projects on MSDN

Pour continuer à se faimliariser avec Linq de la bonne manière : 7 LINQ Tricks to Simplify Your Programs

Un beau diagramme sur les bases systèmes de SQL Serverhttp://blogs.technet.com/patricg/archive/2009/02/02/vues-syst-mes-sql-server-2008.aspx


PROSPECTIVE

Pour la synchronisation de contacts et de calendrier entre différents appreils, les deux géants que sont Google et Microsoft 
commencent à aiguiser leurs applications :
ah oui j'oubliai Apple avec Mobile Me