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

C# Application.exe not working as expected

I just developed a small application for my company. It's a WPF - C# - Application using .Net 4.7.2. I finished my program and it worked pretty fine (local machine), so i decided to check running it on the terminal server of the company. Same result…
michi.wtr
  • 17
  • 4
-1
votes
1 answer

Using HttpClient to post large MultipartFormDataContent to IIS server web page

I am trying to upload up to 2GB of data using a HttpClient. The data is sent through the request body into an aspx page where it is read (horrible, I know but I cannot change this.) The data is placed in a MultipartFormDataContent and posted like…
Rocco_STACK
  • 16
  • 1
  • 1
  • 6
-1
votes
1 answer

How do I get the text of the 3rd line from the raw text in this link?

C# .NET Framework 4.7.2 So I've got a link: https://pastebin.com/raw/fZzAdRJw and I want to get the text of the third line. How do I do that? My code: private void ReadLine() { using (var wc=new System.Net.WebClient()) { …
Axyclez
  • 15
  • 1
  • 9
-1
votes
1 answer

Type "Record" is not defined in custom class vb.net

I'm following the thread below to create the multi-line combobox. I'm currently using Visual Studio 2019, and that thread is from 2013. Any way for a combo box with 2 values per line? Code that I copied: Public Class MultiLineComboBox : Inherits…
-1
votes
1 answer

413 error on web application even with needed properties in web.config

I have a web application API which is published with IIS. Clients upload files on my app (via PostMan) which I later process. It has been working fine. Now they tried to upload a large file of 70MB and they get 413 error. I tried changing parts of…
petko_stankoski
  • 10,459
  • 41
  • 127
  • 231
-1
votes
2 answers

how to regex that kind of string

I want regex that string, but I really dont know how. I have figured out how I can get the numbers, but not the other strings string text = "1cb07348-34a4-4741-b50f-c41e584370f7 Youtuber https://youtube.com/lol love youtube"; string regexstring =…
user11618004
-1
votes
1 answer

c# return few values from method async task

I get an error: CS1001 C# Identifier expected static async Task<(bool, string)> TryGetHtml(string url) { if (string.IsNullOrEmpty(url)) { return (false, null); } string html = await new HttpClient().GetStringAsync(url); return (true,…
Mihail
  • 1
  • 4
-1
votes
2 answers

Is it possible to test if a method is running with a captured SynchronizationContext when started by a Task?

I might be missing the answer somewhere, or it's something trivial, but I haven't found it. Here's effectively what I'm trying to accomplish in code: public static async Task CapturesContext() { await Task.Run(() => DoWhatever()); } public…
Zer0
  • 7,191
  • 1
  • 20
  • 34
-1
votes
2 answers

How to upgrade my Visual Studio 2012 from .NET Framework 4.5 to .NET Framework 4.7.2?

I am using a Visual Studio 2012. It looks like this when I start it: This is the look of Visual Studio 2012 when it is finally opened: I am planning to make a Discord chatbot using the C# programming language. But before I will do that, I need to…
Heck Yeah
  • 115
  • 4
-2
votes
1 answer

CVE-2021-24112, CVE-2021-26701 showing severity score as 9.8 on Restsharp upgrade

I upgraded the restSharp from 106.13.0 to 108.0.2 on .Net Framework 4.7.2 and, since then, I'm getting both CVE-2021-24112, CVE-2021-26701 Severity as CRITICAL with score of 9.8 on Dependency Scan Results (dotnet) I also observed Fixed version as…
-2
votes
1 answer

How to know when the ViewPort3D finishes render?

After moving a perspective camera of the ViewPort3D, the rendering of the 3D visuals takes some seconds to fully render. There's no "Rendered" event or anything like that. Is there any way to detect when the render finishes?
Nicke Manarin
  • 3,026
  • 4
  • 37
  • 79
1 2 3
20
21