Archives for Software Dev - Page 48
Using TTFB to distinguish between server side and client side page load issues
Introduction This is just a quick note to highlight a commonly used web testing metric for making an initial determination of where the source of bottleneck(s ) might be. TTFB…
Managing Corporate I.T. Assets
Application Consolidation - Typical Asset Management Questions / Scenarios Overview Application consolidation can save a company hundreds of thousands of dollars annually. And reduce application management costs. And provide ‘enterprise…
Visual Studio Replace multiple lines of code
I had to insert a few lines of code in about 700 different files. However, the insertion had to be in a specific place (just before the start of a…
Finding out your full domain and username on windows
Username From a DOS prompt, type echo %USERNAME% /domain . This should return your username as registered in the current domain. Full Domain Name I can never remember the full…
Troubleshooting nHibernate Performance
Introduction nHibernate is still one of the most popular ORM layers in use today. It provides support for collections, advanced querying, caching, statement batching, automatic change tracking for entities and…
Visual studio does not display .NET 4.0 (or 4.5) framework option for target framework
Introduction Even if you have .NET framework (or above) installed correctly, Visual Studio sometimes does not pick it up. This means that you will be unable to convert any of…
Moving large tables to a different Filegroup
Introduction If you have some tables that are taking over 10% of the table space in SQL Server (see this post for finding large tables), they are candidates for being…
Find Largest Tables in your SQL Server database
Introduction This script uses a temp table to store the results of the query. It sorts the results in descending order – showing the largest tables on top. CREATE TABLE…
Using Delegates in C#
Introduction Delegates encapsulate a method. All they do is provide an alternate way to call (‘invoke’) a method. This concept has been around for a while (function pointers in C…
How much memory does Windows Server 2008 R2 use?
The maximum capacities for 32 bit and 64 bit Server OSes is listed below: Maximum (32-bit systems): 4 GB (for Windows Server 2008 Standard) or 64 GB (for Windows Server…