How can I host a simple WCF as a windows service in 2008?
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 !!
精彩评论