I wonder why routes seem to be customizable from both the HttpConfiguration object and the RouteTable class? Obviously, the two .Routes properties are not of the same type, but they seem to remain in sync. Is there any chance they can get out of sync? I'm interested, however, in terms of web APIs, should I use RouteTable.Routes?
The HttpConfiguration class HttpConfiguration specific to WebApi, which makes it reusable outside of IIS (for example, for self-hosting). The RouteTable version is for IIS only.
HttpConfiguration
RouteTable
Source: https://habr.com/ru/post/1435529/More articles:programmatically sending a text message - setting the expiration date - javaJSF vs. CDI SessionScope has odd consequences for Statelss EJB transaction. Can anyone explain? - jsfCan I request the current OS version in WinRT? - windows-8How to implement a return statement in a toy language? - cLocal vs. Heroku Postgres Speed ββ- postgresqlGWT RPC - Several RPC services per application - javaHow to access ui: param value in managed bean - jsfString illegal escape character - javaPassing values ββusing ui: param and accessing them in backing bean mode - javaASP.NET dynamic data with Entity platform: many for many make the difference on the server - asp.netAll Articles