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

  • SEARCH
  • Home
  • 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 6810921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:15:51+00:00 2026-05-26T20:15:51+00:00

Rather than using a Handler(.ashx), is it possible to use a web service(.asmx) to

  • 0

Rather than using a Handler(.ashx), is it possible to use a web service(.asmx) to upload?

Any suggestions on how to use a jQuery upload to get the input stream?

VB.NET code or examples would be appreciated.

  • 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-26T20:15:52+00:00Added an answer on May 26, 2026 at 8:15 pm

    Yes it is possible ,
    you can pass the File to the service(.asmx) , and get Json back by specifing the response type.
    better soultion if you want a simple uploader with drag and drop functionality would be
    Ajax uploader – valums

    _uploader = new qq.FileUploader({
                    element: document.getElementById(_Uploaddiv),
                    onComplete: function (id, fileName, responseJSON) {  },
                    action: '/Uploader.asmx/functionName',
                    params: {
                        startRowIndex:_startRowIndex,
                        pageSize:_pageSize
                    }
    
        xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
        xhr.setRequestHeader("Accept", "application/json, text/javascript, */*; q=0.01");
    

    set the XMLHttpRequest() headers to Accept json

    VB code

    <WebMethod()> _
    <ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
    

    Simple , light, accepts my CSV and gets me the result. that’s what i wanted

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

Sidebar

Related Questions

Possible Duplicate: Convention question: When do you use a Getter/Setter function rather than using
rather than using a textnode to show content im trying to figure out how
Has anyone used Lucene.NET rather than using the full text search that comes with
I'm trying to find open source profilers rather than using one of the commercial
When an iPhone application manages its own preferences, rather than using a bundle, it
I have a schema called application. Is there a way that, rather than using
Does creating an object using reflection rather than calling the class constructor result in
Using C# and WPF under .NET (rather than Windows Forms or console), what is
I've been reading a fair bit about the performance of using LINQ rather than
As a general rule, I prefer using value rather than pointer semantics in C++

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.