Collections

If you ever find yourself in need of a data structure that is not present in the .NET Framework you should check out these free collections that contain C# implementations of trees, heaps and many other data structures:

  • The C5 Generic Collection Library for C# and CLI is a library of generic collection classes for C# and other CLI languages (.Net 2.0 and later, and Mono 1.2 and later). There is a freely downloadable book about C5.
  • Wintellect’s Power Collections for .NET: The goal of the project is to provide generic collection classes that are not available in the .NET framework. Some of the collections included are the Deque, MultiDictionary, Bag, OrderedBag, OrderedDictionary, Set, OrderedSet, and OrderedMultiDictionary.

Performance Analysis of Logs (PAL) Tool

OK, you have a server with a suspected performance problem. What do you do? You collect performance counters, right? But which ones? And what do you do to make sense of the reams of data once collected?

The free PAL (Performance Analysis of Logs) application hosted on Codeplex is an easy to use tool that collects and reads in a performance counter log and analyzes it using known thresholds (provided). The tool generates an HTML based report which graphically charts important performance counters and highlights alerts when thresholds are exceeded. The thresholds were originally defined by the Microsoft product teams and members of Microsoft support, but continue to be expanded by this ongoing project. It currently contains threshold files for IIS, MOSS, SQL Server, BizTalk, Exchange, and Active Directory.

This tool is not a replacement for traditional performance analysis, but it automates the analysis of performance counter logs enough to save you time and narrow your search. Written and maintained by Clint Huffman, the PAL tool has been around for some time but it’s not as well known as it should be, given how useful and easy it is to use.

If you want to have a look at a sample report, download and install PAL and then click this link.

Prerequisites
The optional GUI portion of PAL requires the Microsoft .NET Framework v2.0. PAL uses the Log Parser tool to query performance counter logs, and requires the Office Web Components 2003 in order to create charts. Both are freely downloadable.

[This MSDN page gives a detailed description of all the performance counters used when monitoring BizTalk.]

SQL Server 2008 Express Edition

Did you know that the free SQL Server 2008 Express with Advanced Services can run SQL Server Reporting Services reports on data on the local instance? You can use all the report definition features that you find in other editions of Reporting Services. For example, you can create drill-through reports, sub-reports, and parameterized reports that include charts, tables, matrices, and lists.

There are a few differences when compared to the full version of Reporting Services:

  • All server components must be installed on a single server. You cannot use a remote server for the report server database.
  • All report data sources must be from SQL Server databases that are installed on the local SQL Server instance.
  • All reports are processed on demand. Scheduled and unattended report processing is not supported.
  • Data source connection strings and Reporting Services URLs have different default values in a SQL Server Express installation. SQL Server Express always installs as a named instance. Any URLs or connection strings must include the instance name.
  • It’s free!

Whereas SQL Server 2005 Express Edition had a downloadable Toolkit containing Business Intelligence Development Studio (BIDS), which was required for creating reports for SQL Server Reporting Services, SQL Server Express 2008 with Advanced Services contains BIDS as part of its install. (Note: The Feb 2009 version of Books Online still states that it is a separate install). For more information, see the section “Reporting Services in SQL Server Express with Advanced Services” in Books Online.

The official SQL Server Express installation guide is here. The pre-requisite list is here: Hardware and Software Requirements for Installing SQL Server 2008

For ongoing SQL Express announcements, check out the SQL Express blog.

If you only have the vanilla version of SQL Express installed, there is also an express version of SQL Server Management Studio available for download.

Reminder: Perth UG Meeting Thurs March 5th, 5:30pm – 7pm: Real World TDD with Rhys Campbell

TOPIC: Real World TDD with Rhys Campbell
DATE: Thursday, March 5th, 5:30pm
VENUE: Excom, Ground Floor, 23 Barrack Street, Perth
COST: Free. All welcome

Join us at the Perth .NET Community of Practice, to hear Rhys Campbell present on the essentials of TDD and how it encourages good software design as opposed to just having tests. Rhys will cover the differences between unit, acceptance and integration tests, why conventional unit test examples often do not work in the real world, what to test and what to mock, automating your tests, coding examples of how to use Mocks, Stubs, Fakes, Dummies and Spies… what are they and how do they help me.

Tech SummerFest Roadshow

The Tech SummerFest roadshow is coming to Perth, the week of 20th April.

What is it?

It’s a mini-TechEd type event, jointly sponsored by Portal Synergy, Wardy IT Solutions, AB Training and Microsoft. It includes a Technology Showcase and three concurrent tracks of training in current and upcoming Microsoft technologies. Here is the week’s schedule. This event is being run by Anthony Borton, Peter Ward, Richard Angus, Dave Glover and Andrew Coates.

I have a free ticket to the Technology Showcase day (Monday, 20th April) to giveaway at Thursday’s User Group meeting, courtesy of the organizers.

Online Book Orders

I just received a reply to a query I sent to the (Australian) Angus & Robertson online bookstore. Part of the (very quick) response that was unrelated to my query was quite surprising:

“Angus & Robertson is currently in the process of developing a completely new
website. The refreshed Angus & Robertson website will be available in April.
During the transition to the new website, customers will not be able
to purchase items via the Angus & Robertson website
.” [my emphasis]

That seems really crazy to me. If losing 5+ weeks worth of online sales was not enough, what happens if their new web site project overruns? They lose more sales! I can only assume they don’t currently sell many books online…