asp.net - What happens first? WebAPI Routing or web.config? -


i having issues routing web.config setup redirect needed thinking maybe web api taking control of routing.

so wondering order routing in web api app. if set redirect index.html on web.config web api overwrite that? 1 happens first , 1 last? 1 overwrite other?

if "web.config", referring iis rewrite module, iis rewrite module runs first.

web api routing happens in order in define in route table, important define routes most specific least specific allow routes near top miss in specific cases , allow more general routes run.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -