Link to home
Start Free TrialLog in
Avatar of praveen1981
praveen1981Flag for India

asked on

HttpVerbs

Hi

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

in abc.aspx

  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.
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of praveen1981

ASKER

Thanks for your clarification, but still I am not understand properly, can you  please provide me the code for each method, so that i can understand clearly.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you very much..
You're welcome.