Questions tagged [.net-4.7]

.NET 4.7 was originally released by Microsoft in June of 2017. It is a followup to .NET-4.6 and was included in the Windows 10 Creators Update.

109 questions
0
votes
0 answers

MVC 5 WebApi FormDataCollection duplicates data as NameValueCollection

I have an external service that POSTs emails to an MVC 5 WebApi endpoint as form data. Since the fields can change, I am trying to receive the POST body as a FormDataCollection. When I call the ReadAsNameValueCollection method, the results are…
McGuireV10
  • 9,572
  • 5
  • 48
  • 64
0
votes
1 answer

.net standard 2 reference with enums break on .net 4.7.1 but work on .net 4.6.1

Start new project, pick .netcore2 console app. Change the target framework to .net 461. You do this by editing the .csproj file as shown: net461 netcore has ran on the full framework for years. so no surprises.…
AppLS
  • 96
  • 1
  • 5
0
votes
1 answer

When installing EF Core V2.0 why am I seeing warnings against installed references

I am testing EF Core to see if it might be suitable for use in a new project. The development environment is as follows: Visual Studio 2017 (15.4) I create a new class library (C#) targeting the Dot Net full framework version 4.7 and then save the…
Dom Sinclair
  • 2,458
  • 1
  • 30
  • 47
0
votes
1 answer

Render images in iTextSharp HTML5 to PDF

Currently I have an MVC Core v2.0.0 application that uses the .NET 4.7 framework. Inside of this I'm using iTextSharp to try and convert HTML to PDF. If I add an image to the html I get the following exception "The page 1 was requested but the…
Swazimodo
  • 1,147
  • 1
  • 15
  • 34
0
votes
1 answer

MahApps.Metro MetroWindow.ShowMessageAsync does not exist

I just installed MahApps.Metro from nuget (version 1.5.0.23). The tutorial on the homepage tells me to open dialogs via this.ShowMessageAsync(...) // in MainWindow : MetroWindow but this method (or any other ShowXYZ method) does not exist. How do I…
Timo
  • 9,269
  • 2
  • 28
  • 58
0
votes
1 answer

Create delegates to generically modify properties/fields whose type is ICollection

Let's say I have a simple class like so: public class SimpleClass { public List ListOfStuff { get; } = new List(); } SimpleClass itself is unimportant, let's say I've interrogated the type and determined it's of…
MadSkunk
  • 3,309
  • 2
  • 32
  • 49
0
votes
1 answer

Converting a project from .NET 1.1 to 4.7: best way to generate XML from DB query results?

I have a very, very, very old web project created in .NET 1.1 to which I want to upgrade to the latest .NET framework 4.7 so I could take advantage of its many benefits including performance. I've read several similar posts here but most of them are…
Ramone
  • 11
  • 3
0
votes
1 answer

Action in Controller is not catching an exception

I hope someone can explain what is happening. I created a repository class "InvoicesRepository.cs" that manage all the logic of listing, inserting, updating, deleting, etc. "Invoice.cs" objects. Is cleaner and easier to maintain. public class…
prueba prueba
  • 652
  • 1
  • 8
  • 26
0
votes
0 answers

Is it good practice to position UIElements via RenderTransform

In my WPF application I have a control that acts like a zoom box. You can zoom and drag its content. In my case this content is a grid that contains an image and some UserControls. These UserControls have to be positioned ontop of the image to…
Timo
  • 9,269
  • 2
  • 28
  • 58
0
votes
1 answer

Is setting UI elements via Application.Dispatcher.Current.Invoke no longer required?

We have some models that get data using tasks and I've been doing some testing and noticed that it seems like UI (STA Thread) elements can be modified by background tasks. This was not previously the case. Has something changed with VS 2017 or .net…
fanuc_bob
  • 857
  • 1
  • 7
  • 20
0
votes
0 answers

.NET 4.5 Application does not start with only .NET 4.7 installed

I have a C# .NET WPF (MVVM Lite) Application that runs on Windows 7 machines. It is combiled for .NET 4.5. While .NET 4.5.2 was installed on the clients, it run as it should. After an client update to .NET 4.7 and uninstalling .NET 4.5.2 (!) the…
Matthias G
  • 51
  • 4
0
votes
1 answer

How to force IIS to use .NET 4.6 or 4.5.x or below?

I am using the XslCompiledTransformer in my web application. Unfortunately, this isn't working anymore with the latest .NET update, version 4.7. (I'm having this issue) I hope Microsoft will come up with a solution quick, but in the meantime I want…
Peter van Kekem
  • 1,387
  • 1
  • 12
  • 30
0
votes
1 answer

Difference Between C# 7, .Net standard, PCL, .Net Core, and .Net 4.7

Can anyone explain how each of these differ? I'm beginning to get confused as to what the differences are and good use cases for when to each one. The difference between my question and this question: Difference between .Net Core, Portable,…
rleffler
  • 430
  • 6
  • 15
0
votes
0 answers

Installer failed on Windows 10 1703

We have this installer(Installshield) successfully installed in previous build of Windows 10, but this time failed with 1073 which has build in .NET Framework of v4.7 The log indicated: InstallShield 1:22:39: Setting external UI…
Lys
  • 591
  • 2
  • 9
  • 19
0
votes
1 answer

ECDSA signature - Is a conclusion to the used key possible?

I noticed that if I used the ECDsa.SignData Method I always get different ECDSA signature. So I wonder if it is possible to conclude from the ECDSA signature to the used key? If Alice sends a message to Bob1 and Bob2, can Eve determine without the…
hdev
  • 6,097
  • 1
  • 45
  • 62