11 ms·
Running ASP.NET vNext on OS X and Linux
- chillitom 12y agohttps://jabbrlive.blob.core.windows.net/jabbr-uploads/Screen_Shot_2014-05-26_at_192506_0a6a.png https://jabbrlive.blob.core.windows.net/jabbr-uploads/Screen... Followed Graeme's instructions and after about 30 mins spent building the latest Mono I was quickly able to get ASP.vNext up and running on OSX. Found one small mistake in the instructions, the switch --feed should be --source in the kpm restore step.
- chillitom 12y agoAlso a Linux screenshot: https://jabbrlive.blob.core.windows.net/jabbr-uploads/clipboard_b875.png https://jabbrlive.blob.core.windows.net/jabbr-uploads/clipbo...
- rcarmo 12y agoAwesome. I started looking at vNext last week, and stopped short of trying it then due to lack of a Windows machine (which I've set up in the meantime). This will make it a lot easier to experiment with.
- rcarmo 12y agoAwesome. I started looking at vNext last week, and stopped short of trying it then due to lack of a Windows machine (which I've set up in the meantime). This will make it a lot easier to experiment with.
- rbanffy 12y agoMicrosoft sponsoring a cross-platform application environment does not make much sense. Why would they do something that is bad for them in the long run? Why would it make sense for them to release it under an open-source license? Can anyone imagine a compelling business case for this? I am not used to corporations being overly generous.
- marcosdumay 12y agoMaybe they realized that Windows is sinking[1] and if they don't untangle the company from it, the entire Microsoft will sink with it. [1] Slowly, but inexorably. Anyway, this is server side. The only similar act on the client side I can rmember is making Office run on Android.
- rbanffy 12y agoMaybe, but where is their revenue model? They can't monetize it directly like they do Windows after open sourcing it and, if it succeeds, it'll end up taking market share away from Windows with nothing in return. We are still missing something.
- sorenbs 12y agoMS has all the components, but still lot's of developers view the ms stack as boring corporate stuff. Azure has the potential to generate more revenue than the windows line in a few years. For that to happen they need a lot of developers on Azure, and making visual studio + .net super awesome seems like a good way to do it.
- mistermann 12y ago"Sinking" http://seekingalpha.com/article/1970941-microsoft-earnings-hardware-sales-bolster-revenues http://seekingalpha.com/article/1970941-microsoft-earnings-h... Microsoft's Windows Server division is the second largest business unit making up over 20% of its total value. It is also one of the fastest growing divisions of Microsoft. During Q2 FY14, revenue from the commercial segment, which includes servers, commercial office licensing and cloud platform, grew 10% to $12.66 billion driven by higher SQL server sales and adoption of the cloud based Azure platform. Many customers of Microsoft depend on SQL servers for mission critical and business intelligence needs, specifically in the big data analytics domain. As a result, Microsoft's SQL server revenue grew by 11%, outpacing the server market. Additionally, its Azure cloud offering clocked in triple digit growth in revenues. We're encouraged by the continual growth that this division posted, and it is becoming an important driver for Microsoft's value.
- MichaelGG 12y ago> This is your ASP.NET vNext project file .. and not an angle bracket to be seen ! And no comments allowed, either! Changing formats to be hip is fun!
- MartinCron 12y agoMaybe it is possible to put comments in .csproj files, but that isn't exactly a common use case.
- DougWebb 12y agoIt's definitely not a common use case, because VS reformats the csproj files whenever it modifies them. Basically, when you make a change within VS that affects the csproj file, the entire file is pulled in through an XML parser into a DOM representation, modified in-memory, then serialized back out to XML. Frankly, I'm surprised comments are retained at all.
- ygra 12y agoXML comments are part of the DOM and are retained, usually. And Visual Studio has become quite good at not clobbering things it does not modify itself. The project files are still normal MSBuild projects, so editing them by hand to add targets of other customisations isn't exactly uncommon.
- MichaelGG 12y agoExcept the apparent point of using JSON is to make it more human friendly. Otherwise, changing the format is quite pointless and not much of a feature to talk about.
- phillijw 12y agoCan't you use /* ... */ as comment?
- _random_ 12y agoIt's a correct observation. Why switch from an extensible mark-up format to a non-extensible data format?
- tphan 12y agoDisappointing article. A console application isn't ASP.NET.
- itsboring 12y agoI was reading that with a big smile on my face. They're doing a lot of stuff I've been wanting for a while, especially the web server agnosticism. My new LAMP stack: Linux, ASP.NET, Mono, PostgreSQL.
- deleted 12y ago[deleted]
- anilmujagic 12y ago"My new LAMP stack: Linux, ASP.NET, Mono, PostgreSQL." Good one :)
- icantthinkofone 12y agoIt made me laugh, too.
- soAsian 12y agoHow about asp.net webforms? There are still a lot of projects tie up in webforms and not cost effective to rewrite it in mvc. It seem like vNext on Os X and Linux is only for MVC.
- jqm 12y agoWhy exactly would I want this? What benefits does it provide? How is developing in a proprietary ecosystem...even if they do release it "for Linux" any better than developing in something like Python or Ruby? Serious question. If there are real benefits I would love to know about them.
- jqm 12y agoSo, the question is unanswered but someone took the time to express their displeasure that it was asked... Very telling. And I think I now have my answer.
- hpaavola 12y agoLanguages, libraries, performance, ...
- jongalloway2 12y agoIt's too bad you were downvoted, this is a good question. First, I'd question why you'd still think of it as a proprietary ecosystem. It's an open source (Apache 2), cross platform framework. It's not even directly released by Microsoft, it's released under MS Open Tech, which is a foundation just focused on open source development. And it's not just "throw it over the wall open source", it's an open source project that's set up for and encouraging contributions. Even the compiler it runs on is open source, also under Apache 2 (http://roslyn.codeplex.com/license http://roslyn.codeplex.com/license). As for the "why" bit, here are some reasons: - If you're developing on Windows, Visual Studio is a pretty good web editor. That includes Visual Express for Web (free) with the Web Essentials extension (also free, works on Express). You can develop on Windows (inc. a VM) and deploy anywhere. - C# really is a pretty nice language. It's static and compiled, but has support for some dynamic features. Linq is really useful. Generics work well. The language spec is under an open standard. Everyone has their own preferences on languages, but it's pretty nice. - As a web framework running compiled assemblies, it can run pretty fast. - If you're interoperating with .NET and/or Mono, of course this is pretty useful. - C# and .NET are actually really good for cross-platform development (e.g. Xamarin hits ios, android, wp, maybe even tizen soon). For example, C# runs better on my Mac than Ruby does on my Windows machines. - If you find that ASP.NET MVC 6 (the version vNext will run, including MVC / Web API / SignalR) works for you but you don't like Windows, you could dev on Mac / *nix and publish to Azure / Mono / whatever.
- colinramsay 12y agoThere's a few code samples here: https://github.com/aspnet/Home https://github.com/aspnet/Home For some reason I can't get the web ones to work (this is on OSX), I see: System.DllNotFoundException: httpapi.dll
- bkeroack 12y agoThis would be great news, except I trust Mono even less than I trust IIS. At least IIS is fast, even if it breaks in bizarre and opaque ways.