webresource.axd scriptresource.axd files

Joseph Reeta Mary (NCS) 0 Reputation points
2023-02-14T07:08:21.6133333+00:00

need some documentation on webresource.axd and scriptresource.axd files are generated by asp.net runtime handlers. We need to confirm that as we can't implement CSP (apply nonce)

Developer technologies ASP.NET Other
{count} votes

1 answer

Sort by: Most helpful
  1. SurferOnWww 4,631 Reputation points
    2023-02-15T00:55:42.1766667+00:00

    I do not understand what you mean by "unable to apply "nonce" on webresource.axd and scriptresource.axd files."

    Anyway, you will be able to configure your ASP.NET Web Forms application not to use the webresource.axd and scriptresource.axd if you use .NET framework 4.5 or higher as the target framework.

    See the following document for details:

    ASP.NET 4.5 ScriptManager Improvements in WebForms


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.