RE: Plugin synchrone issue system security
Hi, I assume that the image above it's run within a plugin profile, making calls to external service in plugin profile result in a System.Security.SecurityExceptions when debugging, I sugest do the following:
- Ensure your plugin is build in .Net Framework 4.6.2 or greater
- Test your service but using Unit Tests, XUnit, MSTests... or using a client (Postman, Insomnia, etc) and ensure it responds correctly, the status codes will tell you.... (200,202,400,etc)
- You could log your request using ITracingService from plugins so you will be able to do something like "TracingService.Trace(json);" and copy the request and use it in the step mentioned before.
regards.
If it was helpful please consider mark it as verified answer