Descriptive ExoWeb request URLs

5 views
Skip to first unread message

Bryan Matthews

unread,
Aug 2, 2012, 2:32:22 PM8/2/12
to ExoSuite
I made a small tweak to ExoWeb to allow you to optionally use more descriptive URLs for ExoWeb requests.  This can be useful in development for debugging, or in a customer environment for troubleshooting problems.  As an example, this change was suggested by Matt to make interpreting IIS logs easier.

Typically most ExoWeb requests look like this:

http://yoursite.com/ExoWeb.axd/Request

Everything about the request is in the post data.  That's still the case, but now you can opt into specific names for requests.  For example:

http://yoursite.com/ExoWeb.axd/Save
http://yoursite.com/ExoWeb.axd/Roundtrip
http://yoursite.com/ExoWeb.axd/LoadObject
http://yoursite.com/ExoWeb.axd/Query
http://yoursite.com/ExoWeb.axd/LoadList
http://yoursite.com/ExoWeb.axd/GetTypes
http://yoursite.com/ExoWeb.axd/MyTotallyRadCustomEvent

This can be turned on with this line of script:

ExoWeb.DotNet.config.aliasRequests = true;

This is opt-in currently in order to test the waters, but if it proves useful and doesn't cause any problems then I might make it out-of-the-box behavior in the near future.  Let me know if you see any problems with doing that or if you have a preference either way.
Reply all
Reply to author
Forward
0 new messages