Checking MSMQ message queue count with C#

I noticed the other day a team member was having exceptions being thrown every second when idle in a service.  Digging deeper it was revealed that the MSMQ Distributor has some code that peeks into a queue to determine if to process messages in the Enterprise Library logging framework.  I devised I think a better…


How to build a Virtual Image with just a Win 2k8 setup disk ISO

I don’t have to do this often but when I do I occasionally forget the steps.  For those wanting to create a new virtual disk in VPC, Windows Virtualization, etc here are some steps that may help: Create a new virtual hard disk Capture the setup disk ISO file Start the VPC On the screen,…


Online Help with Download Content Fails on Visual Studio 2010

If you first choose online help then go into Help -> Manage Help Settings, then choose Install Content from online you may get an exception message.  This may be due to your intranet or desktop requiring a proxy configuration.  The application being launched is the HelpLibManager.   You can change the config file to enable and fix the…


Helpful Links to Extra Tools and Features for Visual Studio 2010

Visual Studio 2010 Ultimate Current Version: 10.0.30319.1 (RTM) .Net 4.0 Current: 4.0.30319 (RTM) General Visual Studio Downloads Pagehttp://msdn.microsoft.com/en-us/vstudio/bb984878.aspx Visual Studio Feature Packshttp://msdn.microsoft.com/en-us/vstudio/ff655021.aspx Visual Studio 2010 SDKhttp://www.microsoft.com/downloads/details.aspx?FamilyID=47305cf4-2bea-43c0-91cd-1b853602dcc5&displaylang=en Visual Studio 2010 Power Toolshttp://msdn.microsoft.com/en-us/vstudio/bb980963.aspx General Visual Studio Shipped Software Updates (none yet for VS 2010)http://msdn.microsoft.com/en-us/vstudio/aa718693.aspx Visual Studio ALM Rangers (I am a member!) Site for out of band…


Executing logic between PreRender and PreRenderComplete Asyncronously

Most of you are familar with the PageAsyncTask class (http://msdn.microsoft.com/en-us/library/system.web.ui.pageasynctask.aspx).  I ran across a scenario that I call the “decision task” and created a “chain pattern” architecture. Scenario There is a “controller” custom control that registers an PageAsyncTask that needs information from all the prerender events of all other controls on the page.   This “controller”…


VS2010 Guidance now published!

After a long journey, the work I did along with others has finally paid off.   The VS2010 Guidance is now available on codeplex.  I worked on the developer (database) portions.  I hope everyone enjoys the hard work. Reference: http://vs2010quickref.codeplex.com/


Fewer smaller .Net DLLs vs less large DLLs

Generally speaking it is better to have less large DLLs versus many smaller DLLs for the following reasons: Hard Disk time:  Loading 100 dlls will almost always take longer than a single large DLL.   DLLs are physically scattered across the disk.  Latency etc come into play on the initial load times. Memory Usage: A single…

1

Visual Studio and .Net Tutorials and Training Videos

A friend asked about some sites to learn about Visual Studio and programming.   There is a lot of great free resources out there.   I created an article with a starting list to help.  Feel free to comment and suggest the “best” free sites out there. Visual Studio and .Net Tutorials and Training Videos


Visual Studio Tutorials and Training Videos

A friend asked about some sites to learn about Visual Studio and programming.   There is a lot of great free resources out there.   Here is a starting list to help.  Feel free to comment and suggest the “best” free sites out there. Microsoft Official Visual C# Developer Center http://msdn.microsoft.com/en-us/vcsharp/aa336766.aspx  Microsoft Official ASP.Net Tutorials: http://www.asp.net/learn Microsoft Offical .Net…


Steps to add Developer Tools to Send To folder

Steps to add programs to Send to folder Navigate to your SendTo folder (Windows XP location is C:\Documents and Settings\{user}\SendTo and just replace {user} with your login user name) Right click select New/Shortcut to add a shortcut Type in the location of the program to send the file to then click Next Notepad is “%windir%\notepad.exe”…