开发者

How can I host a simple WCF as a windows service in 2008?

开发者 https://www.devze.com 2023-03-03 20:00 出处:网络
I have a (very) simple WCF written in VB which I can build and publish locally to IIS. Works great. What I need to do is (somehow) deploy it to a different server which does not have IIS. It\'s suppo

I have a (very) simple WCF written in VB which I can build and publish locally to IIS. Works great.

What I need to do is (somehow) deploy it to a different server which does not have IIS. It's supposed to be run开发者_JAVA技巧 as a windows service.

I have no idea how to do this. All directions on MSDN seem to be for VS 2010 (we're using 2008).

Any help would be appreciated!

Thanks, Jason


Check out the MSDN docs

How to: Host a WCF Service in a Managed Application

It definitely has a version for .NET framework 3.5 / VS 2008, and samples in VB.NET.

OR watch this screencast by Aaron Skonnard on Self-Hosting WCF Services - 10 minutes well spent !!

0

精彩评论

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