Introduction to Application Request Routing-Week 31

preview_player
Показать описание
This week we start looking at Application Request Routing to understand what
it is and to setup a basic server farm.
Рекомендации по теме
Комментарии
Автор

Hi Tiesthatbindus,

That's a good question. URL Rewrite (and therefore ARR) works with the URLs and headers, but not with the POST data. At least not that I'm aware of. You would think that it should be available to URL rewrite but I'm not aware of that data being available.

scottjforsyth
Автор

I am trying this on Windows server 2022, not getting the same results. Am i missing something new for win 2022 server ?

eveliogonzalez
Автор

Why do we not need DNS in this case ?
Also Machine that you have specified as part of Farm as Physical server ?
I am asking this because as we can provide multiple IP address to single machine. Now what I did is I created two site with assign different IP Address . When I try to route using ARR default then it gives 404 error always.

jinalpatel
Автор

Great videos! Might just help me persuade a few people!

Got a question on routing thought that I have not been able to figure out yet: Can ARR route based on POST content?

Say I have a WCF service with MyMethod(string str). One client calls MyMethod("abc") so it's POST would have abc in the POST's str element. Another calls MyMethod("xyz") so it's POST would have xyz in the POST's str element.

Can ARR route based on POST content? Any help or advise would be GREATLY appreciated!

Thanks!

Tiesthatbindus
Автор

Hi Adam,
Sorry on the delay, I guess I'm not being emailed on questions from the site.

Do you mean that you have one server that is web only, and another that is web and sql and you want to give greater weight to the one which doesn't have sql on it? That's possible with the weights when you add servers to ARR. ARR just load balances to the web servers, and it's up to those web servers which sql database they access.

scottjforsyth
Автор

Yes, the sound quality certainly wasn't the best. I have a much better mic setup nowadays.

scottjforsyth