c# - "ExtensionlessUrlHandler-Integrated-4.0 kills url paths -
<add name="extensionlessurlhandler-integrated-4.0" path="/*" verb="*" type="system.web.handlers.transferrequesthandler" precondition="integratedmode,runtimeversionv4.0" />
i added line web.config file in order use odata css, js, image files not load. if remove line there no problem. there work around on this?
i found work around. when want call custom actions should this:
url/users/namespace.customaction
however if add configuration
config.enableunqualifiednamecall(unqualifiednamecall: true);
in webapiconfig file can use actions , functions without need namespaces.
url/users/customaction
like this.
Comments
Post a Comment