April 2017
Beginner
404 pages
9h 30m
English
Nano Server can be used to host ASP.NET Core applications. In this section, we will be using VM created in Azure to host an ASP.NET Core application. Before proceeding we would need a published version of ASP.NET Core application, this can be copied from c:\learningwsc\chapter12\sampleaspnetcoreapp. The following steps are valid for Nano Server created On-Premise or Azure:
$ip = "<<IP Address of Nano Server>>" Set-Item WSMan:\localhost\Client\TrustedHosts -Value $ip $cred = Get-Credential $session = New-PSSession -ComputerName $ip -Credential $cred
Read now
Unlock full access