We want to direct test traffic based on a flag in the database to test servers. Does Microsoft Application Request Routing expose an api to have dynamic routing?
We have a custom utility that does something similar. ARR traffic is configured using URL Rewrite rules. You can use Microsoft.Web.Administration to access and modify IIS's configuration. Using ServerManager you can access the URL rewrite rules section and
manipulate the content to configure ARR rules.
Can I access the same api that ARR does? I need to inspect the request to see if it comes from a test user. This is not as simple as reading the url. In some cases I need to decrypt some data to get at the partner id.
As far as I know, these APIs are not available. You might consider inspect server variables and decrypt some data by using custom URL Rewrite Provider.
Developing a Custom Rewrite Provider for URL Rewrite Module
Kirk Brackeb...
2 Posts
Is there an api to route traffic for Application Request Routing
Feb 23, 2012 09:44 PM|LINK
We want to direct test traffic based on a flag in the database to test servers. Does Microsoft Application Request Routing expose an api to have dynamic routing?
ARR Application Request Routing
owjeff
680 Posts
Re: Is there an api to route traffic for Application Request Routing
Feb 24, 2012 01:31 PM|LINK
OrcsWeb: Managed Windows Hosting Solutions
"Remarkable Service. Remarkable Support."
Kirk Brackeb...
2 Posts
Re: Is there an api to route traffic for Application Request Routing
Feb 24, 2012 02:21 PM|LINK
Can I access the same api that ARR does? I need to inspect the request to see if it comes from a test user. This is not as simple as reading the url. In some cases I need to decrypt some data to get at the partner id.
Leo Tang - M...
4161 Posts
Microsoft
Re: Is there an api to route traffic for Application Request Routing
Feb 28, 2012 05:43 AM|LINK
Hi,
As far as I know, these APIs are not available. You might consider inspect server variables and decrypt some data by using custom URL Rewrite Provider.
Developing a Custom Rewrite Provider for URL Rewrite Module
http://learn.iis.net/page.aspx/804/developing-a-custom-rewrite-provider-for-url-rewrite-module/
Hope this information helps, thanks.
Feedback to us
Develop and promote your apps in Windows Store