开发者

Upgrading my self hosted WCF service from 3.5 to 4.0 Slowed down the stratup of the service on system boot

开发者 https://www.devze.com 2023-03-08 23:38 出处:网络
In My winform application I have implemented self hosted WCF service accessible only on LAN. Previously my app was in framework 3.5, now

In My winform application I have implemented self hosted WCF service accessible only on LAN.

Previously my app was in framework 3.5, now I have migrated 开发者_如何学Cto 4.0.

My application is ment to start on windows startup, and previously it was working fine.

After the migration from 3.5 to 4.0. It has started taking around 1.5 minutes to strart.

Do any of you have any Idea about this annoying delay.

Regards, Nitin


I've seen a bunch of issues with load times of WCF services over the years. My advice to you is to run the 3.5 version on a local workstation you can monitor with Windows Process Monitor and then do the same for the 4.0 version and compare the difference. I've seen differences from debug settings (which result in dynamic proxy creation and compilation) to .NET framework conflicts. Please post what you find with Process Monitor so that the community can benefit from your experience.

0

精彩评论

暂无评论...
验证码 换一张
取 消