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
2
votes
1 answer

.net 4.7.2 library referencing standard 2.0 NuGetPackage does not work

I need to use the NuGet package OPCFoundation.NetStandard.Opc.Ua in a .NET Framework 4.7.x class library. So far my class library was .NET Framework 4.7.0. It worked OK, although the OPCFoundateion.NetStandard.Opc.Ua package (.NET Standard 2.0)…
2
votes
0 answers

Stack buffer overflow in WebRequest cause

We started experiencing an intermittent issue about 3-4 weeks ago on our web servers. This issue happened 2-3 times with the same error appearing in the event viewer each time 0xc0000409. Faulting application name: w3wp.exe, version: 10.0.14393.0,…
park896
  • 455
  • 2
  • 6
  • 9
1
vote
1 answer

Unable to deploy/push to a GitHub the .Net 4.72 ASMX Webservice because of error MSB4019 (Microsoft.WebApplication.targets" was not found)

I have .NET 4.72 ASMX Web Service that references a .Net Standard 2.0 class library with the Entity Framework I am using Visual Studio 2022 Everything works fine when I work with the code locally. Everything successfully compiles and runs However,…
James
  • 1,081
  • 4
  • 15
  • 34
1
vote
1 answer

How to send a client certificate from a .NET 5 site to an OwinRequest in a .NET 4.7.2 site via REST communication?

I'm trying to send a client certificate from a .NET 5 app using REST communication to a FW 4.7.2 app From .NET 5 application, I use HttpClientHandler adding client certificate from my storage of certificates. This has to be received in FW 4.7.2 app…
rafagamero
  • 11
  • 2
1
vote
1 answer

Sending email with inline attachments using .NET 4.7.1 and SendGrid SMTP

Editted: I am using SendGrid SMTP to send out automated emails within my .NET 4.7.1 web application. The emails send fine, except when it comes to the inline attachments (company logo's, etc), the attachments aren't sent with it. I just inherited…
Andrew
  • 11
  • 3
1
vote
1 answer

Clean Architecture in NET Framework 4.5 / 4.7.2

Is it possible to work with clean architecture in ASP.NET MVC 5 on the .NET Framework 4.5 and 4.7.2? I ask the question because I see more examples on .NET Core. Thanks I prefer known work clean architecture for .NET framework 4.7.2 for an ASP.NET…
1
vote
1 answer

Why does Visual Studio generate a MyProject.XmlSerializers.dll?

I have a C# Class Library project targeting .NET FW 4.7.2. Every time I compile the project, it also generates a file MyProject.XmlSerializers.dll. I'm pretty sure this is ok and it is needed for XML serialization. But I want to know why it creates…
huha
  • 4,053
  • 2
  • 29
  • 47
1
vote
1 answer

Why doesn't System.Net.Http.HttpClientFactory implement System.Net.Http.IHttpClientFactory?

I'm using .NET Framework 4.7.2 and am trying to use IHttpClientFactory to create HttpClient instances. I downloaded the Microsoft.Extensions.Http v7 NuGet Package and now have access to System.Net.Http.HttpClientFactory. Am I meant to use…
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
1
vote
1 answer

Why properties of two .NET Framework 4.7.2 projects look different?

I have a solution with mostly C# Class Library (.NET Framework) projects. I have added a new project to the solution (called Training) for same the Target Framework (i.e. .NET Framework 4.7.2). But as shown in the screenshot below, if I compare the…
skm
  • 5,015
  • 8
  • 43
  • 104
1
vote
1 answer

Pipeline type could not be found (using .Net 4.7.2)

I am currently trying to run a simple PowerShell script through WinForms on Visual Studio 2022, using .Net Framework 4.7.2. I followed an example I found online, the code shown further below. I added System.Management.Automation to NuGet Packages,…
1
vote
0 answers

IIS with secure socket connection keeps responding after stopping website

I'm running IIS 10.0 on Windows Server 2019 Standard a simple ASP.NET Framework 4.7.2 with long running Websocket connection and SignalR. Things work well when it comes to stopping the website and sockets are closed if I'm using non secured sockets.…
GmodCake
  • 427
  • 3
  • 11
  • 24
1
vote
1 answer

SSO logout using ITfoxtec Saml2 issue

I am new to implementing SAML2. I have had good success with using the ITfoxtec framework. I am able to connect to the IDP, login, and return back to my AssertionConsumerService successfully. The app that this is being integrated into is using…
shhh-bacon
  • 143
  • 1
  • 6
1
vote
1 answer

Can i edit a .NET 6 Console C# project in .NET 4.7.2?

I used to program in .NET 4.7.2 (and still do), but my High School uses .NET 6 Currently we have started using C# console in .NET 6 I don't want to update to .NET 6 because i would also have to change my Unity editor version to one that supports…
1
vote
1 answer

ASP.NET MVC 5: is there anyway to get the client IP in the Global.asax file?

I'm working on an ASP.NET MVC application running on .NET 4.7.2. We use DevExpress controls and add a lot of startup items in the Global.asax file in Application_Start(). Some of the settings are adding are for error handling on their controls for…
ttest2727
  • 45
  • 6
1
vote
2 answers

Running/debugging project in Rider will not open browser window

When I run/debug a project in Rider, I have somehow turned off the property that opens the browser window after the project has built successfully. I have checked Run > Edit Configurations and compared it against an API project I have that does open…