Note that VSDISCO files are disabled in the release version of ASP.NET. You can reenable them by uncommenting the line in the
Showing posts with label elements. Show all posts
Showing posts with label elements. Show all posts
Thursday, March 12, 2009
How does dynamic discovery work?
ASP.NET maps the file name extension VSDISCO to an HTTP handler that scans the host directory and subdirectories for ASMX and DISCO files and returns a dynamically generated DISCO document. A client who requests a VSDISCO file gets back what appears to be a static DISCO document.
Note that VSDISCO files are disabled in the release version of ASP.NET. You can reenable them by uncommenting the line in the section of Machine.config that maps *.vsdisco to System.Web.Services.Discovery.DiscoveryRequestHandler and granting the ASPNET user account permission to read the IIS metabase. However, Microsoft is actively discouraging the use of VSDISCO files because they could represent a threat to Web server security
Note that VSDISCO files are disabled in the release version of ASP.NET. You can reenable them by uncommenting the line in the
What are VSDISCO files?
VSDISCO files are DISCO files that support dynamic discovery of Web services. If you place the following VSDISCO file in a directory on your Web server, for example, it returns references to all ASMX and DISCO files in the host directory and any subdirectories not noted in elements:
xmlns="urn:schemas-dynamicdiscovery:disco.2000-03-17">
Labels:
.net Technology,
asmx,
ASP,
Asp.net,
Asp.net faqs,
Asp.net Tutorial,
beginner Asp.net,
disco files,
element,
elements,
files,
vsdisco,
web services
Subscribe to:
Posts (Atom)
About Me
- Wajid Ansari
- Hyderabad, Andhra Pradesh, India
- I'm a MCA graduate working as a Web Developer.