Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an .axd file?

Tags:

c#

asp.net

vb.net

What kind of purpose do .axd files serve?

I know that it is used in the ASP.Net AJAX Toolkit and its controls. I'd like to know more about it.

I tried Googling for it, but could not find getting basic information.

like image 760
sikender Avatar asked May 04 '11 07:05

sikender


People also ask

How do I open Axd files online?

You need a suitable software like ASP.NET to open an AXD file. Without proper software you will receive a Windows message "How do you want to open this file?" or "Windows cannot open this file" or a similar Mac/iPhone/Android alert. If you cannot open your AXD file correctly, try to right-click or long-press the file.

What is WebResource Axd?

WebResource. axd provides access to embedded resources within a project. It's a handler that enables control and page developers to download resources that are embedded in an assembly to the end user.


1 Answers

from Google

An .axd file is a HTTP Handler file. There are two types of .axd files.

  1. ScriptResource.axd
  2. WebResource.axd

These are files which are generated at runtime whenever you use ScriptManager in your Web app. This is being generated only once when you deploy it on the server.

Simply put the ScriptResource.AXD contains all of the clientside javascript routines for Ajax. Just because you include a scriptmanager that loads a script file it will never appear as a ScriptResource.AXD - instead it will be merely passed as the .js file you send if you reference a external script file. If you embed it in code then it may merely appear as part of the html as a tag and code but depending if you code according to how the ToolKit handles it - may or may not appear as as a ScriptResource.axd. ScriptResource.axd is only introduced with AJAX and you will never see it elsewhere

And ofcourse it is necessary

like image 126
kobe Avatar answered Sep 26 '22 05:09

kobe