Home > Net >  About the OPTIONS request without Global asax
About the OPTIONS request without Global asax

Time:09-20

Bosses front-end ajax request webservice data, complex request to start the options request at a time, every time I want to in the Global asax from the source address of processing according to the inside, but tested, the options request does not go Global, asax method in it? Only in the web. Config the inside configuration & lt; System. WebServer> This node, how to make the options request through Global. Also asax method inside?

CodePudding user response:

You visit in WS what method call what ah, the inside of the G method is public methods, but the whole way, suggest you public a WS class methods, and then the method to determine treatment, according to the parameters in this also can handle the appropriate method first, and then performing the appropriate method in according to the parameters of the jump,,
  • Related