解决调用url带有英文句号(.)致使asp.net api路由失败(404)的问题

<configuration>
    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true" />

参考文章:web

http://stackoverflow.com/questions/20998816/dot-character-in-mvc-web-api-2-for-request-such-as-api-people-staff-45287api

http://www.seankenny.me/blog/2014/06/04/web-api-with-dot-in-the-route/mvc

相关文章
相关标签/搜索