Documentation & Samples

MarkLFT

Posted on
Apr 24 2013

Following the email I received regarding a RayGun trial, I decided to give it a try. But I have to say my initial impressions are not so good.

I used NuGet to install the RayGun4Net libraries. All seemed to install correctly. I then tried to use it. This is where the problems began. I had severe problems looking for any form of help guide or documentation. So it was a bit of trial and error.

I was keen to implement the CustomData option as demonstrated in the snippet of code on this website, but the code just threw errors, and again no documentation to look up what I was doing wrong.

Finally, having given up on the CustomData, I tried to build my project. But this failed as the RayGun4Net does not have a strong name.

At this point I decided it was better to stick with my existing logging methods.

I would add, I have been a user of Mindscape products especially LightSpeed for a number of years and found the product and support to be exceptional. I truly hope that one day soon RayGun will aspire to the same level. But I fear it is not there yet.

Thanks

Mark Townsend


jeremy

Raygun

Posted on
Apr 26 2013

Hi Mark,

In terms of sending custom data, you will need to use the overload on RaygunClient.Send which takes 4 arguments:

Send(Exception exception, IList<String> tags, IDictionary customData, string version)


Ordinarily you will be dealing with a dictionary of string,string (key value pairs). Let us know if you do go back to looking at this and continue to have any errors with some more details about what the problem you were hitting was as it would be good to get this sorted out.

If you need the RaygunClient to be strong named you can grab the source from the Github repository and then compile this with a self generated key (or an existing key if you have one). At this stage we dont intend to strong name the binaries that are part of the NuGet package.

Thanks for the feedback on the docs - its something we are definitely aware of and are looking to get improved in the future :)


Jeremy


Reply