3 ms·
anyone here could give the ideal dev environment for developping on mac and deploying on linux while programming with asp.net core ?
by bsaul 11y ago
anyone here could give the ideal dev environment for developping on mac and deploying on linux while programming with asp.net core ?
- SloopJon 11y agoI don't know about ASP.NET Core, but I couldn't get .NET Core to work on my Mac. I installed the "official PKG." I then ran `dotnet restore` for a project I was trying to run (https://github.com/atemerev/skynet https://github.com/atemerev/skynet). It downloaded a couple hundred packages, then failed with an error like, "there is no run-time assembly compatible with osx.10.9-x64." I guess it requires a newer version of OS X, but neglects to check at install time. I continue to use Mono and Xamarin Studio, although I'm stuck on an old version of Xamarin for now because I'm using Mavericks. At some point, I'd like to try OmniSharp with Emacs.
- ZenoArrow 11y agoEasiest way to ease yourself into ASP.NET programming on a Mac is probably to use Xamarin Studio: http://lastexitcode.com/blog/2016/01/01/DNXSupportInXamarinStudio/ http://lastexitcode.com/blog/2016/01/01/DNXSupportInXamarinS... It's free too (use the download link at the end of the page): https://xamarin.com/studio https://xamarin.com/studio
- jongalloway2 11y agoEasiest way to get set up is to run the installers at http://get.asp.net http://get.asp.net - there are installers for Windows / OS X / Linux there. If you'd rather install via command-line, there are walkthroughs for all platforms here: https://docs.asp.net/en/latest/getting-started/index.html https://docs.asp.net/en/latest/getting-started/index.html There's an easy tutorial showing how to dev on OS X using Yeoman and VS Code (free) here: https://docs.asp.net/en/latest/tutorials/your-first-mac-aspnet.html https://docs.asp.net/en/latest/tutorials/your-first-mac-aspn...
- bsaul 11y agoSeems like deplying on linux server is still a second class citizen, am i right ? Different, slimmed down framewoek, not so many resources for using clouds other than azure (didn't find any article for deploying on heroku using official tools for example). That's not really surprising, because ms still got to make some money somehow, but that means i'll have to wait a bit longer to get anything descent on the server side..
- jcrts 11y agoPart of the point of the new asp.net core is that it's slimmed down everywhere, not just linux (you're not getting jipped, they're just cutting off weight you don't need). And to be fair, other cloud providers are responsible for implementing their own C# IaaS stack. To use heroku as an example, they implement their own stack and add languages that they support at their own pace (I think they only allowed JS/Python/PHP/Ruby the last time I used them).
- benaadams 11y agoThis article is about that "different slimmed down framework"; which is 24x faster than the previous full framework.