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. Hosting Question

Hosting Question

Scheduled Pinned Locked Moved Web Development
csharpasp-netdotnethostingjson
5 Posts 2 Posters 2 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.
  • K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #1

    I'm going to be developing a .Net Core Web API. I'm not really sure what the best approach is for hosting it. I'd like to get your input. If you need more info, please ask. Thanks

    If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

    Richard DeemingR 1 Reply Last reply
    0
    • K Kevin Marois

      I'm going to be developing a .Net Core Web API. I'm not really sure what the best approach is for hosting it. I'd like to get your input. If you need more info, please ask. Thanks

      If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      There is no universal "best" anything. As always, the answer depends on your situation. There are many questions you need to ask yourself before you can pick the right approach for your specific situation. For example:

      • Do you already have a Windows or Linux server you can use?
      • If not, what's your budget and requirements for hosting?
      • If you're using a database, which DBMS are you using, and where is the database located?
      • If you're collecting any data on your API's users, have you researched whether there are legal requirements to host it in a specific country or region?
      • Do you need any of the features that IIS offers[^] which Kestrel doesn't (or vice-versa)?
      • Are you using any platform-specific APIs?

      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      K 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        There is no universal "best" anything. As always, the answer depends on your situation. There are many questions you need to ask yourself before you can pick the right approach for your specific situation. For example:

        • Do you already have a Windows or Linux server you can use?
        • If not, what's your budget and requirements for hosting?
        • If you're using a database, which DBMS are you using, and where is the database located?
        • If you're collecting any data on your API's users, have you researched whether there are legal requirements to host it in a specific country or region?
        • Do you need any of the features that IIS offers[^] which Kestrel doesn't (or vice-versa)?
        • Are you using any platform-specific APIs?

        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        K Offline
        K Offline
        Kevin Marois
        wrote on last edited by
        #3

        I don't really know the answers. I'm building a prototype/POC WPF app for a potential client, and I want to host the back end API somewhere where they can get to it. I probably need some form of cloud based hosting but I don't know much about the topic. - I'm planning to use ASP.Net Core - I'll be looking to use SQL Server - As far as budget, probably not much as it's a POC

        If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

        Richard DeemingR 1 Reply Last reply
        0
        • K Kevin Marois

          I don't really know the answers. I'm building a prototype/POC WPF app for a potential client, and I want to host the back end API somewhere where they can get to it. I probably need some form of cloud based hosting but I don't know much about the topic. - I'm planning to use ASP.Net Core - I'll be looking to use SQL Server - As far as budget, probably not much as it's a POC

          If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          The good news is that ASP.NET Core can be hosted on Linux (so long as you avoid Windows-specific APIs) which will probably be cheaper than Windows hosting. SQL Server 2022 can also run on Linux. So it comes down to whether you want to rent and manage your own VM somewhere in the cloud, or use something like Azure or AWS to host it. The VM would give you more control, but you'd have to set up and manage the server yourself, and you'd probably end up paying a flat rate. With Azure/AWS, you'll likely be charged for what you use, so if you only use it for a couple of hours a month, that's all you'll pay for.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          K 1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            The good news is that ASP.NET Core can be hosted on Linux (so long as you avoid Windows-specific APIs) which will probably be cheaper than Windows hosting. SQL Server 2022 can also run on Linux. So it comes down to whether you want to rent and manage your own VM somewhere in the cloud, or use something like Azure or AWS to host it. The VM would give you more control, but you'd have to set up and manage the server yourself, and you'd probably end up paying a flat rate. With Azure/AWS, you'll likely be charged for what you use, so if you only use it for a couple of hours a month, that's all you'll pay for.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            K Offline
            K Offline
            Kevin Marois
            wrote on last edited by
            #5

            Thanks. I'll look into AWS

            If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

            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