Re: Improving first access to a web service
From: Alvin Bruney [MVP] (vapor)
Date: 02/15/05
- Next message: Chad Z. Hower aka Kudzu: "Re: DBGrid, CurrentRow. Easier way?"
- Previous message: Ryan Trudelle-Schwarz: "Re: Enums"
- In reply to: Joey: "Improving first access to a web service"
- Next in thread: murphy_at_murphysw.com: "Re: Improving first access to a web service"
- Reply: murphy_at_murphysw.com: "Re: Improving first access to a web service"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 21:11:09 -0500
cache duration has nothing to do with initial access.
About the best you can do with the current technology is to encourage your
users to sit and wait :-). If you are anal like me, you can write a little
utility that simply fires a webrequest periodically to keep the application
warm and toasty. That will change for ASP.NET 2.0 so sit tight.
I'd say that 30 seconds is unusually long for startup but I'm not all that
familiar with your implementation.
>From what I've learned this overhead is for
> processing the
>>wsdl file
Not really, the startup cost is a feature (or fault) of .NET
-- Regards, Alvin Bruney [Microsoft MVP ASP.NET] [Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ http://www.lulu.com/owc ---------------------------------------------------------- "Joey" <anonymous@discussions.microsoft.com> wrote in message news:26f901c51300$1aed1540$a401280a@phx.gbl... > > 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! >> >>. >>
- Next message: Chad Z. Hower aka Kudzu: "Re: DBGrid, CurrentRow. Easier way?"
- Previous message: Ryan Trudelle-Schwarz: "Re: Enums"
- In reply to: Joey: "Improving first access to a web service"
- Next in thread: murphy_at_murphysw.com: "Re: Improving first access to a web service"
- Reply: murphy_at_murphysw.com: "Re: Improving first access to a web service"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|