Visual Studio authentication error

why does it give me that error (SecurityService.Principal.get returned null.) when running it with Visual Studio?

pd: sorry for the translation on google

Make sure you are running the application using IIS Express with Debug configuration:


That's right but it doesn't work for me.

This code looks as an older version of the SecurityService component that Radzen generates. Make sure you are using an up-to-date version and SecurityService.cs isn't in Radzen's code generation ignore list.

OK I am updating and generating the application again. Another fact is that if it works for me by visual studio code.

Thank you very much, I updated to the latest version and it worked perfect.