which is faster HttpWebRequest or using an API

lamy

Regular
Joined
Dec 12, 2005
Messages
56
Location
under your bed
was wondering if id make an API for our vending machine application (connected to the internet), currently we send request and read response directly to our database, for the revamp we would want to make it more secure, but cant decide what to do, was thinking of doing an httpwebrequest or our page (ssl), but we could also do an API (server-client) to make such request/response... which one do you think is faster or is there any other way?
 
Have you considered web services as a way of implementing this API? They use http(s) as an underlying mechanism and data is transfered as XML.
.Net gives some very nice tools for working with web services and are well worth investigating.
 
Back
Top