I am just started exploring Thrift framework. I'd like to build a Thrift service in C# that will be hosted on a windows server. Right now, according 开发者_开发百科varies tutorials, I am able create a Thrift service within a console application project.
However, I am wondering how the actual Thrift service is going to be hosted under Windows server. Should I build a window service application that launch the Thrift service?
There are three options:
- Console Application
- Windows Service
- Http Service using IIS. Here's a post on how to set it up on IIS.
Yes the choice is in your hands. You can incorporate the thrift service in a console app or a windows service application based on your requirements.
精彩评论