Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Services (http://www.velocityreviews.com/forums/f64-asp-net-web-services.html)
-   -   Some daft Questions About web Services (http://www.velocityreviews.com/forums/t787265-some-daft-questions-about-web-services.html)

Namshub 09-05-2007 02:38 PM

Some daft Questions About web Services
 
I understand web services and have coded them but I don't understand the
some basic concepts.

1) Does the service run as a website. The question may seem daft until the
next question.
2) Using the Applications setting (my.setting.etc) is that resident in
memory and stays in memory on first read or does it continually read the
config file for the settings. (much like setting application varaible on
Application start in the Global.asx) - There are 15 app settings used within
this application and would prefer them to be all resident in memory rather
than keep reading the config file.
3) if not is it worth adding in a Global.asx (if the application runs like a
standard website) for a performace improvement.

Thanks



John Saunders [MVP] 09-05-2007 04:32 PM

Re: Some daft Questions About web Services
 
"Namshub" <Richard.Pullen@NoSpam.Southend.nhs.uk> wrote in message
news:%23Ft$6n87HHA.5504@TK2MSFTNGP02.phx.gbl...
>I understand web services and have coded them but I don't understand the
>some basic concepts.
>
> 1) Does the service run as a website. The question may seem daft until
> the next question.


Yes. It runs as a web application.

> 2) Using the Applications setting (my.setting.etc) is that resident in
> memory and stays in memory on first read or does it continually read the
> config file for the settings. (much like setting application varaible on
> Application start in the Global.asx) - There are 15 app settings used
> within this application and would prefer them to be all resident in memory
> rather than keep reading the config file.


This would be resident in memory until it changes on disk, at which time the
AppDomain will restart.

> 3) if not is it worth adding in a Global.asx (if the application runs like
> a standard website) for a performace improvement.


No, not in general.

I usually recommend that performance improvements be left until it is clear
that they are needed. Otherwise, one might spend time solving the wrong
problem.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer



All times are GMT. The time now is 08:38 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.