ASP.NET MVCのルートURLにドットを含む文字列を使う
Web.config
system.webServerの中のhandlersに以下のように記載する。
<system.webServer> <handlers> <add name="ApiURIs-ISAPI-Integrated-4.0" path="/MyURL/*" verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> </handlers> </system.webServer>
例
<handlers> <add name="ApiURIs-ISAPI-Integrated-4.0" path="/Home/GenerateImage/*" verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> </handlers>