web services - Startup time of webservice -


i have wcf web service running in iis. lot of load work in service constructor

namespace wcfservice_myservice {     [servicebehavior(instancecontextmode = instancecontextmode.single)]     public class service1 : iservice1    {        public service1()        {           trace("service starting");           ...load work...           trace("service ready accept requests");        }         ... more functions...    } } 

but service restarted when hasn't finish load yet. have log files , see service restarted. suppose because takes 7 seconds start , suppose because iis thinks not responding creates new one. correct?

can tell iis wait longer?

i don't want have thread load because don't want accept requests until loaded. , told loading process long never more 10 seconds.

any ideas? thanks


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -