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

Enable easier event building for context supports #77

Closed
dcramer opened this issue Sep 17, 2015 · 2 comments
Closed

Enable easier event building for context supports #77

dcramer opened this issue Sep 17, 2015 · 2 comments

Comments

@dcramer
Copy link
Member

dcramer commented Sep 17, 2015

Right now it seems fairly complex to utilize User/Http contexts. It might make sense to do something similar to the following pattern for APIs:

event = Raven.GetEventFromError(...)
event.User = UserInterface(...)
Raven.Send(event)

(Pardon my entire lack of familiarity with C# :)

@asbjornu
Copy link
Contributor

@dcramer I'm not sure, but I believe #71 covers this quite well and that the latest prerelease of develop contains improvements in this area.

@asbjornu
Copy link
Contributor

Now that we have SharpRaven.Nancy out with support for capturing HTTP context information from Nancy, I feel we have an idea on how to solve this for different environments. Since HTTP context stuff usually isn't interface based, it's hard to abstract much more, at least until OWIN is the only interface we need to cater to. I'm therefore closing this.

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