[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Webservice Init

Posted on 2006-07-05
9
Medium Priority
?
713 Views
Last Modified: 2008-02-01
I have a webservice that seems to take a good 15 seconds or so to load initially when it's called.  Is there a way to load this when the application is started?  This also occurs after 5 minutes or so, so I'm assuming it's stored in the cache and deleted, then reinitialized.
0
Comment
Question by:thunderchicken
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17044065
1) .NET version?

2) How extensive is the web service?

3) Are you doing anything special, or is it a straight-forward web service?

Bob
0
 
LVL 11

Author Comment

by:thunderchicken
ID: 17044112
1) 1.1
2) It's a rating algorithm for insurance
3) Not really, just passing in a business object

I'm not sure why it's taking so long to init, perhaps there's something in there that's messing it up.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17044175
Compiling the web service should be fairly quick, unless you are talking about a "monster" class that has 100's of methods.  Do you have any external references, such as DLLs?

Bob
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 11

Author Comment

by:thunderchicken
ID: 17044193
I added this webservice as a new project within the solution, then referenced the main project so I could access the classes when it's passed in.

I'm wondering if that has anything to do with it.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17044248
Ok, take a step back and give me the bigger picture:

1) Do you have something like a WinForms client hitting a web service?

2) Is it taking 15 seconds for the WinForms client to authenticate with and instantiate a web service instance?

Bob
0
 
LVL 11

Author Comment

by:thunderchicken
ID: 17044267
No, these are all web pages.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1000 total points
ID: 17044304
What happens if you create a small test application, like a WinForms client, and create an instance to the web server?  Does it take 15 seconds to create?

Bob
0
 
LVL 11

Author Comment

by:thunderchicken
ID: 17044390
I'll give it a shot, I didn't know if it was something easy or "normal", but I guess it's not (which is a good thing).
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17044428
I have a web service that runs from a WinForms client, which gets creates in a second (more or less).  It is a Data Access Layer web service that wraps up access to an Oracle instance, without having to install the client on each and every workstation that needs access to the data.

Bob
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question