Using SignalR to power ASP.NET Dashboards, Part 2

In a previous post, I covered how you can use SignalR to provide real-time communications between a Windows application and a Web page. The idea is that the Windows application could collect different kinds of system health information and provide it to the Web page, which serves as a dashboard. I provided online demos and…


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

Get the name of the current property or method

I often need to obtain the name of the current property of method, and I have historically used reflection for this.  However, I recently ran across the CallerMemberName attribute. This lead me to create the following utility function: Public Shared Function GetMethodOrPropertyName( <CallerMemberName> Optional memberName As String = Nothing)  As String     Return memberName End Function The key here is that I do not specify the memberName parameter when…


Support timelines for SQL Server, .NET Framework, Visual Studio, Team Foundation Server and Windows

Microsoft maintains a database of all supported products, along with the dates when those products’ various support stages end.  Anyone can search the database for a specific product, but that can be time-consuming when data for more than one product is needed.  I have therefore been maintaining a list of important dates and relevant information about several products…


Connection-Pooling vs. Reusing one connection

I recently had a conversation about .NET connection pooling, and how this compares to reusing a single open connection.  I have always “known” that connection pooling helps, but that it isn’t as efficient as reusing the connection.  Since I couldn’t provide proof of my belief, I decided to write a test.  I decided to execute…


The data provider required to connect to the local data file cannot be found

I’ve been trying to get SQL Compact 3.5 working in Visual Studio 2008.  Since SQL Compact 3.5 ships with Visual Studio 2008, I thought that this wouldn’t be a problem.  All I needed to do was to create a new Windows Forms project and add a Local Database item.  Sadly, this didn’t work.  After added…

1

Web Part Connections in WSS 3.0 (Part 4)

In part 1 of this series, I showed how to make one web part accept data from another.  In part 2, I showed that this can be extended so that one web part can provide data for many.  In part 3, which I thought was going to be the last part, I showed how a single…

2

Virus Scanners and ASP.NET apps don’t always mix

In a previous post, I talked about Alternate Data Streams and how some virus-scanning engines use them for tracking purposes.  When this happens, the file is changed.  It doesn’t matter that the “real” data hasn’t changed.  The system still knows that a change has occurred.  When this happens to a file inside an ASP.NET web site, this…

1

Web Part Connections in WSS 3.0 (Part 3)

In part 1 of this series, I showed how to make one web part accept data from another.  In part 2, I showed that this can be extended so that one web part can provide data for many.  Now, in this final post of the series, I’ll show how a single web part can accept…

11

Web Part Connections in WSS 3.0 (Part 2)

In part 1 of this series, I showed how to make one web part accept data from another.  In this part, I’ll show how one web part can send data to two different web parts.  Let’s add another web part.  We already have a web part that allows the user to select the number of…

3