Questions tagged [dnx50]
54 questions
2
votes
1 answer
How to switch between ASP.NET 4.5 and ASP.NET Core?
I want to implement logger (say log4net) into ASP.Net 5 and MVC 6 Web application, right now log4net doesn't supported for DNX core, therefore I want it to implement in DNX 4.5 (full .net framework) and later on switch into DNX core when log4net is…

Amol D
- 31
- 3
2
votes
3 answers
System.DllNotFoundException: Unable to load DLL 'libuv'
For me it was never an issue before I installed Newtonsoft.Json package using dnu (dnu install Newtonsoft.Json), which added the package to the project and wrote an entry in project.json as "Newtonsoft.Json": "8.0.1" under dependencies node.
dnu…

Subrata Sarkar
- 2,975
- 6
- 45
- 85
2
votes
1 answer
Sonar Qube Analysis for DNX Projects
I am using dot net 4.6.1 and dnx Rc1 Update 1 so i have project extension as webapplication1.xproj.
When I am trying to execute sonar runner, I am getting this project as Skipped one. At end step, getting this information:
MSBuild SonarQube Runner…

Aditya
- 21
- 1
1
vote
1 answer
calling action method from another action
I have a put method in controller A where i pass in json object and do some checks in dynamo db, based on my output
[HttpPut]
public async Task ProcessEmployee([FromBody]EmployeeModel em)
i need to do a post in controller B …

user2950716
- 45
- 1
- 9
1
vote
1 answer
ReSharper "Cannot resolve symbol" between projects in brand-new dnx solution
My Setup:
VisualStudio 2015 Update1
ReSharper Ultimate 9.2
dnvm version 1.0.0-rc1-update2 clr x86
What I have done so far:
I 've created a brand-new solution with 2 projects:
Visual C#/Web -> "Class Library (Package)
Visual C#/Web -> "Console…

L_M
- 131
- 9
1
vote
2 answers
DryIoc ASP.NET 5 Web API
I'm trying to create a new Web API based on the ASP.Net 5 Web API template in VS2015, with DryIoc at container.
I've created a new Web API project and installed the DryIoc using package-manager
Install-Package DryIoc.Dnx.DependencyInjection…

smolesen
- 1,153
- 3
- 11
- 29
1
vote
0 answers
.net core/Windows Authentication
I'm writing my first application using .net core (asp.net 5) and Windows Authentication. I would like to access the the current user in my Repository.
In the Startup.cs class, can I use dependency injection to pass current user to…

Kiran
- 21
- 1
- 3
1
vote
1 answer
The type or namespace name 'Web' does not exist in the namespace 'System'
I am building a project in .NET Core where I need to use the Framework Assembly System.Web.Extension. I install the assembly via Reference -> Add Reference -> System.Web.Extension 4.0.0.0. After it installed it appears under DNX 4.5.1 ->…

Subrata Sarkar
- 2,975
- 6
- 45
- 85
1
vote
0 answers
Getting error when i run dnx ef migrations add Initial
In visual studio 2015 when I run DNX command to create tables in DB I am getting error. any help ?
c:\Visual Studio Projects\MVAMVC\src\MVAMVC>dnx ef migrations add Initial
System.MissingMethodException: Method not found: 'Void…

Senthil
- 11
- 3
1
vote
0 answers
Asp.Net 5, MSDeploy, and IIS Failed to Update after Deployment
Our Environment:
Windows Server 2012 R2
IIS 8.5
ASP.NET 5 / dnx-clr-win-x64.1.0.0-rc1-update1
Building via Visual Studio Team Services and MSBuild to a local agent (with the following arguments…

Fredland
- 11
- 3
1
vote
2 answers
Is the dotnet5.4 TFM forward compatible to RC2?
If I were to release a new version of a library with support for the dotnet5.4 moniker, will it be consumable from .NET Core 1.0 RC2 or will I need to explicitly release a new version that targets netstandardX?
(I realise these monikers aren't…

Richard Szalay
- 83,269
- 19
- 178
- 237
1
vote
0 answers
Aspnet5 default web application project won't run
Why won't the "out of the box" aspnet5 web application project run with the frameworks section set to the TFM "net46" or "net451". I can only get it to run set to "dnx451 or dnx46". If I run it under any of the "netxx" monikers I get a connection…

DRobertE
- 3,478
- 3
- 26
- 43
1
vote
1 answer
How .NET Core, Mono and ASP.NET are related on a non Windows platform?
This breaks down to some trivial sub-questions
Is .NET Core a Mono alternative?
Will ASP.NET 5.0 run with .NET Core or with Mono in an OSX/Ubuntu environment?
I am confused, becasue I started at the .NET Core site, followed links toward ASP.NET 5…

Peter Aron Zentai
- 11,482
- 5
- 41
- 71
1
vote
1 answer
How to Add Reference to System.Data.Services.Client in .Net 5 Project
I am trying to add search to an Asp.Net 5 project. The search uses the Bing Search API.
As per the instructions in the "Bing Search API – Quick Start and Code Samples" I have downloaded a file called "BingSearchContainer.cs". This file has…

Frank Cannon
- 1,643
- 2
- 18
- 29
1
vote
0 answers
SpecFlow + ASP.Net 5 (DNX)
We created an application containing several projects in the new DNX-format.
We've added a unittestproject, which is not DNX-format.
We are using SpecFlow to create some tests.
In the unittestproject we added the necessary references to work with…

Bart Schelkens
- 1,235
- 4
- 21
- 45