GET,POST,PUT,DELETE - 404 Error - how to hack - Part 2

Another way to achieve the same thing with less config lines is this one:

<system.webServer>
    <handlers>
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <remove name="OPTIONSVerbHandler" />
      <remove name="TRACEVerbHandler" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
  </system.webServer>

Comentarii

Postări populare de pe acest blog

RpiCar

DevExpress Theme Changer ...