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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:57:17+00:00 2026-05-22T22:57:17+00:00

I am working on building a .NET-Based web service where I pass in a

  • 0

I am working on building a .NET-Based web service where I pass in a string as part of the URL, and I return another string. The returned string is actually JavaScript.

Currently, I am using MVC3 for this service, because the requirements seemed very simple, and I did not see any reason to bring WCF into it. -Especially since I am just returning JS, and don’t need any data wrapped up in XML or anything.

During initial load testing, the performance of the service seemed to be unacceptable (throughput of about 85/second). Since I am building JavaScript on-the-fly, and returning it, I decided to see what the performance would be if I simply returned some hard-coded JS. This doubled my performance (throughput of about 175/second). Nothing earth shattering, but it was about twice as fast. I expected this.

Then, for fun I decided to see how fast it would be to load test just pulling actual pre-generated JS files from IIS. This blew my mind. It was about 30 times faster (throughput of 2,200/second)! I expected pulling flat-files to be much faster than generating JS and then returning it, but this is so much faster, I am wondering if MVC3 is very slow, or if there is a problem with the server.

If I switch to WCF, will I see a significant throughput increase? Will WCF even let me return a string of JS (or does it expect everythigng to be wrapped up in XML)? If I need very fast response times, should I be using something besides WCF or MVC3?

Thanks

As I stated previously,

  • 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-22T22:57:18+00:00Added an answer on May 22, 2026 at 10:57 pm

    Pulling the files from iis is a completely different operation and allows extreme performance gains because of server file caching and no processing required. I don’t think your wcf will be that different (yes you can return JavaScript) but it would be a simple perf test.

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

Sidebar

Related Questions

I'm working on building a development tool that is written in JavaScript. This will
I am building a utility page for a web app that I am working
I'm working on building a Silverlight application whereas we want to be able to
I'm working with a team that's building an engine for a variety of 2D
I am working on designing and building a desktop application. I am thinking about
I'm building a symbol table for a project I'm working on. I was wondering
I'm slowly building my application to a working state. I'm using two functions called
I'm getting started on building a REST API for a project I'm working on,
I've just started building a prototype application in Django. I started out by working
I'm using jQuery validate on a form I am building and it is working

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.