Good news! Good news! The same way you can run Linux with the ASP. NET Framework class Library is also available!
Yes, you did not read wrong! ASP. NET Core 2.0,.net Framework class library, Linux all to you, not 998 only 10 minutes to complete the ultimate operation!
Writing is not good, coupled with a bit sleepy late at night, not much to say directly to the point:
The following non-personal original, from the Woo cloud boss, on Mono Run the ASP. NET Core 2.0 method:
The normal choice of ASP. NET Core Web Development
Change. NET core to the. NET Framework in the upper-left corner
Right-click Edit csproj file
Add multi-system support (be careful not to make typos)
Modify the configuration at publish time to change the target runtime to Ubuntu
Delete the dll shown and upload it to Linux
Run the program using the Mono command (put it in the/var/www/default directory for easy operation)
http://www.mono-project.com/download/#download-lin (for the command to install Mono, please refer to the official website)
Paired with Jexus
https://www.jexus.org/(because mono is already installed, use Curl Https://jexus.org/release/install|sh to install the Jexus universal version, note: Run the install command, Requires the operator to have root privileges. )
Modify the/usr/jexus/siteconf/default configuration file as above.
Finally, use the ultimate command/usr/jexus/jws start to run the Web site.
Here is my real, ASP. NET Core 2.0 + EF6 + Linux +mysql (originally wanted to try Oracle, but this database is too cumbersome to install, only by other warriors to try)
The code is below, to tell the truth this kind of mash-up is quite interesting (note that the Mysql.data version is not too high, the version that supports. NET standard is problematic, and time is wasted here t_t. )
Original: http://www.cnblogs.com/jzfan/archive/2017/10/27/7741074.html
"ASP. NET Core" ASP 2.0 + EF6 + Linux +mysql Mashup