dnx

How do you Install DNX on OSX using Homebrew?

余生颓废 提交于 2019-12-12 07:57:19
问题 Hello Since the big rename of k to dnx I have no idea how to install the tools on my mac? the documentation on the dev branch has not been updated to reflect the big rename https://github.com/aspnet/Home/tree/dev 回答1: The homebrew-k was updated recently to support dnvm. Here the instructions: Install Homebrew if it is not already installed. Run command brew tap aspnet/k to tap the ASP.NET 5 related git repositories. If you had already tapped the repo for previous releases, run brew untap

Microsoft DNX application Angular2 does not run when deployed on Azure

爷,独闯天下 提交于 2019-12-12 05:47:43
问题 I have followed this tutorial describing how to build an ASP.NET MVC app using Angular2 and typescript https://ievangelistblog.wordpress.com/2016/01/13/building-an-angular2-spa-with-asp-net-5-mvc-6-web-api-2-and-typescript-1-7-5/ App deployed locally I made it run on my local machine (Kestrel) after some changes such as the version of the libraries App deployed on Windows Azure does not display the menu Unfortunately, deploying the same application on Windows Azure does not display the menu

VS2015 ASP.NET 5 Empty project doesn't work, can't find ConfigurationBuilder.Build

不问归期 提交于 2019-12-12 02:27:55
问题 Trying out the new VS2015 projects. I was following this tutorial but it's missing something. When I run it I get a 500 error: System.MissingMethodException: Method not found: 'Microsoft.Framework.Configuration.IConfiguration Microsoft.Framework.Configuration.ConfigurationBuilder.Build()'. at Microsoft.AspNet.Loader.IIS.RuntimeHttpApplication.ApplicationStart(IHttpApplication application) at Microsoft.AspNet.Loader.IIS.HttpApplicationBase.InvokeApplicationStart(IHttpApplication application)

dnx web error 500 when try to execute

余生长醉 提交于 2019-12-12 02:24:10
问题 I'm trying to execute in a Mac (El Capitán), the MusicStore example in ASP.NET from the official repository. I have tested it using mono and core, switching in dnvm, but no results. The dnu build is working fine with mono, with core, the build fails. When I execute dnx web, all works fine, but when I execute the project (firs load), I have a 500 error, with this error: An unhandled exception has occurred: Unable to resolve service for type 'Microsoft.Extensions.CompilationAbstractions

Building ASP.NET 5 project in VSO

ε祈祈猫儿з 提交于 2019-12-12 01:23:07
问题 I cannot get VSO to build ASP.NET 5 projects. There seems to be an issue getting the packages. Build steps in VSO: I have the project building in VS 2015 and have "Restore NuGet Packages" checked. Build console output: ****************************************************************************** Starting task: Build solution $/Root/TestApi/Development/TestApi.sln ****************************************************************************** Executing the powershell script: C:\LR\MMS\Services

C# DNX parsing HTML

回眸只為那壹抹淺笑 提交于 2019-12-11 20:19:12
问题 I am trying to parse HTML on DNX (.NET Execution Environment), but I can't find way to do it. As I know DNX was made primary for cross platform web development, therefore there should be something? 回答1: You can try to use HtmlAgilityPack for .NET Core. It's port HtmlAgilityPack library to .net core, which used to parsing html on full .Net Framework. 回答2: I have finally manage to find a way to parse HTML documents. I have used System.Xml.Linq.XDocument class. It is fully supported on DNX, here

.xproj and .json is not recognized in Visual studio

人盡茶涼 提交于 2019-12-11 16:24:05
问题 I have VS 2015 and installed the DNX. But when I open any dnx project in VS , the project is not recognized. What am I missing here? I followed the following example and I was able to run the application throw command like but not to open it in VS https://github.com/aspnet/Home/blob/dev/README.md 回答1: Download and install the Microsoft ASP.NET and Web Tools 2015. 回答2: Finally worked by uninstalling all VS and the DNX then reinstall them. Dont do repair it didn't work 来源: https://stackoverflow

How to make Kestrel update on the fly with Visual Studio?

丶灬走出姿态 提交于 2019-12-11 12:32:20
问题 I have this command (default one) in project.json: "commands": { "web": "Microsoft.AspNet.Server.Kestrel" }, Now after I do run Kestrel and change my controller there is no automatic update. As far as I remember it did work in beta-8 automatically (when there was IISExpress). Is there a way to make the same now? P.S. I also did not find any command apart from Ctrl+C that closes the server that you can run in command line. Maybe there is some hidden one that restarts it? Update: It seems that

ASP.NET 5 IIS on windows 10 HttpPlatformHandler Getting 404 Not found

别等时光非礼了梦想. 提交于 2019-12-11 11:17:31
问题 I have followed the documentation on the ASP.NET site to deploy an ASP.NET5 website on IIS, When I browse the site at http://localhost/mysite I get a 404 Not found: HTTP/1.1 404 Not Found Content-Length: 0 Server: Kestrel X-Powered-By: ASP.NET Date: Wed, 03 Feb 2016 18:15:57 GMT (from fiddler) if I check Application Event logs I find an entry against HttpPlatformHandler: The description for Event ID 1001 from source HttpPlatformHandler cannot be found. Either the component that raises this

Choosing between dnx451 and dnxcore 50 for Azure Web App in terms of functionality, performance, etc

我是研究僧i 提交于 2019-12-10 21:53:49
问题 I am creating a new project that will run in Azure Web App on the new ASP.NET 5. We are not planning to run it on linux or anything like that, at least now. So the question is, should I try to keep both frameworks if possible just in case or I should prefer one of them. There are e.g. much less dependencies that I can use with dnxcore50 which is not so nice. So the main question is: are there any benefits of using dnxcore50 if running in Azure Web App, like: performance, stability, etc. over