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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:06:59+00:00 2026-05-21T02:06:59+00:00

I have an ASMX Web Service, which I am serving over HTTPS. After some

  • 0

I have an ASMX Web Service, which I am serving over HTTPS. After some testing, I arrived to the conclusion the Web Service would be intolerably slow in a real-world scenario.

I understand that the overhead of using HTTPS is unavoidable, but I would like to know how I could optimize this Web Service. The first thing I have noticed is that, most of the time, my Web Service returns lists of things, for example (not taken from the actual Web Service):

<Cars count="2">
  <Car brand="Mercedes" registrationplate="612M0D0"/>
  <Car brand="BMW" registrationplate="4RS-73CHN1C4"/>
</Cars>

(Usual real-life values of count are around 40-50.)

Thus, both the element’s type’s name (in this example, Car) and its attributes names (in this example, brand and registrationplate) are repeated too many times. All of this suggests compressing the SOAP response before sending it would a good idea. But I don’t know to do it. Does anybody know?

  • 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-21T02:07:00+00:00Added an answer on May 21, 2026 at 2:07 am

    Have you determined what is slow?

    • The volume of data
    • The number of requests
    • Time spent accessing a data store
    • Time between request and response

    etc.

    The first step in optimisation is to get metrics and then once you have these attack the ones that matter. For example a call to the function may be 1ms but if you call it 2000 times the delay may be 2s. So in this case attacking the number of calls may be in order.

    I suggest using a tool like DotTrace to give you indicators.

    Edit
    See this so question : HTTP vs HTTPS performance

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

Sidebar

Related Questions

Say I have an ASMX web service, MyService. The service has a method, MyMethod.
Why is that Web Service files (.asmx) have their code-behind placed in app_code folder
I have a web service (ASMX) and in it, a web method that does
I have a web service (WCF or ASMX doesn't matter)... I have made a
I have a webservice (asmx file) in a directory requiring form authentication When I
I have an .asmx in a folder in my application and I keep getting
We have a typical business application with an Outlook-looking Winforms client talking to asmx
Have just started using Google Chrome , and noticed in parts of our site,
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have you guys had any experiences (positive or negative) by placing your source code/solution

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.