Gladi
Gladi

Reputation: 425

.NET web service with many requests

i have a .net web-service in some server. this web-service gets lots of requests per day. there is an android project that allot of people using it and exchange data with this ws. something like 20 requests per minute.

recently im getting allot of timeouts from the server and i cant find out what is the reason. did i write the web.config wrong? or it something else?

here is my system.web on my config:

    <system.web>
    <compilation debug="true" targetFramework="4.0">
        <assemblies>
            <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
<httpRuntime executionTimeout="9000" maxRequestLength="500000"/>
    <webServices>
        <protocols>
            <add name="HttpSoap12"/>
            <add name="HttpSoap"/>
            <add name="HttpGet"/>
            <add name="HttpPost"/>
        </protocols>
    </webServices>
</system.web>

what can i do to improve? can i set max requests or max bandwidth?

Upvotes: 0

Views: 380

Answers (1)

MikeLim
MikeLim

Reputation: 1219

You need to set debug="false" Debug="true" forces web server to run single-threaded

Upvotes: 3

Related Questions