Silverlight

MiddleTommy

Posted on
Mar 02 2016

I have an old Silverlight application that I am trying to retire. But in the meantime I have some errors that keep happening and are only in production. Any suggestions how I could get those errors in Raygun?


Jason Fauchelle

Raygun

Posted on
Mar 02 2016

Hi,

We don't provide a Silverlight provider for Raygun, but you will be able to build one. All the source code for our Raygun4Net provider is available here which is a great place to start: https://github.com/MindscapeHQ/raygun4net/tree/master/Mindscape.Raygun4Net

Create a new Silverlight library project, and copy in the files from Raygun4Net. Then work on removing or changing things until it compiles. We have not done this ourselves, but a couple of our customers have gotten this to work in the past. Raygun4Net has been updated a lot since then, so do let me know if you run into trouble or have any questions about building this and I'll help you out.

Here is the API documentation in case you need it: https://raygun.io/docs/integrations/api

-Jason Fauchelle


MiddleTommy

Posted on
Mar 03 2016

I think for now I would rather just send my error to my server and manually create a raygun message. Is there a way to manually create a message from text data?


Jason Fauchelle

Raygun

Posted on
Mar 03 2016

Hi,

Do you mean to send the Silverlight errors to Raygun from your server? With Raygun4Net, you could create a RaygunMessage object based on the text, and then use one of the RaygunClient.Send method overloads to send the RaygunMessage object. Or you could send messages manually based on the API documentation.

Let me know if I've misunderstood you or if you have further questions.

-Jason Fauchelle


MiddleTommy

Posted on
Mar 03 2016

Thanks I will look into RaygunMessage


Reply