[MSFT] Tester vos applications web avec les différentes versions d’Internet Explorer

21 09 2009

Pas toujours facile de se rendre compte du rendu d’une application web dans les différents navigateurs et leurs versions. Entre IE 6, IE7 et IE8, les comportements sont bien souvent fondamentalement différents. Ajoutons à cela la plateforme système, tels que XP, Vista ou encore Windows 7 aujourd’hui. Cela donne des résultats quelques fois inattendus.

C’est pourquoi Microsoft vient de mettre à disposition des images virtuelles basé sur diverses versions de ces systèmes et diverses versions de son navigateur, afin de permettre au développeur de pouvoir tester leurs applications web sur cette différente plateforme.

Cela comporte :

  • IE6-XPSP3. Expires January 1, 2010
  • IE7-XPSP3. Expires January 1, 2010
  • IE8-XPSP3. Expires January 1, 2010
  • IE7-VISTA. Expires 120 days after first run
  • IE8-VISTA. Expires 120 days after first run

L’ensemble de ces vhd est disponible sur le download Microsoft:

VHD Internet Explorer – XP – Vista

Il existe une d’autres solutions possible, afin de tester vos applications Web, notamment:

Expression Web SuperPreview

Expression Web Superpreview permet de tester visuellement et de simplifier les processus et les problémes potentiels de mise en page dans les différents navigateur. il est possible de visualiser vos pages dans de multiple navigateurs simultanémént. De voir le rendu de vos pages et le comparer sur les différentes versions.

EWSP

Expression Web SuperPreview

Bookmark and Share





[PowerShell] Integration de Microsoft Chart Controls for Microsoft .Net 3.5

8 09 2009

Comment faire de beau graphique dans PowerShell simplement! Microsoft offre un kit qui fournit des controles pour pouvoir créer des graphiques dynamiques dans vos projets Visual Studio… Alors pourquoi ne pas les utiliser avec PowerShell.

Installer les Microsoft Chart Control for .Net 3.5

Une fois installer, déclarez les librairies de Microsoft Chart Controls et lancez-vous dans le code!

##################################################################
#                  NECESSITE L’INSTALLATION DE MICROSOFT CHART CONTROL                                              
#                              FOR MICROSOFT .NET 3.5                                     
#
http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en                                                                                                                           # ################################################################

##################################################################
#                   Chargement des Assembly                                                 
#——————————————————————————————-#
[void][Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")                   
[void][Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms.DataVisualization") 
##################################################################

##################################################################
#                        Création de l’objet Graphique                                     
#——————————————————————————————-
$MyChart = New-object System.Windows.Forms.DataVisualization.Charting.Chart                 
$MyChart.Width = 500                                                                        
$MyChart.Height = 500                                                                       
$MyChart.Left = 40                                                                          
$MyChart.Top = 30                                                                           
##################################################################

##################################################################
#               Creation de la zone du graphique dans le graphique                         
#——————————————————————————————-#
$GraphZone = New-Object System.Windows.Forms.DataVisualization.Charting.ChartArea           
$GraphZone.Area3DStyle.Enable3D="True"                                                      
$MyChart.ChartAreas.Add($GraphZone)                                                         
##################################################################

##################################################################
#                   Récupération des données du graphique                                        
#                                                                                                
#                    La taille des sous-dossiers                                                 
#————————————————————————————————
$MyFolders = Get-ChildItem -Path C:\Powershell|Where-Object{$_.psIsContainer -eq $True}          
$Size = @{}                                                                                                                                                              
foreach($folder in $MyFolders)                                                                   
{                                                                                                
$colItems = (Get-ChildItem -Path $folder.FullName -Recurse|Measure-Object -property length -sum) 
$Mykeys = $folder.Name                                                                           
$MyKeys += "\n" +$folder.CreationTime                                                            
$MyValue += " (" +"{0:N2}" -f ($colItems.sum/1Mb)+’ Mb)’                                         
$Size += @{$MyKeys="{0:N3}" -f ($colItems.sum/1Mb)}                                                                                                                                            }                                                                                                
##################################################################

#########################################################################                 Ajout des données du graphique                                                 
#————————————————————————————————#
[void]$MyChart.Series.Add("Data")
$MyChart.Series["Data"].Points.DataBindXY($Size.Keys, $Size.Values)

########################################################################
#                Ajout Titre et Labels
#————————————————————————————————-
[void]$MyChart.Titles.Add("Size of folders")
$GraphZone.AxisX.Title = "Folder"
$GraphZone.AxisY.Title = "Size of Folder (Mb)"

########################################################################
#              Changement de la couleur de la zone de texte                                      #
#————————————————————————————————-
$MyChart.BackColor = [System.Drawing.Color]::White
# Valeur possible pour BackColor: Une couleur au choix
#
$MyChart.Palette = [System.Windows.Forms.DataVisualization.Charting.ChartColorPalette]::EarthTones
#
# Valeur possible pour Palette:
# None,Bright,Grayscale,Excel,Light,Pastel,EarthTones,SemiTransparent,Berry,Chocolate
# Fire, SeaGreen, BrightPastel
#
########################################################################
#              le data Chart                                          
#————————————————————————————————-
$MyChart.Series["Data"]["DrawingStyle"] = "Cylinder"
$MyChart.Series["Data"].Sort([System.Windows.Forms.DataVisualization.Charting.PointSortOrder]::Ascending, "Y")
$MyChart.Series["Data"].ChartType = [System.Windows.Forms.DataVisualization.Charting.SeriesChartType]::Bar

#Options de SeriesChartType
# Point, FastPoint, Bubble, Line, Spline, StepLine, FastLine, Bar, StackedBar, StackedBar100, Column,
# StackedColumn, StackedColumn100,Area, SplineArea, StackedArea, StackedArea100, Pie, Doughnut, Stock,
# Candlestick, Range, SplineRange, RangeBar, RangeColumn, Radar,Polar, ErrorBar, BoxPlot, Renko,
# ThreeLineBreak, Kagi, PointAndFigure, Funnel, Pyramid
########################################################################

########################################################################
#                            Affiche le graphique dans la Windows Form                           
#————————————————————————————————
$MyChart.Anchor = [System.Windows.Forms.AnchorStyles]::Bottom -bor [System.Windows.Forms.AnchorStyles]::Right

-bor [System.Windows.Forms.AnchorStyles]::Top -bor [System.Windows.Forms.AnchorStyles]::Left
$Form = New-Object Windows.Forms.Form
$Form.Text = "Graphique PowerShell – Microsoft Chart Control"
$Form.Width = 600
$Form.Height = 600
$Form.controls.add($MyChart)
$Form.Add_Shown({$Form.Activate()})
$Form.ShowDialog()
########################################################################

Le résultat en image….

MicrosoftChartControl

Bookmark and Share





[SharePoint] Virtualisaton? Candidat possible….

3 09 2009

Post extrait du blog de la Team SharePoint.

Virtualization continues to be a hot topic with many customers recognizing the benefits of virtualizing SharePoint including reduced server hardware costs, power and space savings, improved server utilization and rapid server provisioning.  Additionally, by choosing MS Virtualization (hyper-v + System Center) customers  benefit from a lower cost solution (both up front and ongoing) that is already part of Windows Server and an integrated end to end management solution for both physical and virtual environments.  While the SharePoint team recommends MS Virtualization as the best choice for their customers, regardless of the hypervisor being used customers should consider specific deployment scenarios to determine whether they should virtualize or not (we have found that most customers find that a mixed physical/virtual environment is optimal).  For example, both the Web and Application roles are ideal candidates for virtualizing SharePoint allowing customer to easily provision additional servers for load balancing and fault tolerance (web role) and individual application use to adjust to resource requirements.  Other scenarios such as Production SharePoint farm with large Database and Index roles or Dedicated Index and Query role within a Sharepoint farm for high utilization should remain physical.  Detailed MS recommendations can be found here

For more information on virtualizing SharePoint  and other Microsoft server applications please visit :

http://www.microsoft.com/virtualization/solutions/business-critical-applications/default.mspx

Also check out the latest MS virtualization blog here.

Technorati Tags: ,,,