I have a web app that calls a wcf service via an ajax call. The wcf service returns some data in json format. The service also uses some message intercepting where it logs data about the request/response
.
I have to replace the wcf service with a .net core 2 web API instead. What is the best way to go about logging the request and response data? Should I intercept the calls and log them there, or is it good enough to log in the controller action?
And what logging tools are recommended?
Aucun commentaire:
Enregistrer un commentaire