dnx

How to fix DNX/DNVM in Visual Studio 2015?

喜你入骨 提交于 2019-11-27 07:22:15
Today I installed VS 2015 on Windows 7 x64. Mainly to test new .Net Core features and etc. And for test I created new C# "Console Application (Package)" solution and got this message: DNX SDK version 'dnx-clr-win-x86.1.0.0-beta5' failed to install. The solution will use DNX SDK version ‘dnx-clr-win-x86.1.0.0-beta5’ for this session. I can't compile and debug project. Also, when I have opened debug tab in project properties then VS crashed. DNVM output when I opened solution: Invoke-Command : The term 'x86' is not recognized as the name of a cmdlet, func tion, script file, or operable program.

How do I get the kestrel web server to listen to non-localhost requests?

雨燕双飞 提交于 2019-11-26 23:55:42
I've deployed my c#, asp.net 5, mvc 6 app to a windows 2008 server. I've fired up dnx web and it is listening to port 5000 and works fine when accessing from local computer. How do I get it to listen to non-localhost requests? P.S. This question is not a duplicate of this...it refers to asp.net pre RC1 when hosting.ini actually had an .ini format. Now, it's JSON and I can't find any documentation on what should actually be in it. P.P.S. The real solution is in the non-accepted answer to the linked question, with a massive caveat. Steps: Change your project.json per the linked answer. Publish

How can I diagnose missing dependencies (or other loader failures) in dnx?

狂风中的少年 提交于 2019-11-26 23:49:02
问题 I'm trying to run a modified version of the HelloWeb sample for ASP.NET vNext on DNX using Kestrel. I understand that this is very much on the bleeding edge, but I would hope that the ASP.NET team would at least keep the simplest possible web app working :) Environment: Linux (Ubuntu, pretty much) Mono 3.12.1 DNX 1.0.0-beta4-11257 (I have 11249 available too) "Web app" code, in Startup.cs : using Microsoft.AspNet.Builder; public class Startup { public void Configure(IApplicationBuilder app) {

Is .NET Execution Environment (DNX) similar to mono?

流过昼夜 提交于 2019-11-26 22:37:22
问题 Here is the description of DNX: The .NET Execution Environment (DNX) is a software development kit (SDK) and runtime environment that has everything you need to build and run .NET applications for Windows, Mac and Linux. It provide a host process, CLR hosting logic and managed entry point discovery. DNX was built for running cross-platform ASP.NET Web applications, but it can run other types of .NET applications, too, such as cross-platform console apps. Is DNX alternative of mono? If not,

Project.json definition dnx451 vs .dotnet ( 4.51)

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-26 15:43:55
问题 I've some In asp vnext I can define 3 Types of runtime dnxCore dnx451 dotnet In Project.json it looks like this: "frameworks": { "dotnet": { }, "dnx451": { }, "dnxcore50": { } }^ and the ui shors this I assume the following: dnxCore is the new .net Core Framework. dotnet is the previous runtime dnx451: What is different when defining "dotnet" or "dnx451" in the project.json? Shouldn't both run with the .net execution runtime? Also depending on which project template i choose ( vNext ClassLib

How do I get the kestrel web server to listen to non-localhost requests?

a 夏天 提交于 2019-11-26 09:16:25
问题 I\'ve deployed my c#, asp.net 5, mvc 6 app to a windows 2008 server. I\'ve fired up dnx web and it is listening to port 5000 and works fine when accessing from local computer. How do I get it to listen to non-localhost requests? P.S. This question is not a duplicate of this...it refers to asp.net pre RC1 when hosting.ini actually had an .ini format. Now, it\'s JSON and I can\'t find any documentation on what should actually be in it. P.P.S. The real solution is in the non-accepted answer to