Creating a TCP Server in IIS

Michael Benk 21 Reputation points
2020-12-07T22:31:48.07+00:00

Hello Everyone,

We are working on a project which involves remote devices and the end user via a media player to send & receive command messages in order to retrieve and watch video footage (MDVR).

Can you advise wether IIS can be the gateway between the devices and how to configure IIS accordingly please.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
{count} votes

Accepted answer
  1. Bruce Zhang-MSFT 3,736 Reputation points
    2020-12-09T02:25:28.593+00:00

    Hi @Michael Benk ,

    You can use Ocelot in .NET Core to create a .NET Core API application.

    Design the route. You need a Router class to hold all the existing routes.
    Then create a destination class. Each route should have an endpoint and destination, destination have uri and requestAuthentication field.
    Create SendRequest method to send request to correct URI and get response back.
    The most important is creating the json parser. It used t read a json file into an object and deserializing a json object.

    More detailed steps can be obtained from here.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    2 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Michael Benk 21 Reputation points
    2020-12-08T06:32:15.397+00:00

    Hello Bruce,

    Thank you for your reply.

    That is exactly what I am after. Thank you

    0 comments No comments

  2. Michael Benk 21 Reputation points
    2020-12-09T04:40:07.1+00:00

    Hello Bruce,
    Thank you for that.

    Can you advise where I can find Ocelot please.

    I am running Windows server 2019 via AWS


  3. Michael Benk 21 Reputation points
    2020-12-09T04:46:41.557+00:00

    Can I ask if I can forward you a PDF privately so you can confirm what we need and if there's anything else we need please?

    0 comments No comments