Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Cloud Computing
  4. Can a SignalR chat "hub" be hosted on AWS/LightSail?

Can a SignalR chat "hub" be hosted on AWS/LightSail?

Scheduled Pinned Locked Moved Cloud Computing
csharpasp-netsharepointcomwindows-admin
3 Posts 3 Posters 21 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    victorbos
    wrote on last edited by
    #1

    The short answer appears to be no. Background: I am a SignalR/web newbie. My goal is to learn a bit about both these. So I created a chat hub based on the [Tutorial: Real-time chat with SignalR 2 | Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr). It worked nicely in VS2017. Then I spent many hours fruitlessly trying to get it to run under IIS on an AWS/LightSail VPS. I kept thinking the source of my problem was my ignorance. Turns out, to paraphrase Arthur Conan Doyle (of Sherlock Holmes fame) “Once you eliminate all the possible causes, whatever remains, no matter how improbable, must be the truth.” That's the long explanation to the short answer above! Appears as though Microsoft will not allow AWS to host SignalR, as it perhaps does not want competition (for Teams and such) from Amazon! Hopefully this will save someone a similar painful experience. (BTW: I have since learned that AWS has introduced AWS Websockets API. If you are interested, you might want to take a look at this nice article [Which is best? WebSockets or SignalR - Dotnet Playbook](https://dotnetplaybook.com/which-is-best-websockets-or-signalr/).)

    J L 2 Replies Last reply
    0
    • V victorbos

      The short answer appears to be no. Background: I am a SignalR/web newbie. My goal is to learn a bit about both these. So I created a chat hub based on the [Tutorial: Real-time chat with SignalR 2 | Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr). It worked nicely in VS2017. Then I spent many hours fruitlessly trying to get it to run under IIS on an AWS/LightSail VPS. I kept thinking the source of my problem was my ignorance. Turns out, to paraphrase Arthur Conan Doyle (of Sherlock Holmes fame) “Once you eliminate all the possible causes, whatever remains, no matter how improbable, must be the truth.” That's the long explanation to the short answer above! Appears as though Microsoft will not allow AWS to host SignalR, as it perhaps does not want competition (for Teams and such) from Amazon! Hopefully this will save someone a similar painful experience. (BTW: I have since learned that AWS has introduced AWS Websockets API. If you are interested, you might want to take a look at this nice article [Which is best? WebSockets or SignalR - Dotnet Playbook](https://dotnetplaybook.com/which-is-best-websockets-or-signalr/).)

      J Offline
      J Offline
      Jhonalbert
      wrote on last edited by
      #2

      May you want to make sure you'll get information about the Than you keep in mind some basic specs to buy your laptop.

      best gaming laptop under 2000 in 2021

      1 Reply Last reply
      0
      • V victorbos

        The short answer appears to be no. Background: I am a SignalR/web newbie. My goal is to learn a bit about both these. So I created a chat hub based on the [Tutorial: Real-time chat with SignalR 2 | Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr). It worked nicely in VS2017. Then I spent many hours fruitlessly trying to get it to run under IIS on an AWS/LightSail VPS. I kept thinking the source of my problem was my ignorance. Turns out, to paraphrase Arthur Conan Doyle (of Sherlock Holmes fame) “Once you eliminate all the possible causes, whatever remains, no matter how improbable, must be the truth.” That's the long explanation to the short answer above! Appears as though Microsoft will not allow AWS to host SignalR, as it perhaps does not want competition (for Teams and such) from Amazon! Hopefully this will save someone a similar painful experience. (BTW: I have since learned that AWS has introduced AWS Websockets API. If you are interested, you might want to take a look at this nice article [Which is best? WebSockets or SignalR - Dotnet Playbook](https://dotnetplaybook.com/which-is-best-websockets-or-signalr/).)

        L Offline
        L Offline
        Leeladhar Ladia
        wrote on last edited by
        #3

        MS Azure SignalR Service doesn't have in-built support for other serverless platforms. Like AWS Lambda or Google Cloud Functions.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups