Questions tagged [.net-4.6.2]

.Net 4.6.2 is the version of the popular Microsoft .Net framework and adds several new features. Use for questions specifically related to .NET Framework 4.6.2. For questions on .NET Framework generally, use the .net tag.

.Net 4.6.2 is the latest version of the popular Microsoft .Net framework and adds several new features.

What's New in .NET Framework 4.6.2
.NET Framework 4.6.2 System Requirements

Released by Microsoft Corporation
Release Date: 2016-08-06

158 questions
1
vote
0 answers

Concurrency issue using HttpClient and HttpRequestMessage

My code looks something like this: private readonly HttpClient _httpClient; public SomeConstructor(HttpClient httpClient){ _httpClient = httpClient; } public void SomeMethod(string reqUrl, string payload){ var result =…
natasha
  • 263
  • 1
  • 9
1
vote
0 answers

Authorization has been denied for this request while integrating Identity server4 (ver 3.0.0) token into Microsoft.AspNet.WebApi (Framework 4.6.2)"

I am using Identity server4 (ver 3.0.0) and want to authenticate Microsoft.AspNet.WebApi " version="5.2.7" targetFramework="net462" I have installed identity server3 in AspNet.WebApi project.While I am authenticating .net web api request using…
1
vote
0 answers

Updating ClickOnce app with new certificate makes Windows think this is a different app

Similar posts that I've already seen but don't really address my issue: ClickOnce certificate renew deploy - User gets an error that I don't get. How can I renew my expired ClickOnce certificate? - I can't renew my cert since its not a test…
Juan
  • 15,274
  • 23
  • 105
  • 187
1
vote
0 answers

How apply external docker image in aws code build?

I am developing a webapi applciation which targets .net framework 4.6.2. In order to run, i also need msbuid 15 along with visual studio 2017 build tools. I found a docker image for this from Microsoft. Below if the…
Akhil
  • 1,918
  • 5
  • 30
  • 74
1
vote
0 answers

Net framework 4.6.2 developer pack

I have created wcf service with .net framework 4.6.2 developer pack in visual studio 2017 on win 10. while deploying using exe to client pc which is having .net framework 4.6.2 sdk only giving problem . in windows log , its showing that 4.6.2…
Ajay Mehta
  • 11
  • 1
1
vote
1 answer

Get Azure connection string in datalayer

Someone thought, a long time ago, it was a good idea to add connections string hardcoded in the datalayer of our web api. Because of this legacy I cannot remove this class. This class inherits IDbContextFactory and it needs to retrieve a connection…
user5954882
1
vote
1 answer

DataTemplates and Generics

I have read nearly a thousand posts explaining that setting a closed generic type as DataType on a DataTemplate does not work, because WPF wouldn't support that. But as a matter of fact, this is just wrong. I can define the following DataTemplate in…
Rico-E
  • 1,806
  • 2
  • 28
  • 47
1
vote
1 answer

Mouse Wheel Event is not raised in second monitor

I am testing my desktop application when using two monitors and adjust them to Extend display. I use the mouse wheel for zooming in and out but it is not working when the application is displayed on the second monitor. The mouse wheel event is not…
Madonna Remon
  • 1,149
  • 1
  • 7
  • 12
1
vote
1 answer

Method not gets called from task delegate

I'm trying to achieve parallel processing using System.Threading.Tasks.Task class. Strangely, task delegate execution is halted at the first method call. I coded below sample code to recreate the issue. using System; using…
Kavinda Gayashan
  • 387
  • 4
  • 17
1
vote
1 answer

.NET Framework 4.6.2 Installation failure on Windows Embedded Standard 7 SP1

I am working with a Industrial PC that is running Windows Embedded Standard and trying to install Zenon Software by Copa-Data. The install process is getting stuck when it tries to install the .NET Framework 4.6.2. As per suggestion of Copa-Data I…
Evan
  • 600
  • 2
  • 7
  • 34
1
vote
0 answers

asp.net - Global.asax not firing on IIS 8.5 with .Net Framework 4.6.2

I have an asp.net webforms with .Net Framework 4.6.2 running in a IIS 8.5 that is not firing the Application_PreRequestHandlerExecute event on Global.asax: Global.asax.vb Sub Application_PreRequestHandlerExecute(ByVal sender As Object, ByVal e As…
Fernando
  • 2,123
  • 4
  • 17
  • 21
1
vote
0 answers

Reuse ICryptoTransform Objects Bug .net 4.6.2 - Azure Cloud Services

When trying to reuse the ICryptoTransform objects during Encryption and Decryption using the AesCryptoServiceProvider there is a 'bug' that is fixed by upgrading the .NET framework version of an application to 4.6.2. This stack overflow post (Reuse…
1
vote
1 answer

Why Int16.CompareTo returns different result from Int32.CompareTo

I have two unit tests and both are valid. So, why Int16.CompateTo returns difference between two numbers, while Int32 and Int64 CompareTo method returns strictly -1, 0, 1? [TestMethod] public void Int16CompareTo() { Int16 value1 = 60; Int16…
paramosh
  • 2,258
  • 1
  • 15
  • 23
1
vote
1 answer

Where is my NinjectWebCommon.cs in Visual Studio 2015

I am struggling to find out whats wrong with MVC 5 (Visual Studio 2015) Ninject dependency injection. In MVC 4 (Visual Studio 2013), it was quite straight forward to add Ninject with Nuget Package Manager(UI) but don't seems like the case with MVC 5…
1
vote
0 answers

.vshost.exe file has different .Net framework version

I'm trying to update some of our software to .Net 4.6.2 for TLS1.2 compliance (eWAY for example). When I run the application standalone it connects fine, but when I debug it via Visual Studio 2015 I get the error indicating I'm not using the…
Ian
  • 1,475
  • 2
  • 15
  • 31