i am making one application,
what to use if i want to upload data on server in C# based application.
i know this names in web services [ i don’t know How to use it? ]
1. SOAP,
2. REST,
3. AWS
So my question is,
How many ways i can upload my data file to server?
Do i have to use web service or is their any other way to upload data file?
btw… i am just beginner in C# and web service…so may be u will find this question simple.
thanks in advance,
nitz.
EDIT :
my app. is on windows based…..
and the files which will be generated from my app. , that i want to store at server…..
You don’t need to use any fancy “web service” technology to upload data from a client application to a server. You can create a simple ASP.NET Web handler and save the input file from the request body:
From the client app, you’d use
WebClient.UploadFilemethod:This approach eliminates the overhead of protocols like SOAP and posts the file directly in the HTTP request body.