- Since this architecture minimizes the dependency of the. NET Framework from the outset, and does not rely on IIS, the full implementation of code-first at the ORM level is truly database-independent;
- Windows Server Deployment:
- Installed on the Windows Application server. NET Framework version 4.5 and above;
- Copy the post-compilation program to Windows Server and double-click "Demo.exe" to execute.
- Linux Server Deployment:
- Install mono 5 on a Linux server . Version 0 and above;
- Copy the compiled program to a Linux server to perform a "mono Demo.exe" order .
- Docker deployment:
- Download Docker Image:mono
- Execute Docker-related commands to inject the program into it and execute it.
- Summarize:
- In theory, since Mono was produced in 2004, C # applications can be cross-platform, but in fact there are not many successful cases; As of 2017.08.15, Microsoft's. NET Core 2.0 was released, and C # was really moving closer to mainstream large enterprise applications, but because of the limited community resources, The current poor use of the situation;
- Based on this, I still recommend Java EE for large enterprise applications, especially spring Boot, which has been introduced since 2004, and has increased the development speed of Java EE by more than one or more times.
My C # cross-platform Tour (vi): Publish Apps