Using SignalR to power ASP.NET Dashboards

Edit:  This is now part 1 of a series.  This post covers SignalR and how it is used to provide real-time “health” updates to a web page. Part 2 covers how to use the .NET PerformanceCounter class to pull actual status information and forward it to the dashboard.   Lately, I have received a number…

3

Zipping a single file with PowerShell

I recently needed to quickly create a PowerShell script that would create a Zip file from a specified input file.  A quick Bing search found a popular solution on StackOverflow: function ZipFiles( $zipfilename, $sourcedir ){     Add-Type -Assembly System.IO.Compression.FileSystem      $compressionLevel = [System.IO.Compression.CompressionLevel]::Optimal     [System.IO.Compression.ZipFile]::CreateFromDirectory($sourcedir,                                                           $zipfilename,                                                          $compressionLevel,                                                           $false) } Unfortunately, this would not work for me.  This script zips everything in…


Visual Studio 2013 Goodies

Just a quick post to remind everyone that Visual Studio 2013 Update 3 has now been released.  It has too many features to cover in detail here.  However, in addition to a number of fixes, it also allows you to get rid of the ALL CAPS menus.   This: becomes this:   New goodies include better…

5