.net-4.6.1 Questions
5
Solved
I am trying to migrate our application to the newer version of .NET Framework. From current version of 4.5 to 4.6.1
Reason, why we are migrating to version 4.6.1 instead of 4.7 or 4.6.2 is, that ...
Picrotoxin asked 29/5, 2017 at 7:44
2
Solved
I want to connect to REST Api, but it keeps returning status code 400 (Bad Request) no matter how I build the request.
HttpResponseMessage response = client.PostAsync(url, content).Result;
respons...
Yesman asked 7/7, 2020 at 12:17
6
I have an MVC application which depends on a web API application, I hosted the two on a shared hosting environment. API on the subdomain and MVC on the main domain the API is api.mydomain.com and t...
Selfsame asked 9/4, 2019 at 20:14
3
Solved
I have a request model class that I'm trying to use the default Web API 2 model binding (.NET 4.6.1). Some of the query string parameters match the model properties, but some do not.
public async...
Ruthenium asked 28/6, 2018 at 16:2
2
Solved
As said in the SignalR differences documentation we can use SignalR Core on .NET 4.6.1 and latter...
So I know the code for the startup and configuration for both cases:
SignalR Core:
Configur...
Triley asked 7/10, 2019 at 12:17
1
I have this code
MyClass instance = new MyClass();
VS Intellisense shows:
'new' expression can be simplified
and upon selecting that action, it changes the code to:
MyClass instance = new();
bu...
Lorielorien asked 3/12, 2021 at 7:3
1
I've received some "generic" errors within the protected void Application_Error() handler on an ASP.NET MVC Framework application. The exception message is:
A potentially dangerous Reque...
Legendre asked 23/11, 2021 at 9:43
2
This feels like a real rookie mistake.
I have a ConsoleApp that I am using as part of a UWP solution (as described in this series of posts). In the ConsoleApp project (not the UWP project) there's...
Keelia asked 9/2, 2019 at 1:15
11
Our client have recently upgrade the security protocol to TLS 1.2. Therefore We have our application upgraded to 4.6.1 expecting the security protocol will be default to TLS 1.2 but it is not. Any ...
Serpentiform asked 9/5, 2017 at 14:29
3
Solved
This article says that we should use a static HttpClient in order to reuse sockets.
But the first comment there says that there is a DNS changes recognition issue, and the solution is in another ...
Pangaro asked 17/10, 2019 at 8:5
10
I'm using the .NET Standard 2.0 preview, on which my Class Libraries are based.
After having trouble with a few NuGet packages, especially regarding archive extraction, I decided to migrate ...
Lalia asked 20/6, 2017 at 11:58
1
Solved
formData.Add(sJobId,"job_id"); is sending "job_id\r\n" to the server
Here is my C# method:
public static async Task UploadAsync(string url, int job_id, string filename, string filePath) {
try {
...
Cisalpine asked 15/7, 2019 at 5:10
1
Solved
I am writing some unit test for an ApiController. I continue to get multiple System.MissingMethodException exceptions for methods in the System.Web.Http namespace.
Message: System.MissingMethodE...
Regimentals asked 3/5, 2019 at 16:37
1
Solved
I'm trying to create a Web API following this link .
I have exactly added the way it is shown in this article.
But after adding the controller, it is giving me this error for System.Web.Http and ...
Veinstone asked 8/1, 2019 at 6:26
1
Solved
I try to find some information about method overloading resolution in case of presence of user-defined implicit conversions and about conversions priority.
This code:
class Value
{
private reado...
Goose asked 12/11, 2018 at 13:22
2
I'm attempting to configure TeamCity to run my unit tests using VSTest.console.exe for Visual Studio 2015.
The only options that appear valid for the test runner ( even in the .runsettings file ) ...
Shuma asked 2/3, 2016 at 0:14
1
Solved
the next unit test export a privatekey and save it in bytes arrays using the rsa instance then encrypt the "hi" message, all is fine here, but the problem occur when It make rsa2 instance and impor...
Garygarza asked 6/2, 2018 at 3:3
2
I created a blank solution with framework 4.6.1 and add a project core 2.0. This error show in output for many package 'Package xxx is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0)'....
Bodine asked 4/9, 2017 at 12:39
3
I've got a solution that builds locally and I've created a new build and added one step to it
dotnet restore
I'm getting this error message:
... OTHER SUCCESSFUL INSTALLATIONS ...
log : Inst...
Blarney asked 13/9, 2016 at 21:0
1
Solved
I have a solution that contains a library and 2 applications. The applications represent the same program, with one built to target the Windows App Store through UAP10 and the other built to target...
Petasus asked 30/5, 2017 at 8:39
1
Solved
I develop F# application .net 4.6.1 on VS2015. i have methods:
type CommonHelper =
static member SideEffectOnNull act x = if x = null then act(); x else x
static member SideEffectOnNotNull act ...
Juju asked 26/12, 2016 at 23:37
1
Solved
So I have a project that builds fine on my development machine, but not on my CI server (Jenkins).
Jenkins can't find my Primary Interop Assemblies even after I've copied over various folders from...
Loveinidleness asked 20/9, 2016 at 16:28
1
Solved
I have a build machine with visual studio 2010 and multiple build targets.
all the other targets that I use works as expected and for some reason the new build of version 14 for .net 4.6.1 doesn't ...
Pandarus asked 19/9, 2016 at 7:26
3
Solved
I'm having an issue packaging my own nuget package, which includes AutoMapper 5.0.2. This is only producing an error within the Visual Studio Team Services (VSTeam) Build servers.
My project is u...
Scoreboard asked 9/7, 2016 at 2:21
1
Solved
What is the difference between .NET Framework 4.6.1 Targeting Pack and .NET Framework 4.6.1 Runtime?
I want to develop .net framework 4.6.1 applications using Visual studio 2012.So, I tried to install 4.6.1 developer pack for visual studio 2012.But when I go to this link to install the framework.I...
Declinature asked 15/2, 2016 at 6:30
1 Next >
© 2022 - 2024 — McMap. All rights reserved.