Is it possible to do changes on the HttpModules list in the web.config when I execute a "Swap VIP" on Windows Azure?
Asked
Active
Viewed 600 times
1
-
http://stackoverflow.com/questions/239802/programmatically-register-httpmodules-at-runtime – andrewbadera Mar 15 '12 at 06:14
-
I changed my modules so they eventually jump the execution depending on the current host-header. – Adilson de Almeida Jr Mar 15 '12 at 14:31
2 Answers
1
When you do a VIP swap, your instances do not receive any kind of notification, so I don't believe this is possible.
knightpfhor
- 9,299
- 3
- 29
- 42
0
The only reason you wouldn't be able to change an HTTP module would be:
- the HTTP Module updates the number of endpoints for your service
For more information on what you can do during a VIP swap or In-place upgrade view the documentation on msdn
cory-fowler
- 4,020
- 2
- 18
- 29
-
I couldn´t find any reference to modules configuration in the link you have mentioned. Anyway, including or excluding a http module don´t take effect over the endpoints. – Adilson de Almeida Jr Mar 09 '12 at 19:09
-
VIP Swap (in simplest of explanations) is simply replacing the DNS record of the Production domain and pointing it to your "Staging VM". Whatever is set up in that instance prior to swapping the VIP is what state it will be post swap. If you would like to add HTTP Modules during an inplace upgrade you would be able to do this because IIS would read the new web.config file and change accordingly. – cory-fowler Mar 16 '12 at 05:11