I\'ve been fighting with this forever! \'Trying to get a MVC View script to run under CSP using a nonce. This is my controller code to generate a nonce:
strin