Errors in Code View after enabling App Security Provider Enforcer

Hello @Teodor and @patrick, please see screenshot below in Code view upon enabling Security Provider Enforcer. It may not affect the code and functionality of the page, but this will affect how we code and check errors in Code view. As you can see there are 45 errors in the code caused by the inserted codes by the enforcer. It will bring confusion and will make it difficult to troubleshoot any “valid” errors that we may have in our code.

Does it needs to be fixed? Or are we going to leave it as it is? Do I need to configure anything from my side or anything I forgot to do?

Thank you again.

This are indeed false errors. You can ignore them. The html and js validator just don’t recognize the serverside c# code.

@patrick will see if we can improve that in the future.

1 Like