Rory Primrose

I don't have a solution but I admire the problem

Recent Posts

Tags

Community

Email Notifications

Archives

Browse by Tags

All Tags » .Net (RSS)
Visual Studio Tip: Escape without fear
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...
Posted: Aug 27 2008, 01:07 PM by Rory Primrose | with no comments
Filed under:
Red Gate picks up Reflector
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...
Trojan in VS2008 SP1?
Hmmm, not sure about this one. I was installing VS2008 SP1 this morning and this came up. Updated: Microsoft have responded here .
Posted: Aug 15 2008, 09:53 AM by Rory Primrose | with no comments
Filed under:
Things to look at when tracing does not output data
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...
Posted: Aug 14 2008, 03:45 PM by Rory Primrose | with no comments
Filed under:
Iterators and the yield statement
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...
Thread identity propagation
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...
Posted: Aug 12 2008, 11:30 AM by Rory Primrose | with no comments
Filed under:
AOP in .NET
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...
Visual Studio Addin - No such interface supported
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...
Neovolve ReSharper Plugins 1.0 released
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...
Reflection Pop Quiz - Does interface inheritance exist?
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...
Posted: Jul 03 2008, 02:43 PM by Rory Primrose | with no comments
Filed under:
Changing TFS changeset comments
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...
Posted: Jul 03 2008, 09:53 AM by Rory Primrose | with no comments
Filed under: ,
foreach vs for
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...
Posted: Jul 02 2008, 10:31 AM by Rory Primrose | with no comments
Filed under:
Installing WiX 3.0 - Votive on Vista x64
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...
Posted: Jun 27 2008, 11:36 AM by Rory Primrose | with no comments
Filed under: ,
Readonly is in the eye of the beholder
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...
Posted: Jun 26 2008, 11:11 AM by Rory Primrose | with 2 comment(s)
Filed under:
Load tests don't like code coverage
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...
Posted: Jun 02 2008, 04:13 PM by Rory Primrose | with 2 comment(s)
Filed under:
More Posts Next page »