iis 7 - Which is the best option to host a nettcp WCF service -


I have a nettcp service that I want to host I have three options -

  1. IIS 7

  2. Windows service

  3. a console application

    If someone can give me some valuable ideas then I would be grateful, on which one option is better than the other.

    Here are some comments for me:

    IIS 7:

    WAS:

  4. Any dependence on IIS
  5. All protocol-supported
  6. / Li> <
  7. Not all shared hosting environments will support non-HT protocol binding or unusual port numbers.
  8. More complex configurations

    Windows service:

    Prof. OS:

    • Windows starts at startup
    • You can start / stop service through service control manager
    • All protocols supported <
      • Some additional steps for deployment / redemption (installutil)
      • You need some extra boilerplate code to support the service implementation < Li> Not ideal if you have The server does not have access to the server (eg

        Console Application:

        Professionals:

        • Fast and easy to deploy for testing
        • All protocols supported

          Cons:

          • To begin the process You need to log on
          • Kill the loss of the session or machine shutdown
          • Requires console / RDP access < / Html>

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -