Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 822419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:47:46+00:00 2026-05-15T02:47:46+00:00

i am making one application, what to use if i want to upload data

  • 0

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…..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:47:46+00:00Added an answer on May 15, 2026 at 2:47 am

    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:

    public class FileUploader : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
           string fileName = context.Request.QueryString["FileName"];
           byte[] fileData = context.Request.BinaryRead(context.Request.ContentLength);
           string path = ...; // decide where you want to save the file
           File.WriteAllBytes(path, fileData);
        }
    
        public bool IsReusable
        {
            get { return false; }
        }
    }
    

    From the client app, you’d use WebClient.UploadFile method:

    using (var client = new WebClient()) {
        client.QueryString["FileName"] = fileName;
        client.UploadData(url, inputFileData); 
    }
    

    This approach eliminates the overhead of protocols like SOAP and posts the file directly in the HTTP request body.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to develop one application where it will automatically (based on some logic)
I'm making an application that analyses one or more series of data using several
I am making one application where i am reading mails from Lotus Notes. I
I ran into the situation where my class is making one asynchronous web call
Im making firefox extension. One function stores value in every tab, to use it
In order to use SetWindowsHookEx in a GUI application, you usually want in the
I am building a web application and have opted to use similar table and
I want to support all Office suites in one application using Office Interop. I
I'm making a web application and would like to have a secure area where
I am making Titanium mobile project where I want to make one global function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.