Answer the question
In order to leave comments, you need to log in
How to process traces in c#?
How to properly handle traces with sending an HTTP request without accompanying the entire try catch code.
I am writing a client in xamarin, but any other example will suffice. I would like to understand how it can be processed globally, maybe some kind of Kernel can be written.
There are services with sending a zarpos
var someJson = await ......GetStringAsync();
return JsonConvert.DeserializeObject<List<ExampleEntity>>(someJson);
var res = await getAll()..
Answer the question
In order to leave comments, you need to log in
1) Perhaps AOP
will help you
Here is an article where an example of using PostSharp for try-catch is given
2) You can also try using AppDomain.UnhandledException .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question