Timing out a request to start a process… [Fernando Vicaria]

This is another post to quickly cover an question that I saw recently on one of our usergroups… How do we create a process and “wait” for it begin running for a finite amount of time and if the process is not up and running until then timeout the request? I used the word wait in quotes…


Performance tips for using resources [David Gutierrez]

The most expensive parts of reading resources are probing for satellite assemblies and deserializing objects.  The more you can avoid having the ResourceManager do either of those two tasks, the faster your resource reads will be.  In this post I’ll cover how to reduce assembly probing, and the first thing you can do is use…


Job Available on the CLR Documentation Team!

We get a lot of suggestions on how to improve our documentation. it’s certainly an area we take seriously, and plan on investing a lot of time and effort in in the upcoming releases of the .NET Framework. There’s an opportunity to be a part of this team, and work directly with the CLR product…


Pseudo-processes… [Fernando Vicaria]

The .NET Framework Process class let’s you access various aspects (or properties) of a system process. Among these properties are things like the process id (or pid), the process name and the modules (.dll or .exe) it loads.  This blog entry, my first as a member of the BCL Team, will briefly talk about some special processes…


How long will it wait? [Fernando Vicaria]

This posting will touch once again the Process class and the WaitForInputIdle method. This method contains 2 overloads, one that takes no parameters and another one that will take an int as its single parameter. The confusion will start exactly here with what these two overloads do differently. The first one will wait indefinitely for the process…


Using CodeDom’s CodeEntryPointMethod [David Gutierrez]

For anyone wanting to generate an entry point using CodeDom, there’s a type called CodeEntryPointMethod.  In VB, it generates the familiar Public Shared Sub Main().  However, CodeEntryPointMethod is limited in that most providers do not support setting a return type or defining function parameters.  That means your app can’t have a return value.  It also…


Whats the diff? [Ari Weinstein]

Over the past couple of weeks, there have been a number of questions as to the best practices in coding.  A couple of question in this area were related to casting and aliases. One example of casting questions that have come in is which is better: double x = (double) 5; or double x =…


A Tracing Primer – Part II (C) [Mike Rousos]

In my introduction to tracing (http://blogs.msdn.com/bclteam/archive/2005/03/15/396431.aspx), I outlined the basics of how to use TraceSources, TraceListeners, and SourceSwitches to trace the flow of an application. I also covered how to configure Whidbey tracing with a configuration file. In this series of three follow-up articles, I plan to discuss the use of TraceFilters, custom listeners, and…


A Tracing Primer – Part II (B) [Mike Rousos]

In my introduction to tracing (http://blogs.msdn.com/bclteam/archive/2005/03/15/396431.aspx), I outlined the basics of how to use TraceSources, TraceListeners, and SourceSwitches to trace the flow of an application. I also covered how to configure Whidbey tracing with a configuration file. In this series of three follow-up articles, I plan to discuss the use of TraceFilters, custom listeners, and…


A Tracing Primer – Part II (A) [Mike Rousos]

In my introduction to tracing (http://blogs.msdn.com/bclteam/archive/2005/03/15/396431.aspx), I outlined the basics of how to use TraceSources, TraceListeners, and SourceSwitches to trace the flow of an application. I also covered how to configure Whidbey tracing with a configuration file. In this series of three follow-up articles, I plan to discuss the use of TraceFilters, custom listeners, and…