Archives for Software Dev - Page 50
IIS, ASP.NET and WCF Performance counters during a stress test (load test)
Introduction So, you are ready to run your load test (read this post first if you are new to load testing). You have a handle on the ‘big picture’ metrics…
Source file ‘\Properties\AssemblyInfo.cs’ could not be opened (‘Unspecified error ‘)
Introduction You’ve just downloaded a project (from either codeproject or github or some other repository) – and opened it up in your current version of Visual Studio. On trying to…
Decompiling external source code–Visual Studio
Introduction There are occasions where one needs to step into 3rd party source code – just to get an idea of what may be going on within their own application…
The located assembly’s manifest definition does not match the assembly reference
Introduction This is more of a maintenance issue than anything else. Often, you end up referencing open source / 3rd party assemblies – that need to be upgraded to newer…
Remote Monitoring of Performance Counters
Introduction Say you are about to run a stress test against your production server – and would like to observe various performance counters while the test runs. You would like…
Figuring out CPU usage on dual core (dual/quad core) systems
Introduction All I wanted to do was see how much CPU was being used by my simple program ( an infinite loop). This used to be a matter of writing…
Is SQL Server’s locking overly pessimistic (and what to do about it)?
Introduction For a while now, the production database that is part of my current project, has been throwing SQL Server deadlock exceptions. Deadlocks are usually caused by resource contention –…
Recycling Application Pools in IIS (why it is NOT a best practice)
Introduction Microsoft said – ‘Please recycle every 29 hours’ – and without giving it another thought, we all blindly did ; I never gave this ‘default IIS behavior’ any thought…
The ‘params’ keyword in c#
Introduction I was confused by the appearance of ‘params’ in the signature of a method (see example snippet below). It seemed redundant – even if I removed it, the method…