Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2004

Tip: Looking for answers? Try searching our database.

Programminf for ASP.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 02 Nov 2004 16:05 GMT
Is there a way to progammatically detect if ASP.NET is installed?  Also is
there a way to programmatically detect if ASP.NET Web Services Extensions are
'Allowed' vs 'Prohibited'?

Thanks in advance.
Dan Rogers - 19 Nov 2004 23:15 GMT
Hi Steve,

On the server, you can look to see if ASP.net is installed, yes.  This can
be done by looking for the correct registry keys are set up.  This is how
the IIS installer determines whether ASP.net is present.  Offhand, I don't
have the details for this.  You can also think about methods involving
looking to see if a .NET CLR runtime is installed (if not, then you know
ASP.net is not going to work).

As for detecting the configuration settings for web service extensions, you
should look into the structure of the machine.config file - this is
documented on MSDN.  This holds the policy statements governing web service
extensions.  For the most part, the default is that they are enabled, but
require attribution in the code or entries in the config file(s) to make
specific web service extensions active.  Writing a program that finds out
if any WSE are present anywhere would take knowlege of all of the
applications on the machine, and a scan of the config files that are nested
from each application on into the machine config file.  I know of no
implementation of such a tool.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
>Thread-Topic: Programminf for ASP.NET
>thread-index: AcTA7VOEx3G3nzYWSxqsaGaal0xaWg==
[quoted text clipped - 17 lines]
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26345
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 3 lines]
>
>Thanks in advance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.