IIS Administration API is able to configure what extensions are hanlded by
which Script Engine. Look up MSDN documentation for the "ScriptMaps"
property.
<a style='text-decoration: underline;' href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/iis/alphabeticmetabasepropertylist.asp" target="_blank">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissd...is/alph</a>
Look at how %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs modifies
properties.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Brian Tyler" <brianmtyler.DeleteThis@yahoo.com> wrote in message
news:eFQBvny8DHA.2656@TK2MSFTNGP11.phx.gbl...
I didn't want to cross-post until it has fermented in this group a bit, but
it actually is both and IIS and ASP.NET question.
IIS is configured to send certain extentions to the ASP.NET process by
default. If I wanted a new extension handled by ASP.NET I would need to go
into the IIS configuration and change it. However, I don't know if there is
an API for that. Ideas?
"David Wang [Msft]" <someone.DeleteThis@online.microsoft.com> wrote in message
news:%23mlDHRt8DHA.3404@TK2MSFTNGP09.phx.gbl...
> This is an ASP.Net question. Try microsoft.public.dotnet.framework.aspnet
> or <a style='text-decoration: underline;' href="http://www.asp.net" target="_blank">www.asp.net</a> Forums .
>
> --
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "Brian Tyler" <brianmtyler.DeleteThis@yahoo.com> wrote in message
> news:%23jVyptY8DHA.696@tk2msftngp13.phx.gbl...
> Is there any way in IIS/ASP.NET to dynamically map a URL to a class?
> Basically I have code (implements IHttpHandler) in the GAC that I want to
> handle certain URLs, but I want the mapping to be done at runtime, rather
> than putting it in the config file or creating an ashx file in my
directory
> path.
>
> Brian
>
>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Dynamically mapping a URL