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
Post a Comment