[Mono-list] Fwd: - Deploying ASP.net MVC in Centos - `help'
Martin Thwaites
monoforum at my2cents.co.uk
Wed Dec 28 22:58:37 UTC 2016
My advice is (for mvc projects only) is to spend the time you have
upgrading to MVC 6, and rewriting any code not compatible with .net core.
Then just run it in core clr (or whatever it's called now).
I've successfully run websites in MVC 5 with apache mod_mono, but given up
as core is the way things are going. If you're greenfield, use that. If
not, and you're not using lots of third party libraries, spend the time
rewriting those in compatible bits.
I can recommend https://icanhasdot.net/ for giving you an idea of how close
to being Core compatible you are.
Thanks,
Martin
On 8 December 2016 at 13:47, Edward Ned Harvey (mono) <
edward.harvey.mono at clevertrove.com> wrote:
> > From: Mono-list [mailto:mono-list-bounces at lists.dot.net] On Behalf Of
> > Marco Ridoni
> >
> > Of course you have to plan
> > in advance for a cross-platform environment (things like paths, user
> > impersonations, etc.), and there are some slight wrinkles here and there
> > (third party components that rely on Windows will not work, ) but my
> > workflow (develop in Visual Studio, build with Mono under Jenkins, test
> > there with JUint, deploy in Linux) is very reliable. I'm not saying this
> is "the"
> > way to go, one should to decide if some (very minor) inconvenience, and a
> > bigger difficulty in setting up the environment, is worth the difference
> in cost
> > for hosting and/or Windows licenses, including the added flexibility of
> using
> > Linux (scripting, usually better peformance, etc.)
>
> That is, indeed, what I was referring to as "a lot of effort." Marco
> describes as "very minor inconvenience." So either he's had more luck than
> me, or is simply better than me, or we have different opinions as to what
> counts as a lot of effort, or maybe I just gave up too easily. Dunno.
>
> In any event, take it as given, that you *can* work this way, but it's not
> clear exactly how easy or difficult it is.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20161228/3b517fd0/attachment.html>
More information about the Mono-list
mailing list