Improving first access to a web service

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Joey (anonymous_at_discussions.microsoft.com)
Date: 02/15/05


Date: Mon, 14 Feb 2005 17:46:02 -0800


Hi,

Above your web service you can put a cache duration(in
seconds). Not sure if this can help

[WebService(Namespace="http://abc/webservices/",
                    Description="ABC Web Service",
CacheDuration = 30)]

Joey

>-----Original Message-----
>I'm programming a site that displays info from AWS
Commerce Service
>4.0. At each change of the asp.net application the first
load of a
>page that uses the web service takes 30 seconds.
Subsequent calls are
>snappy. From what I've learned this overhead is for
processing the
>wsdl file (which has of course not changed). The file is
large, 2200
>lines.
>
>Is there a way to use this file locally on the web server
or cache the
>result of the read? It would really speed my development
iterations.
>
>Sorry if I'm missing something basic or am asking the
question with the
>wrong terms. I suspect that's why I'm not finding the
answer quickly
>in the newsgroups.
>
>Thanks!
>
>.
>



Relevant Pages

  • Re: Datasets fundamental
    ... assigned to me is something like client has tool that pushes the ... Not really a viable option in a web service ... engine is better at caching than you. ... to use the ASP.NET caching and read records from the cache. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Performance problem with RegEx
    ... Store a DataTable in the Application Cache. ... FTP Client Classes, Enhanced Data Controls, much more. ... Everytime the web service is called, among other things, the webmethod ... I have seen that as I add more regular expressions to test against, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Improving first access to a web service
    ... cache duration has nothing to do with initial access. ... "Joey" wrote in message ... >>page that uses the web service takes 30 seconds. ... >>wsdl file. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Programmatically flush iis cache
    ... I'm using WSE 2.0 to secure a web service. ... about how iis caches items and how to flush this. ... >> Is there a way to flush the cache from a web service? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cant find item in server side cache
    ... Unless your web service and your ASP.Net application are in the same ... application space in IIS, they will not share cache. ... Guid CacheID = Guid.NewGuid; ...
    (microsoft.public.dotnet.framework.aspnet)