I'm able to query an IIS with the IIS SDK and detect which application are installed in the IIS.
foreach (Site site in sites)
{
Console.WriteLine("Site: " + site.Name);
foreach (Binding binding in site.Bindings)
{
Console.WriteLine("Binding Information: " + binding.BindingInformation);
}
foreach (Application app in site.Applications)
{
Console.WriteLine("App Path: " + app.Path);
}
}
My applications are web services (asmx and wcf). Is there a way to query each application and detect which methods are published?
What I need is the full URL of the webservice.
Is there a way to do it without the IIS SDK?
Thanks.