What Is An AXD file?

Last post 05-09-2008 12:44 PM by jabailo. 6 replies.

Sort Posts:

  • What Is An AXD file?

    05-08-2008, 4:10 PM
    • Loading...
    • jabailo
    • Joined on 11-12-2007, 3:17 PM
    • Posts 28

    I'm getting a script error from the AJAX Control Toolkit.

    The error appears in a file called ScriptResource.axd.

     

    But I do not see this in the source code for the toolkit.

     

    Can someone tell me what/where this file is?


     

    John A. Bailo
  • Re: What Is An AXD file?

    05-08-2008, 4:12 PM
    • Loading...
    • XIII
    • Joined on 07-01-2002, 3:59 AM
    • Essen, Belgium
    • Posts 9,210
    • Moderator
      TrustedFriends-MVPs

    Hi,

    it's a HttpHandler. In ASP.NET AJAX it's used to serve the needed javascripts (which are embedded by the server controls under control of the scriptmanager).

    Grz, Kris.

    Kris van der Mast [MVP] || Read my blog
  • Re: What Is An AXD file?

    05-08-2008, 4:14 PM
    • Loading...
    • psuphish05
    • Joined on 10-03-2006, 1:27 AM
    • New Jersey
    • Posts 135

    An .axd file is a HTTP Handler file.  Check out this article, http://msdn.microsoft.com/en-us/library/system.web.handlers.scriptresourcehandler.aspx for further information.

    Hope this provides some insight.

    - Jesse 

    Jesse Williams

    Please mark 'Answered' if my post was able to assist you.
  • Re: What Is An AXD file?

    05-08-2008, 4:46 PM
    • Loading...
    • jabailo
    • Joined on 11-12-2007, 3:17 PM
    • Posts 28

    Thank you both for those answers.

    Here's what puzzles me...it looks like that's a client side file, that's part of the AJAX Extensions.

    However, I am working a bug that gets thrown when my AJAX toolkit application is run under IE6.

    It hits some code that is contained in common.js -- part of the toolkit, but the file name the bug gets trapped in in VS.2005 is called ScriptResource.axd.

    So, why does this code appear in the server side AXD file when it's clientside javascript?

    And it's part of the toolkit, not the extensions?

    John A. Bailo
  • Re: What Is An AXD file?

    05-09-2008, 12:36 AM
    • Loading...
    • psuphish05
    • Joined on 10-03-2006, 1:27 AM
    • New Jersey
    • Posts 135

    No problem at all.  What is the error that you are getting?  I'm kind of shooting blind here since I don't have the error details, but check out this article:

     http://dotnetslackers.com/JavaScript/re-57918_ScriptResource_axd_and_and_assemblies_built_in_the_future.aspx

    Hope this helps.

    - Jesse
     

    Jesse Williams

    Please mark 'Answered' if my post was able to assist you.
  • Re: What Is An AXD file?

    05-09-2008, 3:29 AM
    Answer
    • Loading...
    • XIII
    • Joined on 07-01-2002, 3:59 AM
    • Essen, Belgium
    • Posts 9,210
    • Moderator
      TrustedFriends-MVPs

    jabailo:
    common.js -- part of the toolkit, but the file name the bug gets trapped in in VS.2005 is called ScriptResource.axd.
     

    The handler's "streaming" the javascript files to the client dynamically.

    Grz, Kris. 

    Kris van der Mast [MVP] || Read my blog
  • Re: What Is An AXD file?

    05-09-2008, 12:44 PM
    • Loading...
    • jabailo
    • Joined on 11-12-2007, 3:17 PM
    • Posts 28

    Thank you both...I finanlly figured out that the error was actually in the common.js of the AJAX Toolkit (but I was confused because it appeared as an AXD, which, as you say is dynamically generated).

     

    John A. Bailo
Page 1 of 1 (7 items)