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 4064282
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:50:07+00:00 2026-05-20T15:50:07+00:00

We have a legacy WSE3 ASP.Net webservice here that defines a method GetFileContent(string fileName)

  • 0

We have a legacy WSE3 ASP.Net webservice here that defines a method GetFileContent(string fileName). What it does is check a predefined path for a file with the passed name, read its content, base64-encode it and send that encoded stuff back as a response.

Unfortunately, the whole process takes (varying) ages. I have written a console client app that benchmarks the performance on demand:
Sometimes 2.5Megs are transferred within 12 seconds, sometimes it takes 40. Another 27Meg-file ran through in 16 seconds yesterday, today it took > 1 min.

Further things I have checked:

  • CPU and Swap performance are not worth mentioning (on monitoring, the machine looks bored)

  • network speed is sufficient.

  • The method call is performed immediately after the client has sent the request.

  • The reading and encoding takes an average of 500ms for a big file, so that the return statement is also performed immediately after the request.

  • Another client (Java-based) is even slower, so I guess it could be a client problem.

Does anybody have an idea where to look next to get behind this nasty one? Feels like IIS trouble, really…

Thanks a lot in advance…

  • 1 1 Answer
  • 1 View
  • 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-20T15:50:07+00:00Added an answer on May 20, 2026 at 3:50 pm

    First, just to make sure: I hope you’re aware that WSE is obsolete.

    Second, WSE is based on the ASMX technology. This has problems with large requests, as it will duplicate the incoming data four or more times on the way to the service. However large your data are, assume it will take at least four times as much memory, before the service even gets its hands on it.

    The workaround is to upgrade to WCF.

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

Sidebar

Related Questions

I have a legacy ASP.NET/VB.NET WebSite. There several App_Code modules/code files that use types
Ok, question does not really make sense. Here is the situation. I have legacy
I have legacy ASP.NET web site, upgraded from ASP.NET 2.0 to ASP.NET 4.0 target
I have legacy asp.net 1.1 website. It has a very poor VB layered achitecture.
We have a legacy ASP.net powered site running on a IIS server, the site
I have a legacy ASP.NET application in which there are some session/concurrency related issues
I have legacy DB that store dates that means no-date as 9999-21-31, The column
I have a legacy stored procedure that I'm trying to modify. This is a
I have a legacy intranet web app that was written for IE7 and contains
We have a legacy WinCE device that's been working fine for years when it

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.