C#C
C#3y ago
Hugh

✅ Logging incoming HTTP requests with WebApplication

I've got a route in my app that isn't being triggered properly. I can't currently figure out what's wrong with it.

My controller is being constructed, but the method is never called.

Is there a way that I can turn on additional logging? I'd initially like to know what JSON is being passed in, and what HTTP action is being called After that, some kind of information as to why it isn't calling the method (parameter don't match, for example) would be really useful.

Thanks
Was this page helpful?