Need documentation on Installing Asp.Net VNext on Windows Server 2016 Container edition.

Hello All,

I want to run asp.net vnext applications inside the containers in Windows Server 2016. I need to install Asp.Net Mono/Core (DNX). Please route me to the documentation. Many thanks!

Regards,

Viswanatha Swamy

August 26th, 2015 2:00am

Hi Viswanatha,

Sorry but currently we do not have much documentation about installing applications on Windows Server 2016.

You can also post a thread to ASP.NET forum to see if there is any other user trying to install it on a Windows Server 2016 system.

http://forums.asp.net/

Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 11:45am

Run: Enable-WindowsOptionalFeature -Online -FeatureName Web-Server

For installing ASP.NET 5.0 check here: http://docs.asp.net/en/latest/getting-started/installing-on-windows.html

Shawn Gibbs

Update: I should have included these helpful links:

-          Running container host locally, scripts and VHD host links included. https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/container_setup

-          Running IIS in container using PowerShell or Docker. This creates an IIS container https://github.com/Microsoft/Virtualization-Documentation/tree/master/windows-server-container-samples/iis-10.0

-          Fairly short getting started with publishing to container https://weblogs.asp.net/scottgu/announcing-windows-server-2016-containers-preview (VS Docker Extension is used)

For video of example Docker asp.net 5.0 deployment see here: https://channel9.msdn.com/Series/Docker-for-NET-Developers/Deploy-your-ASPNET-5-App-to-a-Docker-Container-in-five-minutes




August 27th, 2015 4:25pm

Shawn,

I have created ASP.net vNext application in Visual Studio 2015. I have used Docker tools for VS 2015. Created the Windows Server 2016 VM and published my asp.net vnext application inside a container. I have added network security group the NIC of this VM. I have opened up port 80. When I am trying to access the web application hosted inside the container; I was getting the page cannot be displayed. When I did "docker ps -a". I found the PORTs column was empty.

Ubuntu VM: I was successfully hosted the asp.net vnext application inside the container and was able to access it from my laptop in IE browser.

Windows Server 2016: I am able to host the application inside the container. But unable to access it. Found that I have to do some changes to NAT. Working on it.



Free Windows Admin Tool Kit Click here and download it now
September 5th, 2015 6:17am

Shawn,

Looks like something to do with NAT.

September 5th, 2015 10:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics