15
votes

I watched the stream from TechEd 2014 for the Future of Asp .Net and I saw that they could run vnext projects in MAC. In the Github project doesn't say anything about this feature.

So My questions is how does someone goes about publishing and running the HelloWeb or HelloMVC samples on a MAC.

I noticed that Hanselman and David fowler were using a custom copy of Nowin names Nowin.K is this library going to be release as an example anywhere?

UPDATE

Currently what was shown on teched was a internal build put together show case the direction of the product. The team at microsoft together with the community are working hard to get the asp.net vnext working on linux and osx.

If you want to find out the current status check out on Issue 173 on github.com/aspnet/kruntime.

Once the support in integrated I will update this post and add answer explain how to go about it.

Regards

3
I'm trying to run them on Ubuntu, I believe we need to install the latest Mono. the kvm and kpm are all powershell scripts that execute programs in KRuntime project, for example Microsoft.Framework.PackageManager. We need to execute them manually or create our kvm, kpm scripts for OS X or Ubuntu.Ricky
Its possible to do away with the powershell scripts and just call the kruntime directly. hmm I am going to give it a try too see what I get.dmportella

3 Answers

8
votes

Updated answer Jan 21 '15

There is now updated support for ASP.NET 5 on OS X and *nix. The best information is on the ASP.NET Home Repo on GitHub that has a "Getting Started" section.

For OS X the Homebrew repo is here: https://github.com/aspnet/homebrew-k

For *nix the Docker repo is here: https://github.com/aspnet/aspnet-docker

Original answer from May 24 '14

It seems that you've found the discussion on the ASP.NET vNext "KRuntime" repo. Unfortunately the team is still in the midst of getting ASP.NET vNext working on Mac / Linux. What was shown at Tech Ed was live running code but using a lot of custom builds (e.g. Mono, as well as ASP.NET vNext). The team has been coordinating work with Miguel de Icaza to ensure that Mono has the required components for ASP.NET vNext. A lot of progress has been made, and it's getting very close, but it's not quite there.

4
votes

As of the year 2015, the the post below is outdated.

A post has come out: ASP.NET vNext on OSX and Linux I will give it a shot, see if I can run HelloMvc on Ubuntu 14.04

1
votes

I think what you might be looking for is Mono. Described as:

Cross platform, open source .NET framework

Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become the leading choice for development of cross platform applications.