开发者

where is it recommended to install WCF web services?

开发者 https://www.devze.com 2023-01-24 04:42 出处:网络
I know you can install it anywhere physically and point the IIS applcation to the service.What I can\'t find out is where it is most common to install the service itself.Is it Program Files, InetPub,

I know you can install it anywhere physically and point the IIS applcation to the service. What I can't find out is where it is most common to install the service itself. Is it Program Files, InetPub, different location, or anywhere you want 开发者_运维百科it doesn't matter.


It really doesn't matter, quite honestly.

If you're self-hosting, then you just install those WCF services wherever you install your app - any directory will be fine (typically under c:\program files\(yourcompany)\(yourproduct) or something).

When hosting in IIS: I would probably put them into e.g. a Services subdirectory under your app, if they're part of an app that contains other parts (e.g. ASP.NET, Winforms, WPF etc.), and create a virtual directory on that directory on disk.

0

精彩评论

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