views:

63

answers:

2

http://www.ee99ee.com/blog/2009/02/08/how-to-get-aspnet-mvc-working-under-iis-51-on-windows-xp/

Can the following be put into batch commands? If not, is there an alternative where the configuration can be set through an executable without the user having to configure through IIS?

A: 

the simplest solution is to include .aspx into the controller name. so the controller is in the following format {controller}.aspx/{action}/{id}.

nitroxn
A: 

You might be able to set those properties with the GET and SET commands of the Adsutil.vbs script (which works with IIS 5.1, would probably be in the directory C:\Inetpub\AdminScripts\).

I tried a little poking around, and couldn't figure out which keys were needed. But you might be able to figure them out using the Metabase Explorer (from the IIS 6.0 ResKit, or here is a third-party version which I haven't tried).

ewall