Questions tagged [.net-4.5.2]

.Net 4.5.2 is the version of the popular Microsoft .Net framework prior to version 4.6. It is backward compatible with .Net 4.5 & .Net 4.5.1 & adds several new features. Use for questions specifically related to .NET Framework 4.5.2. For questions on .NET Framework generally, use the .net tag.

.Net 4.5.2 is the version of the popular Microsoft .Net framework. It is backward compatible with .Net 4.5 & .Net 4.5.1 and adds several new features.

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

Released by Microsoft Corporation
Version Number: 4.0.30319.34000
Release Date: 2014-05-05

139 questions
0
votes
0 answers

Not Able to add Whitespace or Comments in soap message of WCF Client

I have a external WCF service reference. Due to some requirement i have to either add spaces or comments After soap Body element. I have added whitespace and Comments in Final message before in BeforeSendRequest of IClientMessageInspector But When i…
Kamran Shahid
  • 3,954
  • 5
  • 48
  • 93
0
votes
1 answer

Does SendAsyncCancel cancel SendMailAsync?

In the SmtpClient class, does SendAsyncCancel cancel the SendMailAsync method? I see a few code examples on the www which imply it does. However MSDN says, Use the SendAsyncCancel method to cancel a pending SendAsync operation. If there is mail…
ChrisW
  • 54,973
  • 13
  • 116
  • 224
0
votes
0 answers

C# Autoinstall required .net

I am sure i've seen something like that but my googleskills really dont provide me with a solution! I have build a mail programm that actually requires .net 4.5.2 It should be and stay in this .net because I have a special usage for my tool. So some…
Dwza
  • 6,494
  • 6
  • 41
  • 73
0
votes
2 answers

Unit testing a class used in multi-threaded WPF application

I have written a C# class that sits in between the UI of a WPF Application and an Async Messaging System. I am now writing Unit Tests for this class and running into problems with the dispatcher. The following method belongs to the class I am…
user2109254
  • 1,709
  • 2
  • 30
  • 49
0
votes
0 answers

ClickOnce Prerequisites 4.5.2 prompting users to upgrade .NET when 4.6.0 is installed

I am using MS ClickOnce in VS2015 to deploy an application. I have the prerequisite of .NET 4.5.2 checked under the Publish tab as the application requires .NET 4.5.2 minimum to use TLSv1.2 and I have it configured to use the vendor's website to…
bz23
  • 13
  • 6
0
votes
1 answer

How can users enable Background Server GC in a desktop app without changing app.config?

I look after a WPF desktop app which many users run on varying hardware. Multiple threads constantly churn through a large volume of data. Turning on .NET Framework 4.5 Background server garbage collection has shown significant performance…
embee
  • 1,007
  • 7
  • 15
0
votes
1 answer

Web-Service request with parameter in C#

I have web rest services which take one parameter that is studentID and bring back with the student record. I am having difficulty in order to pass parameter to service and its literately not happening string StudentByPeopleCodeServiceURL =…
K.Z
  • 5,201
  • 25
  • 104
  • 240
0
votes
2 answers

Automapper not copy list object to another

I have list of my class type which I need to copy to another class type. In following code I am trying to copy GenderEntity to Gender but getting no results private void MapGender() { List _GenderEntity =…
K.Z
  • 5,201
  • 25
  • 104
  • 240
0
votes
2 answers

Get records from Generic Object using LINQ C#

I have generic object and I need to get item {code, description} from it using LINQ Query Class [Serializable] [XmlRoot("Genders")] public class Gender { [XmlElement("Genders")] public List GenderListWrap = new…
K.Z
  • 5,201
  • 25
  • 104
  • 240
0
votes
0 answers

How to convert object into collection List

I have Class called Gender. I have reading data from web-service and I need to convert GenderObject into Gender Collection i.e. List _GenderList = object. using (StreamReader _Reader = new StreamReader(_Stream)) { GeneratedXPathString =…
K.Z
  • 5,201
  • 25
  • 104
  • 240
0
votes
1 answer

NET 4.6.1, NET 4.5.2 and CRM 2016

I have Net 4.5.2, in Windows 2012 R2, and CRM 2016 installed. I use VS 2013. I want créate WCF Services .NET 4.6.1, and hosting in IIS 8.5 in the Windows 2012 R2 + CRM 2016 server. CRM 2016 manages Net 4.5.2. Any problems if I install Targeting…
0
votes
1 answer

Deserialize first property not matching any target object's properties into specific property

I'm doing some web API integration with Newtonsoft.Json, and as always, I have to do dumb stunts to properly deserialize what they're sending back. In this case, the API will send responses resembling this kind of structure: { "contacts": [ ... ],…
db2
  • 497
  • 1
  • 3
  • 21
0
votes
1 answer

Developing Bluetooth App For Raspberry Pi3 on Win IOT

I am new at developing softwares for Windows IOT. I have information about .Net 3.5 and 4. When I start to develop for Win IOT, I saw that lots of things have changed. There are a lot of new words async, await, Task etc. Now I want to read and write…
MIrchhh
  • 19
  • 1
  • 5
0
votes
2 answers

Reading multi language text file in c#

I have to read a text file which can contains char from following languages: English, Japanese, Chinese, French, Spanish, German, Italian My task is to simply read the data and write it to new text file (placing new line char \n after 100 chars). I…
slash shogdhe
  • 3,943
  • 6
  • 27
  • 46
0
votes
1 answer

After installing System.ComponentModel.TypeConverter, NuGet breaks

I have a console application project targeting .NET Framework 4.5.2. I had to install System.ComponentModel.TypeConverter to get past a strongly typed configuration binding issue. After doing this, NuGet install-package and update-package throw the…
Kit
  • 20,354
  • 4
  • 60
  • 103