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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -