7 ms·
Microsoft is on a roll - they've got command line installable packages of the .NET execution environment for all 3 platforms - OSX, Linux and Windows! (http://g
by blinkingled 11y ago
Microsoft is on a roll - they've got command line installable packages of the .NET execution environment for all 3 platforms - OSX, Linux and Windows! (http://get.asp.net/OtherDownloads http://get.asp.net/OtherDownloads)
Can't wait to figure out what you can do with this on Linux. Anyone knows? Maybe not desktop apps but Web Apps should be doable at this stage?
- WhitneyLand 11y agoThink of how things could have been if this were done since ASP.NET v1...
- SideburnsOfDoom 11y agoDifferent eras, different revenue sources, different incentives. In the days of ASP.NET v1, MS made money from server licences to run IIS and ASP. These days they want to make money from Azure, and they make money regardless of if it's hosting .Net, PHP, Java or node.js; or on linux or windows. The .Net open stack becomes a loss leader. Ironically, it's also going to greatly improve .Net on AWS.
- swalsh 11y agoThe last time I checked out Azure there were no shortage of ways to get locked into their ecosystem. My favorite though is this guy https://azure.microsoft.com/en-us/documentation/services/machine-learning/ https://azure.microsoft.com/en-us/documentation/services/mac...
- mrspeaker 11y agoYeah, I was thinking this too... that's when I was a .NET developer. Then the alt.net train started and (ironically?) lead me to discover the world outside the .NET and windows ecosystem. If things were more cross-platform back at the time I probably would have stuck around.
- mattmanser 11y ago@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...
- Taren 11y agoAlright, 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 https://dist.asp.net/dnvm/dnvminstall.ps1 | Invoke-Expression or this for short: iwr https://dist.asp.net/dnvm/dnvminstall.ps1 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 https://github.com/OneGet/oneget/issues/77
- rylee 11y agoheh, the Microsoft curl|sh.
- Taren 11y agoYeah, 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.
- manicgeek 11y agoYeah, 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
- UK-AL 11y agoThat 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.
- runfaster2000 11y agoThere are two major scenarios that we are targeting on top of Core: - ASP.NET 5 web apps and services - see: https://github.com/aspnet/home https://github.com/aspnet/home - Native executables - see: https://github.com/dotnet/corert/blob/master/Documentation/intro-to-corert.md https://github.com/dotnet/corert/blob/master/Documentation/i... What do you think? Disclosure: .NET Core team member
- blinkingled 11y agoThanks! That's actually awesome and covers both use cases I care about personally. I am going to download it later today and try out - been preparing myself by reading C# code over past few weeks, so this is perfect timing. I am interested in finding out how it compares right now to Java for building web apps and services - in terms of DB access, various ORM stuff etc.
- mdgrech23 11y agoI think it's awesome. I've been a Mac/Linux convert for over a decade now but I really really like C# and ASP.NET. The Visual Studio Code editor is awesome, the command utilities work great so far.
- crag 11y agoWait. Wait. Are you saying it is now possible to write c#/ASP on mac?
- sigzero 11y agoYou have been able to write C# for a while now.
- chrshawkes 11y agoWhere is an example of this on Ubuntu? possibly a .NET site running on Ubuntu?
- shanselman 11y ago
- mattkrea 11y agoWondering if it actually uses CoreCLR on Linux/Mac.. it definitely did not for quite a long time.
- manicgeek 11y agoIt does! Mono is still an option but CoreCLR is also considered supported and ready to use in the RC.
- mmgutz 11y agoThe big issue, is SQL Server the only production ready database supported? SQL Server is not a viable option in the open source world. There is an Alpha version of the PostgreSQL npgsql driver, not sure how solid it is. Moreover, is CoreCLR production ready on Linux? I haven't read 3rd party critical reviews or comparisons against JVM/Go/node.js on Linux. I don't have fond memories of putting faith in Mono/XSP.
- spo81rty 11y ago.net supports all major database providers. But may need to wait for them to be made compatible with coreclr.