Host ServiceStack, MVC3 or MVC4 on mono or windows and what is the state of mono

前端 未结 1 526
醉酒成梦
醉酒成梦 2021-02-06 13:21

I am trying to decide what stack to use for a new web based backoffice system. We develop in C# and are going to use ServiceStack and/or ASP.NET MVC. Our customer prefers hostin

相关标签:
1条回答
  • 2021-02-06 14:03

    ServiceStack.net has always run on Linux/Mono

    Note all live demos hosted on servicestack.net are running on an Ubuntu linux vServer. servicestack.net has always been hosted on Linux/Mono for years, in-fact before moving to an Ubuntu vServer from hetzner our old CentOS server had an up-time of 480 days. We consider Mono an increasingly important platform to support as we expect the advent of linux-only clouds to be an important competitive advantage since it allows you to scale at $0 software licensing cost.

    Developing on Windows with VS.NET and deploying to Mono/Linux

    For all of ServiceStack live demos we develop on Windows with VS.NET but we git-deploy and build and host on Linux. As outlined in our Release Notes we take special care to support Mono as a first-class citizen where we apply normalizing behaviour as much as possible so porting an existing IIS/ASP.NET site remains trivial (i.e. you should be able to copy and run the binaries as-is!) - this extends to the external dependencies we adopt which are influenced by their support of Mono.

    All demos including the Razor Live demo is hosted on Mono/Linux

    All ServiceStack demos are hosted on Linux, this includes the Razor example which has 2 versions deployed and hosted on Mono, i.e.

    • razor.servicestack.net - ASP.NET Hosted live demo powered by Linux / Nginx / MonoFastCGI
    • razor-console.servicestack.net - Self-Hosted Console App hosted behind Nginx Reverse Proxy

    You may want to look at this question for different ways to host ServiceStack on Linux.

    0 讨论(0)
提交回复
热议问题