Easy Dynamics Blog

Majed Ayoub

Find me on:

Recent Posts

Securing an ASP.NET Core App on Ubuntu Using Nginx and Docker (Part I)

Posted by Majed Ayoub on Oct 31, 2016 10:00:00 AM

Typically, when you develop with ASP.NET you have the luxury of IIS Express taking care of SSL and hosting, however IIS and IIS Express are exclusive to the Windows platform. ASP.NET Core 1.0 has decoupled the web server from the environment that hosts the application. This is great news for cross-platform developers since web servers other than IIS such as Apache and Nginx may be set up on Linux and Mac machines.

This tutorial involves using Nginx as the web server to host a dockerized .NET Core web application with SSL Termination on a Ubuntu machine. In this three-part tutorial, I'll guide you in:

Part I (This post) - 1. Creating and publishing an ASP.NET Core web app using the new dotnet CLI tools and 2. Installing and configuring PuTTY so we may SSH and transfer files with our Ubuntu machine

Part II - Setting up Docker and creating a Docker Image on Ubuntu 16.04

Part III - 1. Configuring Nginx for SSL termination and 2. Building and Running the Docker Image.

Read More

Topics: Visual Studio, ASP.NET Core, Ubuntu, Nginx, Docker

Easy Dynamics: The SharePoint Experts

We are a leading SharePoint Services and Solutions shop located in Washington, DC. 

Thanks for coming to our blog! Here you will find relevant news and information about the technologies we use and other things we find interesting. Want to know more about who we work with? Or our first commercially available product, EasyBox

You can find links to all of these things and more right from this page. Enjoy reading!

Subscribe to Email Updates