Browse by Tags
All Tags »
.Net (
RSS)
I read the Visual Studio Tip: Disable F1! post a few weeks ago and was very tempted to take the advice to remove the F1 keyboard mapping in Visual Studio . I kept it because sometimes I do actually want to open help. The problem is I keep missing ESC...
Read the 'official' interview here . I really don't know what to think about this. I definitely don't like the phrase "free for download" because it can be very misleading. James Moore has been more explicit in other posts by saying that existing functionality...
Hmmm, not sure about this one. I was installing VS2008 SP1 this morning and this came up. Updated: Microsoft have responded here .
There are several issues that can prevent trace data being written. Here are a few of that you might encounter. TraceSource names If using TraceSource , the name provided to the TraceSource constructor is case sensitive. If the string doesn't match your...
The yield statement is one of those C# statements that is really powerful but is either not understood or is unknown to most developers. Raymond Chen just posted a very good write up on how the compiler deals with the yield statement. The Old New Thing...
I have been writing up some instrumentation documentation where I have been explaining the use of TraceFilter implementations. I gave an example of creating a TraceFilter that filters trace events from the TraceListener based on the identity of the executing...
A few months ago I did some research into dependency injection frameworks. One of the interesting features provided by many of the DI frameworks was the support for AOP . This is really interesting stuff and great for injecting logging and caching implementations...
I'm working on a new Visual Studio addin that launches a profiling application that in turn runs unit and load tests. I can't recall how I created the project, but it must not have been by using the addin wizard. When I debugged the addin in another instance...
I have just released the ReSharper Plugins 1.0 in my NeovolveX extensibility project on CodePlex . This plugin formats code as part of the ReSharper code format profiles. The following is a copy of the Using ReSharper Plugins 1.0 documentation on the...
I've written some code that reflections MethodInfo objects from a type using its name and signature. This has been working well and all unit tests have passed, until now. Consider the following code: internal interface IBaseInterface { void GetSomething...
I had a bit of a slipup yesterday. I had a set of changes that I was relating to two different work items. I realised that I really should split up the check-in into two check-ins so that the code files are better related to their work items. What I didn...
I've just hit the foreach code coverage issue again in one of my unit tests (see my Code coverage doesn't like foreach loops post). To ensure that my tests were correctly covering all possibilities, I had to change the foreach loop into a for loop and...
Here's a tip for young players. You may find that getting the latest WiX 3.0 beta from here gives you an error saying that you need to have a version of Visual Studio installed that is above the Express edition. I have Team Suite installed, so it should...
One of my most used feature in the 3.5 compiler for .Net is automatic properties. In case you are not familiar, here is a recap. Traditionally, properties work with a backing field. For example: private String _someValue; public String SomeValue { get...
I have been pulling my hair out this afternoon trying to figure out why my code is performing so badly in a load test. After playing with the code and running a lot of tests, I didn't have any answers until I looked at my testrunconfig file. Code coverage...
More Posts
Next page »