C# Tutorials and offshore development in India

Tutorials Resources Forum Reviews Interview Jobs Projects Training Your Ad Here


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...




Resources » Articles » ASP.NET/Web Applications »

VSDISCO Files


Posted Date: 17 Mar 2004    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: SivaMember Level: Gold    
Rating: 1 out of 5Points: 7


What is mean by this word VSDISCO and how we can get the usage of these 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 <exclude> elements:


 


<?xml version="1.0" ?>

<dynamicDiscovery

  xmlns="urn:schemas-dynamicdiscovery:disco.2000-03-17">

  <exclude path="_vti_cnf" />

  <exclude path="_vti_pvt" />

  <exclude path="_vti_log" />

  <exclude path="_vti_script" />

  <exclude path="_vti_txt" />

</dynamicDiscovery>


 


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 <httpHandlers> 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.



Siva



Responses to the resource: "VSDISCO Files"

No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Images From Your Database To Response
Previous Resource: Web Service Client Call Vs Web Method
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET/Web Applications


Post resources and earn money!
 
More Resources




About Us    Contact Us    Privacy Policy    Terms Of Use