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)

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SurferOnWww 2,081 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