ASP .NET Core on Nginx

Open source dotNET MVC framework from Microsoft

.NET Core is the successor to the .NET Framework, it's free and open source provided by Microsoft. ASP.NET Core is the .NET Core version of ASP.NET: a web application framework for developing dynamic web pages with C#.

This appliances includes all of the standard features in TurnKey Core, and on top of that

  • ASP.NET Core (provided by upstream Microsoft debian repos)
  • MariaDB install
  • ASP.NET Example App in C#
    • Installed to /var/www/aspnetcore-src
    • Pre-compiled (published) app in /var/www/aspnetcore
    • Pomelo MySQL/MariaDB backend for EF Core
    • Example MariaDB with EF Core page
  • SSL Support out of the box.
  • Webmin modules configuring PHP and MySQL

Further reading:

EF Core (Entity Framework Core) is a powerful ORM, used in the Turnkey Example App.

Usage details & Logging in for Administration

No default passwords: For security reasons there are no default passwords. All passwords are set at system initialization time.

Ignore SSL browser warning: browsers don't like self-signed SSL certificates, but this is the only kind that can be generated automatically. If you have a domain configured, then via Confconsole Advanced menu, you can generate free Let's Encypt SSL/TLS certificates.

Web - point your browser at either:

  1. http://12.34.56.789/ - not encrypted so no browser warning
  2. https://12.34.56.789/ - encrypted with self-signed SSL certificate

Note: some appliances auto direct http to https.

Username for database administration:

  1. Adminer; login as MySQL username adminer:

    https://12.34.56.789:12322/ - Adminer database management web app

  2. MySQL command line tool; log in as root (no password required):
    $ mysql --user root
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    mysql>
    

Username for OS system administration:

Login as root except on AWS marketplace which uses username admin.

  1. Point your browser to:
  2. Login with SSH client:
    ssh root@12.34.56.789
    

    Special case for AWS marketplace:

    ssh admin@12.34.56.789
    

* Replace 12.34.56.789 with a valid IP or hostname.