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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:35:11+00:00 2026-05-10T19:35:11+00:00

We have a DLL used as the middle layer between our website front end

  • 0

We have a DLL used as the middle layer between our website front end and our back end ticketing system. The method of insertion into the ticketing system is a bit complicated to explain, but the short version is that it’s slow. The best case scenario I’ve gotten is a 9 second submission time.

The real problem though, is that I can only get that time through a Windows app, not through an ASP.NET web site. I’ve set up both a Windows test application and a web page for testing, and even though the code is copied between them the web page is consistently submitting in 17-20 seconds, while the windows app is getting 8-11 seconds.

What could be causing that?

EDIT: In response to a couple of the answers…

The call to the web service is taking the bulk of the time, but I have no control over this web service as it’s provided by the ticketing system vendor. I need to find out why the web service is taking different amounts of time when it’s being called form a different kind of application. The code is exactly the same in both cases, and it’s running a loop then reporting the times recorded.

The code is:

for (int i = 0; i < numIterations; i++)         {             startTimes[i] = DateTime.Now;              try             {                 cvNum = Clearview.Submit(req, DateTime.Now, DateTime.Now, false);             }             catch (Exception ex)             {                 exceptionCount++;                 lblResult.Text += @'<br />Exception Caught: ' + ex.Message + @'<br />';                                 }              endTimes[i] = DateTime.Now;     } 

It’s the same loop in both cases, and I’m marking the time right before and after the call to the library, which does further processing and then calls the web service. But that processing should be consistent shouldn’t it? I have traced during debugging and not seen any delay getting to the actual web service call…

EDIT Again: Working with Ants, in both cases 99.4% of the time is being sent just on the web service call. There appears to be no difference there… except that when timed out the web page is taking longer than the windows app.

  • 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. 2026-05-10T19:35:11+00:00Added an answer on May 10, 2026 at 7:35 pm

    Are you running both on the same machine? Is the middle-layer that you are calling located on a remote machine? The time durations you mentioned vaguely feels like a DNS timeout issue, when opening a connection incurs the penalty for the first (down/misaddressed) DNS response to timeout. Are you sure that whatever config file/var pointing the DLL to the middle-layer are the same in both invocations?

    I second the suggestion to use Wireshark to see what is going on. You can at least satisfy yourself that the backend processing time is (should be, anyways) the same…

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

Sidebar

Related Questions

We have a Com+ VB6 DLL used in our asp classic application. After upgrading
I have never used dll's before(absolutely no experience) and I wanted to replace a
I have a static S.lib that is used by my D.dll. I'm trying to
I have a DLL with some COM objects . Sometimes, this objects crashes and
I have a dll that must be useable from C etc, so I cant
I have a dll that was written in c++, I need to use this
I have a dll that contains a dot net assembly - common intermediate language.
I have a dll that contains a templated class. Is there a way to
I have a DLL in the BIN folder, and I need it to be
I have a DLL that I want to profile.. I tried to use Very

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.