Posted on 2012-08-16
I am bit confusing with httpverbs in asp.net , if i look in to my project
the verbs was added in web.config file as follows
<add verbs= * type=... >
as i know * indicates GET,PUT,HEADER,DELETE,POST... etc i have searched in google
where i have found only the defination for those but i did not get any examples to know
how it will be used and where it will be used because i have the code as follows
under button click event it is calling the businesslayer the method say GetDetails()
and now under this Business layer method it is calling two methods in the datalayer as follows
DeleteExisingRecords() // it will delete the existing records in database
AddNewRecords() // it will Add the New records in to database
Now please clarify the following
1) where exactly and what types of verbs are used in the asp.net in my above code
2) if possible please provide me an example with each of verb where and how it is used.
many thanks in Advance.