.net-core-rc2 Questions

7

Solved

I am using dotnet watch command to run asp.net core project. However, by default, it is picking up the Production as an environment. I have tried both options using: 1) > dotnet watch ASPNETCO...
Swarey asked 19/5, 2016 at 11:59

4

Solved

After I upgraded to Asp.Net RC2 a couple of strange things started happening. I first thought that it might have something to do with how I ported my app. But creating a new default web app produce...

6

Solved

Do we have Description attribute for Enums in dot net CLI? (Dot Net Core RC2) If not, any alternative?
Chabazite asked 18/5, 2016 at 17:4

8

Solved

I'm making a console app on the .NET Core platform and was wondering, how does one load assemblies (.dll files) and instantiate classes using C# dynamic features? It seems so much different than .N...
Triphthong asked 18/6, 2016 at 9:13

2

Solved

I have a sample server var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) .UseIISIntegration() .UseStartup<Startup>() .Build(); host.Run()...
Toney asked 14/6, 2016 at 14:45

7

Solved

When compiling .Net Core RC2 project under VS 2015 I am receiving following error GETSDKTOOLINGINFO : error : The .NET Core SDK is not installed or cannot be found under the path C:\Program Fil...
Animadversion asked 17/5, 2016 at 14:18

3

I am currently trying out the RC2 release of ASP.NET Core and I am running into an issue with SignalR. I need to be able to send messages to the client outside of the request thread. Now in the fu...
Repetitious asked 19/5, 2016 at 8:46

3

Solved

I've installed .NET Core RC2 on a Debian 8 amd64 system and would like to test if it's possible to query an instance of Microsoft SQL Server. So I'd like to add to my project a dependency on the S...
Daberath asked 17/5, 2016 at 18:7

5

Solved

How do I display application version from the project.json? I am using gulp-bump to autoincrement version, but I can't show the recent version. Here is what I'm trying: @(Microsoft.Extensions.Plat...
Pavonine asked 13/6, 2016 at 19:52

3

Solved

Is it possible to compile and run C# code at runtime in the new .NET Core (better .NET Standard Platform)? I have seen some examples (.NET Framework), but they used NuGet packages that are not comp...
Banyan asked 30/5, 2016 at 12:52

2

I created a new project using Visual Studio 2015 and enabled authentication using work and school accounts against Azure Active Directory. Here is what the generated configure function looks like:...
Payoff asked 11/8, 2016 at 5:10

4

I have an intranet site built in MVC6 using ASP.NET Core RC2. I want to get the Windows username of the person accessing the intranet site. So if Jim goes to the intranet site I want the site to r...
Shrewish asked 6/7, 2016 at 21:21

7

Solved

I want to try out the new .net core. I am following instructs at https://www.microsoft.com/net/core, but it is not working. Reading package lists... Done Building dependency tree Reading state in...
Nerine asked 19/5, 2016 at 12:11

5

I have List<SelectListItem> variable with two values. I want to represent it as dropdown box in html so I'm doing like this. <div class="form-group row"> <label asp-for="Roles" cla...
Melody asked 25/5, 2016 at 7:43

3

Solved

I am currently working with ASP.NET Core RC2 and I am running into some strange results. So I have an MVC controller with the following function: public HttpResponseMessage Tunnel() { var message...
Hopple asked 25/5, 2016 at 6:20

5

Solved

Every time I build a project using the new .NET Core RC2 templates I am not provided with a runnable .EXE file. If I hit F5 for debugging my console application it runs fine through the C:\Progra...
Odelle asked 23/5, 2016 at 12:16

3

Solved

I tried jwt token authentication in my web api project in .net-core preview-2, but it's not working properly. JwtBearerAppBuilderExtensions.UseJwtBearerAuthentication(IA‌​pplicationBuilder, Jwt...
Nicoline asked 26/6, 2017 at 5:42

3

Solved

I have created a .NET Core R2 class library and have some common code that I use for several different platforms. Some of the code is not valid in the .NET Core platform and so I wish to wrap it a...
Heptastich asked 26/6, 2016 at 16:10

2

Solved

I have a large test suite in a .NET Core project. I can use the Test Explorer window to select a few tests to run. I can also run the whole test suite on the command line with dotnet test. Is ther...
Parity asked 10/6, 2016 at 15:45

2

Solved

So I just updated my app to use ASP.NET Core RC2. I published it using Visual Studio and noticed that my Area is not published: This snapshot is from src\MyProject\bin\Release\PublishOutput: An...
Isodimorphism asked 19/5, 2016 at 14:20

3

Solved

Recently and with the release of Visual Studio 2015 Update 3 and .NET Core RTM, I decided to uninstall my previous installation of Visual Studio 2015 Update 2 and have a fresh installation of Updat...
Puckett asked 30/6, 2016 at 22:5

2

Solved

I am trying to use Bearer Authentication with ASP.NET Core RC2. It is working with user authenticad and has the role, but when the user is not authorized (authenticad but dont have the role) I get ...
Yuriyuria asked 20/5, 2016 at 20:53

2

Solved

I've added a .NET Core RC2 class lib to my solution (for fun) and the first thing I usually do is add a link to a shared GlobalAssemblyInfo.cs and edit the existing AssemblyInfo.cs down to the asse...
Showpiece asked 19/5, 2016 at 20:26

3

Solved

I'm converting a project from .NET Core RC1 to RC2. I've installed the Visual Studio tooling preview package and updated the VS Nuget plugin to the latest version. This is a test project, so I nee...
Bernardinebernardo asked 21/5, 2016 at 1:37

2

Solved

I'm trying to build the migration classes for a second DBContext in a assembly. using this command: Add-Migration AlertInitial -c Axper.Data.Persistence.Context.AlertContext and using the "Package...
Scanderbeg asked 27/5, 2016 at 19:15

© 2022 - 2024 — McMap. All rights reserved.