Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Make SharpRaven less System.Web hosting oriented #71

Closed
GeirGrusom opened this issue Jun 19, 2015 · 4 comments
Closed

Make SharpRaven less System.Web hosting oriented #71

GeirGrusom opened this issue Jun 19, 2015 · 4 comments

Comments

@GeirGrusom
Copy link

We are using Sentry for both server side and client side logging, but currently it is very much designed around System.Web from a hosting perspective.

It would be desirable to be able to specify username, device name and general request info both as client and specific request data rather than it always being automatically fetched.

Our use case is that we have servers servicing requests, which doesn't necessarily use System.Web but is instead a native code Mongoose web server. The .NET code is invoked as services running on that server, but there is no HttpContext available.

We also have client devices written using Xamarin, and they have a user id (which is the users authentication name), a device id (reported by the operating system) and a device name (given by the user in order to easily identify the device and where it belongs).

Currently we post this data as additional data, but this currently limits sentry's usefulness to us.

@asbjornu
Copy link
Contributor

asbjornu commented Aug 3, 2015

I completely agree and would welcome and merge any pull request that fixes the problem! :)

@asbjornu
Copy link
Contributor

@GeirGrusom, could you please have a look at develop in its current state and see if it solves this better somehow? It will still try to load System.Web.dll, but its existence should be completely optional. There's also Nancy support in there now, so it shouldn't be difficult to add support for other platforms and environments.

@GeirGrusom
Copy link
Author

Will do :)

@asbjornu
Copy link
Contributor

asbjornu commented Jan 6, 2016

Closing this in await for a new pull request.

@asbjornu asbjornu closed this as completed Jan 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants