News for hackers. Stuff that matters.
Re:Announcing .NET Core and ASP.NET 5 RC by mattmanser on Wednesday November 18, 2015 @11:39AM (#10588783)

    @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{iex ((new-object net.webclient).DownloadString('https://dist.asp.net/dnvm/dnvminstall.ps1'))}"
Hmmmmmmmm. Technically they do. Can't tell if this is a joke...
Re:Announcing .NET Core and ASP.NET 5 RC by Taren on Wednesday November 18, 2015 @11:54AM (#10588911)
Alright, let's be fair here. If you have a sensible execution policy set which you basically have to the first time you use powershell it is only:

Invoke-WebRequest https://dist.asp.net/dnvm/dnvminstall.ps1 | Invoke-Expression

or this for short:

iwr https://dist.asp.net/dnvm/dnvminstall.ps1 | iex

Also, the powershell package manager is quite nice. So far it is basically chocolatey for me but if there are some more it can handle in the future... https://github.com/OneGet/oneget/issues/77

Re:Announcing .NET Core and ASP.NET 5 RC by manicgeek on Wednesday November 18, 2015 @04:34PM (#10590911)
Yeah, unfortunately that nice clean syntax requires a fairly recent version of PowerShell so the code we actually use has to be a bit verbose for compat :)

Source/Disclaimer: I work for the ASP.NET team

Re:Announcing .NET Core and ASP.NET 5 RC by rylee on Wednesday November 18, 2015 @12:08PM (#10589030)
heh, the Microsoft curl|sh.
Re:Announcing .NET Core and ASP.NET 5 RC by Taren on Wednesday November 18, 2015 @12:15PM (#10589072)
Yeah, they copied a lot of the syntax over. To the point that there is an alias for curl by default. Probably a good thing, though.
Re:Announcing .NET Core and ASP.NET 5 RC by UK-AL on Wednesday November 18, 2015 @11:57AM (#10588935)
That got a lot boilerplate on it on purpose, to make you have the right ExecutionPolicy(Powershell won't let you run random scripts, unless you override it), etc.