Questions tagged [.net-4.7.2]

.NET Framework 4.7.2 was released on April 30th, 2018, and includes several improvements.

The .NET Blog announcement can be found here:

https://blogs.msdn.microsoft.com/dotnet/2018/04/30/announcing-the-net-framework-4-7-2/

Some of those improvements include:

  • [ASP.NET] Support for SameSite cookie in ASP.NET
  • [ASP.NET] Support for ASP.NET Dependency Injection
  • [ClickOnce] Per-monitor support for WPF and HDPI-aware VSTO apps deployed via ClickOnce
  • [SQL] Always Encrypted enhancements in SQL Connectivity
  • [Networking & BCL] Enhanced .NET Framework support for .NET Standard 2.0
  • [BCL] Cryptography improvements
  • [WPF] Diagnostic enhancements

The full content of the development notes can be found here:

https://github.com/Microsoft/dotnet/blob/master/releases/net472/README.md

311 questions
0
votes
0 answers

How to submit a CSR to Windows CA for signing from C#?

My scenario: I have an EC2 instance running Windows Server 2016 DataCenter OS in it. This EC2 instance is configured to work as CA and IIS server (I am testing cloudhsm so it is okay for me to have multiple services in the same server). My CA is…
vpv
  • 920
  • 2
  • 20
  • 46
0
votes
0 answers

How to avoid restarting c# App after user settings migration

When a new version of my App is built, user settings automatically detect that an upgrade is required, I use the following to upgrade and persist the changes: static bool UpgradeUserSettings() { if (Settings.Default.UpgradeRequired) …
gbdavid
  • 1,639
  • 18
  • 40
0
votes
1 answer

Sharing connections between two SignalR Hubs on different domains

I currently have a live chat website set up that hits a subdomain responsible for handling SignalR interactions: www.domain1.com > chat.domain1.com I'm wanting to introduce a second, duplicate, largely identical site using the same…
ajbeaven
  • 9,265
  • 13
  • 76
  • 121
0
votes
1 answer

Using 4.7.2 Framework for WPF Project System.NET.HTTP Cannot Be Found

I was originally developing a project using the 4.6.1 Framework however one of the Nuget packages I wanted required the new 4.7.2 Framework to be used. As a result, I upgraded my project, which when attempting to run again and send a HTTP request…
Explorex
  • 547
  • 6
  • 13
0
votes
0 answers

LocalReport in WinForms Font Squashed (compressed)

I have a Winforms application that has suddenly begun to incorrectly render RDLCs to both physical printers and Print To PDF. It is targeting .NET 4.5.2 and began to show this after an update to 4.7.2 last week. I am able to reproduce the issue on…
0
votes
0 answers

Strange layout issue MVVM .Net 4.7.2 App controls disappear

I’m building a MVVM app using .Net 4.7.2 that works like a wizard (based on https://www.codeproject.com/KB/WPF/InternationalizedWizard.aspx?display=Print), so no additional frameworks, just the RelayCommand class, a MainWindow.cs that hosts the Main…
gbdavid
  • 1,639
  • 18
  • 40
0
votes
1 answer

Parent property setting interception in PostSharp

How to be notified that item parent property has been set when we add aggregate to AdvisableCollection (PostSharp)? I would like to setup in constructor an outside world property change observer (Gu.Reactive) but there is no way to figure out that…
Dmitry Nogin
  • 3,670
  • 1
  • 19
  • 35
0
votes
1 answer

Performance of generating pseudo-randomized values in .NET

Why is var random = new Random(); random.Next(0 /* or any other positive value */, int.MaxValue); about 1.5 times as fast as: random.Next(-1, int.MaxValue); How does the .NET Framework (4.7.2) implement this functions? Shouldn't they have about…
D.R.
  • 20,268
  • 21
  • 102
  • 205
0
votes
1 answer

How fix "C# 7.0 language feature" build errors? (after fresh checkout, previously working)

I had a Visual Studio solution that was working fine. I did a fresh checkout from TFS (with both overwrite checkboxes selected) after deleting the entire source tree. Now C# 7.0 features are not building. Projects that do not build have been…
dthal
  • 581
  • 1
  • 5
  • 16
0
votes
0 answers

Automated Testing Of Assembly References And Bindings

No code examples for this one, just an overall question: Is there a good way to test that the GAC matches the config references, which match the dlls built for deployment? My team has been in the process of upgrading .NET across our application and…
Max A.
  • 1
  • 1
0
votes
0 answers

Tests' deployment to DB with DAC package stalling sporadically

In my automated tests (MSTest in a new project using Visual Studio 2017), I'm deploying a fresh database before each test case runs like so (databaseName is random and unique, and cleaned up after each test run finishes): [TestInitialize] public…
Dov
  • 15,530
  • 13
  • 76
  • 177
0
votes
1 answer

Write and Get elements in array of pointers .NET 4.7.3

I'm trying to make an Array of pointers to be able to track the reference to any unmanage object added to it and change it, but the behaviour is different when I create an Pointer Array of Int and when create a Pointer Array of Persons what is…
Freddx L.
  • 455
  • 2
  • 7
  • 16
0
votes
2 answers

Build error with IdentityModel v3.6.1 and .Net 4.7.2

I was using IntrospectionClient and TokenClient from the IdentityModel v3.6.1. But when I upgraded the project from .Net 4.7.1 to 4.7.2 I got build errors: "Error CS0012 The type 'HttpMessageHandler' is defined in an assembly that is not…
fantastischIdee
  • 465
  • 2
  • 6
  • 17
0
votes
1 answer

WPF: strange ComboBox behavior after update to .net framework 4.7.2

After upgrade to .NET Framework 4.7.2 I noticed a strange behavior of the ComboBox when it is into a DataGridTemplateColumn.CellEditingTemplate.
Luca Petrini
  • 1,695
  • 2
  • 28
  • 53
-1
votes
1 answer

In .NET Framework 4.7.2, can you move a file from the Project Directory to a place on the System drive programmatically?

I am trying to seed some files so we can programmatically expand our application to new servers when we need to, and lessen the load/documentation needed when training new devs. So the files exist within the project, but there are other applications…
gabessdsp
  • 1
  • 3
1 2 3
20
21