Anything wrong with adding the PUT,DELETE verbs to the .aspx extension in IIS?

I'm using PUT and DELETE more and more w/ my ajax work and wanted to see if it would be a "bad idea" to add these verbs to the .aspx application extension in IIS.

Answers


If your AJAX operations are taking advantage of a RESTful API then I would think there is no problem. Otherwise you may want to look at RFC2616-sec9 to analyze more on your case. I personally dont think its bad but one might want to stick to standards and look to server overhead etc.


PUT and DELETE should - if you're following the RFC - either replace or delete the .aspx file that was specified. If that's what you're doing, go for it. If you're doing anything else, file your solution under "ugly hack", and use GET and/or POST like you should.


Need Your Help

C# Setting Properties using Index

c# coding-style properties

I have a business class that contains many properties for various stock-exchange price types. This is a sample of the class:

How to build an Apple Push Notification provider server in Delphi

ios delphi push-notification apple-push-notifications

I need to build a provider server in Delphi to send push notification messages to my iPhone app via APNS.