Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run HelloWeb from asp.net vnext on a Mac?

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

like image 642
dmportella Avatar asked May 19 '14 13:05

dmportella


3 Answers

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.

like image 149
Eilon Avatar answered Nov 16 '22 19:11

Eilon


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

like image 45
Ricky Avatar answered Nov 16 '22 19:11

Ricky


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.

like image 1
austinheiman Avatar answered Nov 16 '22 20:11

austinheiman