Creating a WCF ServiceHost object takes three to four minutes on some PCs -
I have created a WCF service that does not use app.config to configure itself. However, it takes three to four minutes to build a servicehost object on some PCs. I was thinking that there was something wrong with my service, I created a simple hello, world service and tried to do this with me I have only one problem.
According to the profiler, currently reading in the configuration for this service is spent reading.
So I have two questions really
-
Is it possible to disable config for configuring XML?
-
More importantly, does anyone know why this might be taking an extraordinary amount like this?
Here is the sample service: > I need the reasons for the design to make the service and pass it as an object instead of passing it as an object. If there is any other information that can be used, please tell me. Many thanks.
Is the server connected to the Internet?
If not, try the following:
- Open Internet Explorer
- Tools -> Internet Options -> Advanced Tab
- Scroll down for security and disable checks for 'Check for publisher's certificate revocation' and 'Signature of downloaded signature programs'
In some cases this speed is very high It appears on your computer of unrelated processes, in which various MS functions Ramon (especially communication and startup speed of Visual Studio).
Comments
Post a Comment