.net - Deploy ASP.NET MVC on Linux: Best Practices, Tools & Surprises -
I think about the best practices of developing ASP.NET mvc apps with an option to deploy on Linux I am here. If you are building these types of MVC applications, then
- Are you targeting the Linux / Mono platform?
- How much are you developing on Windows and on how much Linux?
- Are you using an ORM of the database summary? which one?
- Are you running a build engine on Linux? What about testing?
- What other devices are you using?
- How much extra work has been done to target Linux in addition to Windows?
- Is the company working for a target on the ugly or mono on Linux, as is on our Linux main deployment environment, there is no additional "work" in this way - from the hardware, the entire heap is operating system (Customized and trim) to provide applications. Open source uses large savings in us and our customers (and yes, we rely on OS projects that we trust).
The important thing is that you have your real goals (sorry, do not trust mono windows). Of course, developers use visual studios, but continuous integration (using, you will need Mono 2.4.2 to run on Linux) is done both on Windows and Linux, which hope to work on all mono versions (It is very stable lately, but still, there are regressions during the release). Running on a * NIX system is quite easy, if you prefer catching up fast over the river, you can also include an SVN snapshot build if you do not do your own distribution roll, remember That most Linux vendors send mono with a custom patch - before that problems have arisen for us. Apart from this, it takes a lot of time to update mono in many distributions, and this is a fast moving project.
For the database level we are mostly "plain" ado. Net-Oracle (with, they support mono) and use SQLite (mono ships with a working connector). I have also used official and also works well. ORM mapping is more difficult, but NHibernate is useful (be aware that they not officially support mono.)
For construction engines and tests - and well Known and well-tested Mono XBill has actually been usable with most recent versions, but if you decide to use it for more complex scenarios, then many more To prepare themselves to contribute Ray patches.
Write a lot of tests Be prepared to contribute patches and bugreports, and if you use commercial components - make sure the supplier officially supports Mono.
Comments
Post a Comment