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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:24:21+00:00 2026-05-20T00:24:21+00:00

I have created an ASP.NET Webforms web application which basically inetracts with the code

  • 0

I have created an ASP.NET Webforms web application which basically inetracts with the code behind via jQuery.ajax method.

  • The data on page should be refreshed every 1 seconds and is about 1KB per request.
  • The web app will be hosted on an intranet. So it has a reasonable speed for such a refresh rate.
  • I use ASP.NET Development Server.
  • The server side code takes about 20 milliseconds to execute (ideal for me), but (using firebug) every request from client, takes about 1.5 to 2 seconds to go back and forth (Which is related to sending XMLHttpRequest to my web server and receive the callback data. And which is not ideal for me) and I can’t find a workaround to speed it up.

Now, I have been advised from a colleague to write my custom web server to handle the page and interact with that web server by using javascript on the page; This way, I can put my business logic on my created web server and speed things up effectively. (compared to using IIS or ASP.NET Development Server).

Basically, I don’t have any idea about this approach.
I’d be pleased if anyone tells me about the pros and cons of writing my own web server and the effect it has on data transfer rate in my custom scenario.

  • 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-20T00:24:22+00:00Added an answer on May 20, 2026 at 12:24 am

    Don’t do that.

    IIS is fast. There is no reason to believe you will be able to write a server yourself, that is significantly faster. A custom web server will add exactly zero additional value, but it will take you some development time to implement. And you will have to worry about security, maintaining, etc.

    If you don’t need the overhead of an ASP .NET page, WCF services hosted in IIS, or just a plain simple IHttpHandler are nice options. I am quite convinced you can overcome your performance issues without a custom web server.

    Try measuring what is taking the time. For instance, measure your server-side execution time first. Then measure transfer times (for instance, using Fiddler). Which one is taking the time ? If you do a lot of work on the client (like processing received data), that might also be the reason for the delay.

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

Sidebar

Related Questions

I have an ASP.NET web site which contains some ImageButton controls that cause postbacks
I have created a ASP.NET WebForms Gridview and I need to access each row
I have an ASP.NET application that authenticates users using Ldap against active directory. This
I have implemented a set of ASP.NET web custom controls and added these to
I have an ASP.NET WebForms page with forms authentication. When users create a login,
I'm working on a internal web application (only employees can log in) and need
I'm working with ASP.NET MVC but this really applies to any MVC framework. I
With ASP.NET MVC it is pretty easy to integrate an IoC container to create
REST has been such a popular buzzword for the last couple of years (or
I'm about to start a Database Design that will simply manage users under companies.

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.